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

Bug 1517265

Summary: OSP10 -> OSP11 upgrade: major-upgrade-composable-steps.yaml fails with Error: ceilometer-upgrade --skip-metering-database returned 1 instead of one of [0]
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED DUPLICATE QA Contact: Amit Ugol <augol>
Severity: urgent Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: ccamacho, dbecker, emacchi, mburns, mcornea, morazi, pkilambi, rhel-osp-director-maint, slinaber
Target Milestone: z4Keywords: ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-6.2.4-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 14:42:17 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 Marius Cornea 2017-11-24 12:43:31 UTC
Description of problem:
OSP10 -> OSP11 upgrade: major-upgrade-composable-steps.yaml fails with Error: ceilometer-upgrade --skip-metering-database returned 1 instead of one of [0]

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-6.2.4-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP10
2. Upgrade to OSP11

Actual results:
Upgrade fails.

Expected results:
Upgrade succeeds.

Additional info:
[stack@undercloud-0 ~]$ openstack stack failures list overcloud
overcloud.AllNodesDeploySteps.AllNodesPostUpgradeSteps.ControllerDeployment_Step5.0:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: 13eceed5-fdad-4b24-8e72-46e35213db66
  status: CREATE_FAILED
  status_reason: |
    Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
  deploy_stdout: |
    ...
    Debug: Finishing transaction 106225340
    Debug: Storing state
    Debug: Stored state in 0.81 seconds
    Notice: Applied catalog in 309.50 seconds
    Debug: Applying settings catalog for sections reporting, metrics
    Debug: Finishing transaction 324013700
    Debug: Received report to process from controller-0.localdomain
    Debug: Evicting cache entry for environment 'production'
    Debug: Caching environment 'production' (ttl = 0 sec)
    Debug: Processing report from controller-0.localdomain with processor Puppet::Reports::Store
    (truncated, view all with --long)
  deploy_stderr: |
    ging rabbit_host, rabbit_hosts, rabbit_port, rabbit_userid, rabbit_password, rabbit_virtual_host parameters have been deprecated by the [DEFAULT]\transport_url. Please use oslo::messaging::default::transport_url instead.
    Warning: Scope(Oslo::Messaging::Rabbit[neutron_config]): The oslo_messaging rabbit_host, rabbit_hosts, rabbit_port, rabbit_userid, rabbit_password, rabbit_virtual_host parameters have been deprecated by the [DEFAULT]\transport_url. Please use oslo::messaging::default::transport_url instead.
    Warning: Scope(Oslo::Messaging::Rabbit[ceilometer_config]): The oslo_messaging rabbit_host, rabbit_hosts, rabbit_port, rabbit_userid, rabbit_password, rabbit_virtual_host parameters have been deprecated by the [DEFAULT]\transport_url. Please use oslo::messaging::default::transport_url instead.
    Warning: Scope(Oslo::Messaging::Rabbit[aodh_config]): The oslo_messaging rabbit_host, rabbit_hosts, rabbit_port, rabbit_userid, rabbit_password, rabbit_virtual_host parameters have been deprecated by the [DEFAULT]\transport_url. Please use oslo::messaging::default::transport_url instead.
    Warning: Scope(Oslo::Messaging::Rabbit[sahara_config]): The oslo_messaging rabbit_host, rabbit_hosts, rabbit_port, rabbit_userid, rabbit_password, rabbit_virtual_host parameters have been deprecated by the [DEFAULT]\transport_url. Please use oslo::messaging::default::transport_url instead.
    Warning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.
    Error: ceilometer-upgrade --skip-metering-database returned 1 instead of one of [0]
    Error: /Stage[main]/Tripleo::Profile::Base::Ceilometer::Collector/Exec[ceilometer-db-upgrade]/returns: change from notrun to 0 failed: ceilometer-upgrade --skip-metering-database returned 1 instead of one of [0]

Comment 2 Carlos Camacho 2017-11-27 14:59:53 UTC
The fixes are merged and backported:

https://review.openstack.org/#/q/60925faefc58d76adf3914f96c636ca2a5b8c783

Comment 5 Steve Linabery 2017-12-06 13:17:45 UTC
We also have https://bugzilla.redhat.com/show_bug.cgi?id=1517977. Should either of 1517265 (this) or 1517977 be marked as a duplicate?

Comment 6 Marius Cornea 2017-12-06 13:20:15 UTC
(In reply to Steve Linabery from comment #5)
> We also have https://bugzilla.redhat.com/show_bug.cgi?id=1517977. Should
> either of 1517265 (this) or 1517977 be marked as a duplicate?

I'm ok with marking any of them as dupe as long as we get the fix in the next puddle.

Comment 7 Steve Linabery 2017-12-06 14:42:17 UTC

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