Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.34 KB

File metadata and controls

54 lines (39 loc) · 1.34 KB

HotsTac(k)os Smoke Test

Validates the HotsTac(k)os deployment by creating a Heat stack with various OpenStack resources and testing connectivity.

What It Tests

  • Heat orchestration
  • Network creation and routing
  • Volume creation and boot-from-volume
  • Ephemeral boot from image
  • Trunk ports with VLAN subports
  • Floating IPs
  • Cloud-init
  • Instance connectivity (ICMP)

Running the Test

# Run smoke test (requires post-setup to be completed first)
make smoke-test

The test:

  1. Creates a Heat stack with 2 instances, networks, volumes, and floating IPs
  2. Waits for stack creation to complete
  3. Tests connectivity to instances via floating IPs
  4. Cleans up all resources

Troubleshooting

If the test fails:

# Keep the stack for inspection
./scripts/smoke-test.py --keep-stack

# Check stack status
openstack --os-cloud hotstack-os stack show hotstack-smoke-test

# View stack events
openstack --os-cloud hotstack-os stack event list hotstack-smoke-test

# Manual cleanup
make smoke-test-cleanup

See TROUBLESHOOTING.md for more help.

See Also