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

Bug 1553619

Summary: [UPGRADES] Failed to prepare oc upgrade : Error in EndpointMap output endpoint_map: Invalid URL port
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: openstack-tripleo-heat-templatesAssignee: Carlos Camacho <ccamacho>
Status: CLOSED DUPLICATE QA Contact: Gurenko Alex <agurenko>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: augol, ccamacho, mandreou, mbultel, mburns, mcornea, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged
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: 2018-04-04 10:01:15 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 Yurii Prokulevych 2018-03-09 07:58:07 UTC
Description of problem:
------------------------
Attempt to prepare oc for upgrade failed:

openstack overcloud upgrade prepare \
--validation-errors-nonfatal --templates \
--container-registry-file /home/stack/virt/docker-images-13.yaml \
-e /home/stack/virt/missed-images.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/noop-deploy-steps.yaml 2>&1
...
2018-03-07 16:31:30Z [overcloud-RedisVirtualIP-annowcpgn5n6]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2018-03-07 16:31:30Z [StorageMgmtVirtualIP]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:30Z [RedisVirtualIP]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:30Z [StorageVirtualIP]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:31Z [overcloud-InternalApiVirtualIP-wzb3kkkmdybn]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2018-03-07 16:31:31Z [PublicVirtualIP]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:31Z [InternalApiVirtualIP]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:33Z [VipMap]: UPDATE_IN_PROGRESS  state changed
2018-03-07 16:31:33Z [overcloud-VipMap-fh3pw7ax3cls]: UPDATE_IN_PROGRESS  Stack UPDATE started
2018-03-07 16:31:34Z [overcloud-VipMap-fh3pw7ax3cls]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2018-03-07 16:31:34Z [VipMap]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:35Z [EndpointMap]: UPDATE_IN_PROGRESS  state changed
2018-03-07 16:31:37Z [EndpointMap]: UPDATE_COMPLETE  state changed
2018-03-07 16:31:37Z [overcloud]: UPDATE_FAILED  Error in EndpointMap output endpoint_map: Invalid URL port "" for make_url called with {u'host': u'', u'scheme': '', u'port': ''}

 Stack overcloud/efc0b631-450a-4aed-a755-21adf6e7ff06 UPDATE_FAILED


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-tripleo-heat-templates-8.0.0-0.20180227121938.e0f59ee.el7ost.noarch



Steps to Reproduce:
1. Upgrade uc to RHOS-13
2. Install tripleoclient from sources:
   sudo yum remove -y python-tripleoclient
   git clone https://github.com/openstack/python-tripleoclient.git
   pushd ~/python-tripleoclient

   # all current/known patches merged on master currently 

    sudo rm -rf /usr/lib/python2.7/site-packages/python_tripleoclient*  
    sudo rm -rf /usr/lib/python2.7/site-packages/tripleoclient
    sudo python setup.py install
    popd
3. Install tripleocommon from source
    git clone https://github.com/openstack/tripleo-common
    pushd ~/tripleo-common
    sudo python setup.py install 
    popd
4. Run `openstack overcloud upgrade prepare ...` command 

Actual results:
---------------
Command fails

Comment 2 Carlos Camacho 2018-03-19 08:41:50 UTC
Hello Yurii,

Last week together with Sergii we deployed this several times and we were not able to reproduce it again.

Can you confirm you are not hitting this?

Thanks,
Carlos.

Comment 4 mathieu bultel 2018-04-04 10:01:15 UTC
Sounds like a duplicate of 1541024

*** This bug has been marked as a duplicate of bug 1541024 ***