Bug 1667424

Summary: Undercloud fails to install due to ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database
Product: Red Hat OpenStack Reporter: Joachim von Thadden <j.thadden>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 13.0 (Queens)CC: aschultz, mburns, mmagr, svmichel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-21 15:56:48 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 Joachim von Thadden 2019-01-18 13:02:35 UTC
Description of problem:
With package instack-undercloud-8.4.6-4.el7ost.noarch the install of the Undercloud fails with:

2019-01-18 13:25:42,203 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database

The reason lies in /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp which uses this old parameter that is not any more known to ceilometer-upgrade from package openstack-ceilometer-common-10.0.1-4.el7ost.noarch.


Version-Release number of selected component (if applicable):
instack-undercloud-8.4.6-4.el7ost.noarch
openstack-ceilometer-common-10.0.1-4.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. openstack undercloud install

Actual results:
2019-01-18 13:25:42,203 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database


Expected results:
Undercloud installed successfully.

Additional info:
It's fairly easy to solve by simply doing

sudo sed -i -e "s/ --skip-metering-database//" /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp

after installation of python-tripleoclient and before doing the "openstack undercloud install".

Comment 2 Martin Magr 2019-01-21 15:56:48 UTC

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

Comment 3 Martin Magr 2019-01-22 09:41:51 UTC

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