Bug 1569751
Summary: | OSP10->11->12->13 undercloud upgrade post validation fail: Task 'Check Keystone' failed:\nHost: localhost\nMessage: Status code was not [201]: HTTP Error 404: Not Found\n\nFailure! The validation failed for all hosts:\n* | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
Component: | openstack-tripleo-validations | Assignee: | Carlos Camacho <ccamacho> |
Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | augol, ccamacho, dbecker, jfrancoa, jjoyce, jschluet, lbezdick, mbracho, mburns, morazi, sclewis, slinaber, tvignaud, yprokule |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-validations-8.4.1-5.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-27 13:52:02 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: |
Description
Marius Cornea
2018-04-19 23:54:13 UTC
Got same issue during regular 12 -> 13 major upgrade. Package: openstack-tripleo-validations-8.4.0-2.el7ost.noarch So after running validation the problem seems to be a malformed url used for 'Check Keystone' task: https://10.0.0.101:13000/v2.0/v3/auth/tokens The url is defined as 'url: "{{ overcloud_keystone_url }}/v3/auth/tokens"' and 'overcloud_keystone_url' that is generated with: tripleo-ansible-inventory --static-yaml-inventory inventory has a trailing 'v2.0' suffix overcloud_keystone_url parameter gets its value from the KeystoneURL stack parameter: https://github.com/openstack/tripleo-common/blob/master/tripleo_common/inventory.py#L177-L179 This stack output is at the same time defined in tripleo-heat-templates from the value of KeystonePublic.uri https://github.com/openstack/tripleo-heat-templates/blob/stable/pike/overcloud.j2.yaml#L933 Which in stable/pike (which is the version we come from before upgrading the undercloud) is defined appending /v2.0: https://github.com/openstack/tripleo-heat-templates/blob/stable/pike/network/endpoints/endpoint_map.yaml#L4085 For that reason, Yurii has defined in its inventory the value: https://10.0.0.101:13000/v2.0/ for 'overcloud_keystone_url'. I'm preparing a patch for it so we leave the version aside when creating overcloud_keystone_url. We need the blocker flag in this please. The fix is merged downstream but we cant create the package acked. 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-2018:2086 |