[gnocchi-db-sync]: gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --skip-storage --skip-incoming returned 2

Bug #1745686 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Critical
Pradeep Kilambi
Pike
Fix Released
Critical
Pradeep Kilambi

Bug Description

Pike, job periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset002-pike-upload

 "Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Failed to call refresh: gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --skip-storage --skip-incoming returned 2 instead of one of [0]",
            "Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --skip-storage --skip-incoming returned 2 instead of one of [0]",
            "Warning: Puppet::Type::Keystone_tenant::ProviderOpenstack: Support for a resource without the domain set is deprecated in Liberty cycle. It will be dropped in the M-cycle. Currently using 'Default' as default domain name while the default domain id is 'f56e7aef5e6648c0a11de7c8dd3dc6ab'."
        ]

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset002-pike-upload/de8d5d9/undercloud/home/jenkins/failed_deployment_list.log.txt.gz

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset002-pike-upload/de8d5d9/undercloud/home/jenkins/overcloud_deploy.log.txt.gz#_2018-01-26_11_23_32

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset002-pike-upload/de8d5d9/overcloud-controller-0/var/log/journal.txt.gz#_Jan_26_11_23_19

Revision history for this message
wes hayutin (weshayutin) wrote :
wes hayutin (weshayutin)
tags: added: alert ci
Revision history for this message
Pradeep Kilambi (pkilambi) wrote :

This is due to bad cmd line argument to gnocchi-upgrade

The issue seems to be because of bad argument:

        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: usage: gnocchi-upgrade [-h] [--config-dir DIR] [--config-file PATH] [--debug]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--log-dir LOG_DIR] [--log-file PATH] [--nodebug]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--noskip-archive-policies-creation] [--noskip-index]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--noskip-storage] [--noverbose]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--sacks-number SACKS_NUMBER]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--skip-archive-policies-creation] [--skip-index]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: [--skip-storage] [--verbose] [--version]",
        "Notice: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]/returns: gnocchi-upgrade: error: unrecognized arguments: --skip-incoming"
the pike version doent support --skip-incoming

must be fixed with:

https://review.openstack.org/#/c/538948/

Changed in tripleo:
assignee: nobody → Pradeep Kilambi (pkilambi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/pike)

Reviewed: https://review.openstack.org/538948
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=77de4e8c61f4417dfcb347e3eaed41db3e690798
Submitter: Zuul
Branch: stable/pike

commit 77de4e8c61f4417dfcb347e3eaed41db3e690798
Author: Pradeep Kilambi <email address hidden>
Date: Mon Jan 29 10:35:35 2018 -0500

    Removing unsupported skip-incoming argument

    Closes-bug: #1745686

    Change-Id: Ic6f3c923285c328641fb01fb969ba90ea4a36fc9

tags: added: in-stable-pike
Alan Pevec (apevec)
tags: removed: alert
no longer affects: tripleo/pike
Changed in tripleo:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.4.9

This issue was fixed in the openstack/puppet-tripleo 7.4.9 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.