Undercloud upgrade from RHOSP12 to RHSOP13 got failed with "ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database" in /home/stack/.instack/install-undercloud.log

Solution In Progress - Updated -

Issue

  • Undercloud upgrade from RHOSP12 to RHSOP13 got failed with "ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database" in /home/stack/.instack/install-undercloud.log
2019-03-14 07:45:29,959 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: usage: ceilometer-upgrade [-h] [--config-dir DIR] [--config-file PATH]
2019-03-14 07:45:29,960 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--debug] [--log-config-append PATH]
2019-03-14 07:45:29,960 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
2019-03-14 07:45:29,960 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--log-file PATH] [--nodebug]
2019-03-14 07:45:29,960 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--noskip-gnocchi-resource-types] [--nouse-journal]
2019-03-14 07:45:29,960 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--nouse-json] [--nouse-syslog] [--nowatch-log-file]
2019-03-14 07:45:29,961 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--retry RETRY] [--skip-gnocchi-resource-types]
2019-03-14 07:45:29,961 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--syslog-log-facility SYSLOG_LOG_FACILITY]
2019-03-14 07:45:29,961 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--use-journal] [--use-json] [--use-syslog]
2019-03-14 07:45:29,961 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--version] [--watch-log-file]
2019-03-14 07:45:29,961 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database
2019-03-14 07:45:29,961 INFO: Error: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]
2019-03-14 07:45:29,962 INFO: Error: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: change from notrun to 0 failed: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]
[...]
2019-03-14 07:45:57,519 INFO: + rc=6
2019-03-14 07:45:57,519 INFO: + set -e
2019-03-14 07:45:57,519 INFO: + echo 'puppet apply exited with exit code 6'
2019-03-14 07:45:57,519 INFO: puppet apply exited with exit code 6
2019-03-14 07:45:57,520 INFO: + '[' 6 '!=' 2 -a 6 '!=' 0 ']'
2019-03-14 07:45:57,520 INFO: + exit 6
2019-03-14 07:45:57,520 INFO: [2019-03-14 07:45:57,520] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit statu
s 1]
2019-03-14 07:45:57,520 INFO: 
2019-03-14 07:45:57,520 INFO: [2019-03-14 07:45:57,520] (os-refresh-config) [ERROR] Aborting...
2019-03-14 07:45:57,530 DEBUG: An exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2332, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1599, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 668, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.

Environment

  • Red Hat Openstack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content