-
Notifications
You must be signed in to change notification settings - Fork 80
Control plane verification fixes #866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bd082ac
fbb10ac
0f95f56
7d96934
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ endif::[] | |
|
|
||
| * If you enabled TLS everywhere (TLS-e) on the {OpenStackShort} environment, you must copy the `tls` root CA from the {OpenStackShort} environment to the `rootca-internal` issuer. | ||
|
|
||
| * There are free PVs available for MariaDB and RabbitMQ. | ||
| * There are free PVs available for Galera and RabbitMQ. | ||
| ifeval::["{build}" != "downstream"] | ||
| + | ||
| For developer/CI environments driven by install_yamls, make sure | ||
|
|
@@ -415,18 +415,26 @@ spec: | |
|
|
||
| .Verification | ||
|
|
||
| * Verify that MariaDB and RabbitMQ are running for all defined cells: | ||
| * Verify that the Galera and RabbitMQ status is `Running` for all defined cells: | ||
| + | ||
jistr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| [source,yaml] | ||
| ---- | ||
| $ RENAMED_CELLS="cell1 cell2 cell3" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This may be slightly tangential, but given that the most common use case is not to have multiple cells don't you think we should have a note here to clarify that this should be modified to suit the environment?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes could be done but it's not related to the bug i'm trying to fix. I could piggy-back another commit to the PR if it was brought up earlier in the sprint but now i'd just focus on the must haves. The Now that is searched for it, i see that description is not the first place the variable occurs in the docs, which could be improved upon, but again it's irrelevant to this bug.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the guide, it is stated as an example we stick with to deploy 3 cells further on. |
||
| $ oc get pod openstack-galera-0 -o jsonpath='{.status.phase}{"\n"}' | grep Running | ||
| $ oc get pod rabbitmq-server-0 -o jsonpath='{.status.phase}{"\n"}' | grep Running | ||
| $ oc get pod openstack-galera-0 -o jsonpath='{.status.phase}{"\n"}' | ||
| $ oc get pod rabbitmq-server-0 -o jsonpath='{.status.phase}{"\n"}' | ||
| $ for CELL in $(echo $RENAMED_CELLS); do | ||
| oc get pod openstack-$CELL-galera-0 -o jsonpath='{.status.phase}{"\n"}' | grep Running | ||
| oc get pod rabbitmq-$CELL-server-0 -o jsonpath='{.status.phase}{"\n"}' | grep Running | ||
| done | ||
| > oc get pod openstack-$CELL-galera-0 -o jsonpath='{.status.phase}{"\n"}' | ||
| > oc get pod rabbitmq-$CELL-server-0 -o jsonpath='{.status.phase}{"\n"}' | ||
| > done | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it may make sense to include a sample of expected output here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The expected output is the word
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can be more verbose in documentation and have grep in CI at the same time. NAME READY STATUS RESTARTS AGE and for galera: NAME READY STATUS RESTARTS AGE |
||
| ---- | ||
| + | ||
| The given cells names are later referred to by using the environment variable `RENAMED_CELLS`. | ||
|
|
||
| * Verify that you can access the `OpenStackClient` pod. For more information, see link:{defaultURL}/maintaining_the_red_hat_openstack_services_on_openshift_deployment/assembly_accessing-the-rhoso-cloud#proc_accessing-the-OpenStackClient-pod_cloud-access-admin[Accessing the OpenStackClient pod] in _Maintaining the {rhos_long_noacro} deployment_. | ||
| * Verify that the `OpenStackControlPlane` CR is waiting for deployment | ||
| of the `openstackclient` pod: | ||
|
||
| + | ||
| ---- | ||
| $ oc get OpenStackControlPlane openstack | ||
| NAME STATUS MESSAGE | ||
| openstack Unknown OpenStackControlPlane Client not started | ||
| ---- | ||
Uh oh!
There was an error while loading. Please reload this page.