Bug 1446299 - rhosp-director: Upgrade of compute OSP10-11 , failed during converge step, the UpgradeInitCommand isn't reset.
Summary: rhosp-director: Upgrade of compute OSP10-11 , failed during converge step, th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z4
: 11.0 (Ocata)
Assignee: Marios Andreou
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-27 15:39 UTC by Alexander Chuzhoy
Modified: 2017-12-08 22:04 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-6.2.1-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-08 22:04:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1686918 0 None None None 2017-04-28 07:34:42 UTC
OpenStack gerrit 461028 0 None None None 2017-04-28 13:58:54 UTC

Description Alexander Chuzhoy 2017-04-27 15:39:45 UTC
rhosp-director: Upgrade of compute OSP10-11 , failed during converge step, the UpgradeInitCommand isn't reset.

Environment:
openstack-puppet-modules-10.0.0-1.el7ost.noarch
instack-undercloud-6.0.0-6.el7ost.noarch
openstack-tripleo-heat-templates-6.0.0-7.el7ost.noarch


Steps to reproduce:

Ran the major-upgrade-composable-steps.yaml step of upgrade with

parameter_defaults:
  UpgradeInitCommand: |
    set -e
    yum-config-manager --add-repo <URL>
    sudo subscription-manager register --username=<USER>--password<PASS>; subscription-manager attach --pool <POOL>; subscription-manager repos --disable '*'  --enable rhel-7-server-rh-common-rpms --enable rhel-7-server-extras-rpms --enable rhel-7-server-rpms --enable rhel-ha-for-rhel-7-server-rpms --enable rhel-7-server-rhceph-2-osd-rpms --enable rhel-7-server-rhceph-2-mon-rpms --enable rhel-7-server-rhceph-2-tools-rpms --enable rhel-7-server-satellite-tools-6.2-rpms


Then the major-upgrade-converge.yaml step failed with:
overcloud.Compute.1.NovaComputeUpgradeInitDeployment:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: f1ca1a06-0ec4-4b80-91cb-741eb36e6b71
  status: UPDATE_FAILED
  status_reason: |
    UPDATE aborted
  deploy_stdout: |
    Loaded plugins: product-id
    adding repo from: <REPO>
    Cannot add repo from <URL> as is a duplicate of an existing repo
  deploy_stderr: |
    This system is already registered. Use --force to override
overcloud.Compute.0.NovaComputeUpgradeInitDeployment:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: a39f194d-a541-497e-978e-966b48fd6b11
  status: UPDATE_FAILED
  status_reason: |
    UPDATE aborted
  deploy_stdout: |
    Loaded plugins: product-id
    adding repo from: <REPO>
    Cannot add repo from <URL> as is a duplicate of an existing repo
  deploy_stderr: |
    This system is already registered. Use --force to override
overcloud.Compute.2.NovaComputeUpgradeInitDeployment:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: 23442341-13a6-4c2f-b538-31ba9f5ad0e7
  status: UPDATE_FAILED
  status_reason: |
    UPDATE aborted
  deploy_stdout: |
    Loaded plugins: product-id
    adding repo from: <REPO>
    Cannot add repo from <URL> as is a duplicate of an existing repo
  deploy_stderr: |
    This system is already registered. Use --force to override
~                                                             

Note: The repo and url were masked by me.

Comment 1 Sofer Athlan-Guyot 2017-04-28 13:08:59 UTC
On review on master.

Comment 2 Marios Andreou 2017-04-28 13:57:26 UTC
easy fixup master merging very soon added ocata to trackers

Comment 3 Marios Andreou 2017-05-01 10:08:53 UTC
stable/ocata merged moving POST

Comment 6 Jon Schlueter 2017-11-15 01:59:03 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-6.2.1-2.el7ost.  This build is available now.


Note You need to log in before you can comment on or make changes to this bug.