Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1568690

Summary: Error in EndpointMap output endpoint_map, needs to provide all env files for the prepare command
Product: Red Hat OpenStack Reporter: mathieu bultel <mbultel>
Component: documentationAssignee: RHOS Documentation Team <rhos-docs>
Status: CLOSED WONTFIX QA Contact: RHOS Documentation Team <rhos-docs>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: ccamacho, dcadzow, dmacpher, srevivo, yprokule
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-05 16:23:41 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 mathieu bultel 2018-04-18 06:38:42 UTC
Description of problem:
-----------------------
Preparing of oc upgrade playbooks fails:

openstack overcloud upgrade --init-update \
    --container-registry-file images.yaml \
    -e disabled-services.yml
Waiting for messages on queue 'tripleo' with no timeout.
Started Mistral Workflow tripleo.package_update.v1.package_update_plan. Execution ID: 31f39151-b7a7-472c-b472-0712a8e5d8d4
2018-02-01 11:07:17Z [ServiceNetMap]: UPDATE_IN_PROGRESS  state changed
2018-02-01 11:07:18Z [overcloud-ServiceNetMap-nx7ak2zxtabg]: UPDATE_IN_PROGRESS  Stack UPDATE started
2018-02-01 11:07:18Z [overcloud-ServiceNetMap-nx7ak2zxtabg]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2018-02-01 11:07:19Z [Networks]: UPDATE_IN_PROGRESS  state changed
2018-02-01 11:07:19Z [ServiceNetMap]: UPDATE_COMPLETE  state changed
...
2018-02-01 11:07:42Z [overcloud-VipMap-bywnffs4eklz]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2018-02-01 11:07:43Z [VipMap]: UPDATE_COMPLETE  state changed
2018-02-01 11:07:43Z [EndpointMap]: UPDATE_IN_PROGRESS  state changed
2018-02-01 11:07:45Z [EndpointMap]: UPDATE_COMPLETE  state changed
2018-02-01 11:07:45Z [overcloud]: UPDATE_FAILED  Error in EndpointMap output endpoint_map: Invalid URL port "" for make_url called with {u'host': u'', u'scheme': '', u'port': ''}



If we use the persistence of the plan during the prepare command, the risk is to not update useful information, like the for the endpoint_map, new resource_registry value. This cause some issue because we are playing with the new templates, with Pike resource_registry values.

So we need to specify to the user to pass all the environment files previously passed during the deploy command to avoid this king of issue.

Comment 1 mathieu bultel 2018-04-18 06:41:52 UTC
*** Bug 1541024 has been marked as a duplicate of this bug. ***

Comment 2 Dan Macpherson 2021-08-05 16:23:41 UTC
This bug has been closed as WONTFIX due to limited activity. If you believe this has been closed in error, please re-open and provide a comment telling us why this bug is important to you, and provide a link to your active support case. Thank you for your help!