Created
February 23, 2018 20:07
-
-
Save trozet/72ee4f9540a6e3bccbe017f7e2230daf to your computer and use it in GitHub Desktop.
ceph_failure_baremetal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step: overcloud.AllNodesDeploySteps.ControllerDeployment_Step3.0 | |
Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Failed to call refresh: gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --sacks$ | |
number 128 returned 1 instead of one of [0]" | |
# pool is created in step 4: | |
https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/ceph/mon.pp | |
[root@overcloud-controller-0 ~]# gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --sacks-number 128 | |
No handlers could be found for logger "oslo_config.cfg" | |
2018-02-23 19:40:06,291 [103816] INFO gnocchi.service: Gnocchi version 4.0.5 | |
2018-02-23 19:40:06,587 [103816] INFO gnocchi.cli: Upgrading indexer <gnocchi.indexer.sqlalchemy.SQLAlchemyIndexer object at 0x402ff50> | |
2018-02-23 19:40:06,653 [103816] INFO gnocchi.storage.common.ceph: Ceph storage backend use 'cradox' python library | |
2018-02-23 19:40:06,675 [103816] CRITICAL root: Traceback (most recent call last): | |
File "/bin/gnocchi-upgrade", line 10, in <module> | |
sys.exit(upgrade()) | |
File "/usr/lib/python2.7/site-packages/gnocchi/cli.py", line 66, in upgrade | |
s = storage.get_driver(conf) | |
File "/usr/lib/python2.7/site-packages/gnocchi/storage/__init__.py", line 163, in get_driver | |
conf.storage, incoming, coord) | |
File "/usr/lib/python2.7/site-packages/gnocchi/storage/ceph.py", line 48, in __init__ | |
self.rados, self.ioctx = ceph.create_rados_connection(conf) | |
File "/usr/lib/python2.7/site-packages/gnocchi/storage/common/ceph.py", line 72, in create_rados_connection | |
ioctx = conn.open_ioctx(conf.ceph_pool) | |
File "cradox.pyx", line 444, in cradox.requires.wrapper.validate_func (cradox.c:4719) | |
File "cradox.pyx", line 1091, in cradox.Rados.open_ioctx (cradox.c:13860) | |
ObjectNotFound: error opening pool 'metrics' | |
[root@overcloud-controller-0 ~]# | |
[root@overcloud-controller-0 ~]# ceph osd pool ls | |
rbd | |
[root@overcloud-controller-0 ~]# ceph osd pool create metrics 64 64 | |
pool 'metrics' created | |
[root@overcloud-controller-0 ~]# gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf --sacks-number 128 | |
No handlers could be found for logger "oslo_config.cfg" | |
2018-02-23 19:45:38,818 [106814] INFO gnocchi.service: Gnocchi version 4.0.5 | |
2018-02-23 19:45:39,105 [106814] INFO gnocchi.cli: Upgrading indexer <gnocchi.indexer.sqlalchemy.SQLAlchemyIndexer object at 0x58ecf50> | |
2018-02-23 19:45:39,171 [106814] INFO gnocchi.storage.common.ceph: Ceph storage backend use 'cradox' python library | |
2018-02-23 19:45:39,191 [106814] INFO gnocchi.cli: Upgrading storage <gnocchi.storage.ceph.CephStorage object at 0x72ca790> | |
[root@overcloud-controller-0 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment