Bug 1608334
| Summary: | No amphora image and octavia-ssh-key keypair are created during the deployment | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Stafeyev <astafeye> | |
| Component: | openstack-tripleo-common | Assignee: | Carlos Goncalves <cgoncalves> | |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Stafeyev <astafeye> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 14.0 (Rocky) | CC: | amuller, apevec, astafeye, bcafarel, gcheresh, itbrown, lhh, mburns, mweetman, slinaber, srevivo, tvignaud | |
| Target Milestone: | beta | Keywords: | AutomationBlocker, Regression, Triaged | |
| Target Release: | 14.0 (Rocky) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tripleo-common-9.4.1-0.20181012010875.67bab16.el7ost openstack-tripleo-heat-templates-9.0.1-0.20181013060883.el7ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1615128 (view as bug list) | Environment: | ||
| Last Closed: | 2019-01-11 11:50:58 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1640024 | |||
| Bug Blocks: | ||||
|
Description
Alexander Stafeyev
2018-07-25 10:31:55 UTC
In the unlikely event that the RPM package containing the amphora image cannot be installed, the installation should fail right away, so if it did not fail I wonder what happened. https://github.com/openstack/tripleo-common/blob/master/playbooks/roles/octavia-undercloud/tasks/main.yml#L13-L14 Could you please share the log from the Mistral octavia workflow? (In reply to Carlos Goncalves from comment #2) > In the unlikely event that the RPM package containing the amphora image > cannot be installed, the installation should fail right away, so if it did > not fail I wonder what happened. > > https://github.com/openstack/tripleo-common/blob/master/playbooks/roles/ > octavia-undercloud/tasks/main.yml#L13-L14 > > Could you please share the log from the Mistral octavia workflow? Which logs exactly do u need ? p.s. I will add sosreport soon We have the same issue with keypair - /var/log/containers/octavia/worker.log:2018-07-25 11:35:31.046 22 ERROR oslo_messaging.rpc.server ComputeBuildException: Failed to build compute instance due to: Invalid key_name provided. No keypair found From /var/lib/mistral/4842bfd0-8a7c-4ff2-b008-e52c6ea9c405/octavia-ansible/octavia-ansible.log
2018-08-13 08:52:17,312 p=14240 u=mistral | [WARNING]: Could not match supplied host pattern, ignoring: undercloud
2018-08-13 08:52:17,314 p=14240 u=mistral | PLAY [undercloud[0]] ***********************************************************
2018-08-13 08:52:17,314 p=14240 u=mistral | skipping: no hosts matched
2018-08-13 08:52:17,319 p=14240 u=mistral | PLAY [octavia_nodes[0]] ********************************************************
2018-08-13 08:52:17,338 p=14240 u=mistral | TASK [Gathering Facts] *********************************************************
2018-08-13 08:52:17,338 p=14240 u=mistral | Monday 13 August 2018 08:52:17 -0400 (0:00:00.105) 0:00:00.105 *********
2018-08-13 08:52:24,123 p=14240 u=mistral | ok: [controller-2]
[...]
Host "undercloud[0]" could not be found when running the playbook tripleo-common/playbooks/octavia-files.yaml [1]. That must be due to the migration of Octavia to external_deploy_task [2] that happened in Rocky cycle.
So, the trouble maker was the renaming of 'undercloud' to 'Undercloud' in tripleo-heat-templates/tree/docker/services/octavia/octavia-deployment-config.yaml.
[root@undercloud-0 mistral]# cat /var/lib/mistral/4842bfd0-8a7c-4ff2-b008-e52c6ea9c405/octavia-ansible/inventory.yaml
octavia_nodes:
hosts:
controller-2:
ansible_user: tripleo-admin
ansible_host: 192.168.24.19
ansible_become: true
controller-1:
ansible_user: tripleo-admin
ansible_host: 192.168.24.14
ansible_become: true
controller-0:
ansible_user: tripleo-admin
ansible_host: 192.168.24.16
ansible_become: true
Undercloud:
hosts:
undercloud-0:
ansible_host: localhost
ansible_become: false
ansible_connection: local
We need to update octavia-files.yaml to reflect that change.
[1] https://github.com/openstack/tripleo-common/blob/336cd3c6364c8c9be88c840253db0d0b54336c75/playbooks/octavia-files.yaml#L2
[2] https://review.openstack.org/#/c/559374/
We are waiting for a W+1 for Carlos's patch: https://review.openstack.org/#/c/591413/ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |