Step 7 — Verification¶
Where: bastion.
In short¶
- Two levels: the smoke test checks that every layer reports healthy; the functional test also boots an instance on the compute node.
- Both are safe to run again at any time, for example after a change or a reboot.
Smoke test¶
[READ-ONLY]
tests/smoke-test.sh
The script checks each layer from the bottom up and prints one line per check:
| Layer | Checks |
|---|---|
| OKD | nodes Ready; cluster operators Available and not Degraded |
| Platform | local volumes usable; cert-manager and MetalLB running |
| Operators | ClusterServiceVersion Succeeded; OpenStack resource Ready |
| Control plane | OpenStackControlPlane Ready; pods healthy; LoadBalancer addresses assigned; Keystone issues a token; catalog populated |
| Data plane | NodeSet Ready; nova-compute up; OVN agents alive |
On the lab it prints 15 PASS lines and one SKIP (the functional test)
in about ten seconds. The exit code is the number of failed checks.
The order of the checks is also the order in which to investigate a broken lab: a failure in a lower layer usually explains the ones above it.
Functional test¶
[CHANGE] — creates an image, a flavor, a network and an instance in the lab cloud, then deletes them:
tests/smoke-test.sh --functional
It uploads a CirrOS image, boots one instance on a tenant network and waits
for ACTIVE. This exercises Keystone, Glance, Placement, Neutron/OVN, the
nova scheduler and conductor, RabbitMQ on the internalapi network and the
compute node end to end. With KVM the whole test takes about a minute (the
instance is ACTIVE in ten seconds). With QEMU emulation, allow a few
minutes.
Using the cloud¶
The openstackclient pod is preconfigured with the admin credentials:
[READ-ONLY]
oc -n openstack rsh openstackclient
openstack catalog list
Public endpoints are Routes under *.apps.<cluster domain>. They resolve
and are reachable from the bastion and from the lab networks only.
Where to go next¶
- ../concepts/ — if you skipped it.
- ../operations/ — the Day-2 guide; start with
01-inspect-service-status.md. - ../troubleshooting/ — runbooks, several with a "reproduce it in the lab" section.
- ../lifecycle/ — updates, upgrades, backup.
Previous: Step 6 — OpenStack data plane · Up: Installation guide · Next: Operating OpenStack on OKD (Day 2)