Bug 1328978

Summary: Upgrade of Openstack 7.3 -> 8.0 Error: rhel-7-server-openstack-8.0-rpms is not a valid repository ID
Product: Red Hat OpenStack Reporter: Andreas Karis <akaris>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: mburns, mcornea, rhel-osp-director-maint
Target Milestone: ga   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 19:56:04 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 Andreas Karis 2016-04-20 19:25:36 UTC
Description of problem:
Upgrade of Openstack 7.3 -> 8.0 Error: rhel-7-server-openstack-8.0-rpms is not a valid repository ID


Version-Release number of selected component (if applicable):
7.3 -> 8.0

How reproducible:
All the time

Steps to Reproduce:
1. Follow Chapter 10 of OSP 8 guide
2. https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/director-installation-and-usage/104-upgrading-the-overcloud
3.

Actual results:
[stack@undercloud ~]$ heat deployment-output-show fba36758-654a-4338-9737-907c1cf50998 --all
{
  "deploy_stdout": "Repository 'rhel-7-server-openstack-7.0-director-rpms' is disabled for this system.\nRepository 'rhel-7-server-openstack-7.0-rpms' is disabled for this system.\nError: rhel-7-server-openstack-8.0-rpms is not a valid repository ID. Use --list option to see valid repositories.\nError: rhel-7-server-openstack-8.0-director-rpms is not a valid repository ID. Use --list option to see valid repositories.\n", 
  "deploy_stderr": "", 
  "deploy_status_code": 1
}


Expected results:
success

Additional info:
The upgrade tries to enable repositories with name -8.0-, however, these repositories do not exist, as it's -8- only
[root@overcloud-compute-0 ~]# subscription-manager repos --list | grep openstack-8 | grep rpm | tail -3
Repo ID:   rhel-7-server-openstack-8-tools-debug-rpms
Repo ID:   rhel-7-server-openstack-8-rpms
Repo ID:   rhel-7-server-openstack-8-source-rpms

Comment 2 Mike Burns 2016-04-20 19:56:04 UTC

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

Comment 3 Mike Burns 2016-04-20 19:56:34 UTC
Please use the updated tripleo-heat-templates version from bug 1326025