Advertisement
Guest User

Untitled

a guest
Feb 28th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. ubuntu@R1-710-40:~$ docker logs bootstrap_gnocchi
  2. + sudo -E kolla_set_configs
  3. INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
  4. INFO:__main__:Validating config file
  5. INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
  6. INFO:__main__:Copying service configuration files
  7. INFO:__main__:Copying /var/lib/kolla/config_files/gnocchi.conf to /etc/gnocchi/gnocchi.conf
  8. INFO:__main__:Setting permission for /etc/gnocchi/gnocchi.conf
  9. INFO:__main__:Copying /var/lib/kolla/config_files/wsgi-gnocchi.conf to /etc/httpd/conf.d/wsgi-gnocchi.conf
  10. INFO:__main__:Setting permission for /etc/httpd/conf.d/wsgi-gnocchi.conf
  11. INFO:__main__:Copying /var/lib/kolla/config_files/ceph.conf to /etc/ceph/ceph.conf
  12. INFO:__main__:Setting permission for /etc/ceph/ceph.conf
  13. INFO:__main__:Copying /var/lib/kolla/config_files/ceph.client.gnocchi.keyring to /etc/ceph/ceph.client.gnocchi.keyring
  14. INFO:__main__:Setting permission for /etc/ceph/ceph.client.gnocchi.keyring
  15. INFO:__main__:Writing out command to execute
  16. INFO:__main__:Setting permission for /var/lib/gnocchi
  17. ++ cat /run_command
  18. + CMD='httpd -DFOREGROUND'
  19. + ARGS=
  20. + [[ ! -n '' ]]
  21. + . kolla_extend_start
  22. ++ GNOCCHI_LOG_DIR=/var/log/kolla/gnocchi
  23. ++ [[ ! -d /var/log/kolla/gnocchi ]]
  24. ++ mkdir -p /var/log/kolla/gnocchi
  25. +++ stat -c %U:%G /var/log/kolla/gnocchi
  26. ++ [[ root:root != \g\n\o\c\c\h\i\:\k\o\l\l\a ]]
  27. ++ chown gnocchi:kolla /var/log/kolla/gnocchi
  28. +++ stat -c %a /var/log/kolla/gnocchi
  29. ++ [[ 755 != \7\5\5 ]]
  30. ++ . /usr/local/bin/kolla_gnocchi_extend_start
  31. +++ [[ centos =~ debian|ubuntu ]]
  32. +++ rm -rf /var/run/httpd/htcacheclean /run/httpd/htcacheclean '/tmp/httpd*'
  33. +++ [[ -n 0 ]]
  34. +++ sudo -H -u gnocchi gnocchi-upgrade --log-file /var/log/kolla/gnocchi/gnocchi-upgrade.log
  35. 2019-02-28 19:22:00,705 [19] INFO gnocchi.service: Gnocchi version 4.3.2
  36. 2019-02-28 19:22:00,976 [19] WARNING py.warnings: /var/lib/kolla/venv/lib/python2.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  37. """)
  38.  
  39. 2019-02-28 19:22:01,115 [19] INFO gnocchi.cli.manage: Upgrading indexer SQLAlchemyIndexer: mysql+pymysql://gnocchi:V2jfJdUUW0QPIMBPyrYmVRUwL5mnBNkvTy7HI5wJ@192.168.1.250:3306/gnocchi
  40. 2019-02-28 19:22:01,356 [19] INFO gnocchi.common.ceph: Ceph storage backend use 'cradox' python library
  41. 2019-02-28 19:22:01,411 [19] INFO gnocchi.cli.manage: Upgrading storage CephStorage: 7f1447fd-ebd2-44ca-a60c-5f6ce93b34de
  42. 2019-02-28 19:22:01,414 [19] INFO gnocchi.common.ceph: Ceph storage backend use 'cradox' python library
  43. 2019-02-28 19:22:01,436 [19] INFO gnocchi.cli.manage: Upgrading incoming storage CephStorage: 7f1447fd-ebd2-44ca-a60c-5f6ce93b34de
  44. 2019-02-28 19:23:01,438 [19] CRITICAL root: Traceback (most recent call last):
  45. File "/var/lib/kolla/venv/bin/gnocchi-upgrade", line 11, in <module>
  46. load_entry_point('gnocchi==4.3.2', 'console_scripts', 'gnocchi-upgrade')()
  47. File "/var/lib/kolla/venv/lib/python2.7/site-packages/gnocchi/cli/manage.py", line 77, in upgrade
  48. i.upgrade(conf.sacks_number)
  49. File "/var/lib/kolla/venv/lib/python2.7/site-packages/gnocchi/incoming/__init__.py", line 129, in upgrade
  50. self.set_storage_settings(num_sacks)
  51. File "/var/lib/kolla/venv/lib/python2.7/site-packages/gnocchi/incoming/ceph.py", line 74, in set_storage_settings
  52. json.dumps({self.CFG_SACKS: num_sacks}).encode())
  53. File "cradox.pyx", line 499, in cradox.requires.wrapper.validate_func
  54. File "cradox.pyx", line 2626, in cradox.Ioctx.write_full
  55. TimedOut: [errno 110] Ioctx.write_full(gnocchi): failed to write gnocchi-config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement