Bug 1428932

Summary: [RPM] Docker-distribution is installed instead of docker-registry
Product: Red Hat OpenStack Reporter: Pablo Iranzo Gómez <pablo.iranzo>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED DUPLICATE QA Contact: Amit Ugol <augol>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: arubin, athomas, dbecker, fkluknav, jesusr, jmatthew, jmontleo, lsm5, mburns, morazi, qci-bugzillas, rhartman, rhel-osp-director-maint, tcarlin, tpapaioa
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1410218 Environment:
Last Closed: 2017-03-06 09:50:42 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: 1410218    
Bug Blocks:    

Description Pablo Iranzo Gómez 2017-03-03 16:09:03 UTC
Did used infrared to deploy OSP8 environment and following the steps for upgrading OSP8 to minor release of OSP8 before doing OSP8 -> OSP9.


Apparently, the part of openstack undercloud upgrade, is relaying on hiera data as referenced bug: 1410218 and tryes to enable docker-registry, which has been obsoleted by installed package docker-distribution.

Manifests try to ensure that the service is started and it fails as the systemd unit file is missing.

Comment 1 Pablo Iranzo Gómez 2017-03-03 16:11:33 UTC
Creating a symbolik link from docker-distribution systemd unit file to docker-registry, allows the pgrade to continue and works apparently ok.


Prior to that:

2017-03-03 10:26:39,017 INFO: Notice: /Stage[main]/Main/Package[docker-registry]/ensure: created
2017-03-03 10:26:44,115 INFO: Error: Could not start Service[docker-registry]: Execution of '/bin/systemctl start docker-registry' returned 5: Failed to start docker-registry.service: Unit not found.
2017-03-03 10:26:44,116 INFO: Execution of '/bin/systemctl start docker-registry' returned 5: Failed to start docker-registry.service: Unit not found.