[Openstack] Devstack start

Rim Chol (rimc) rimc at zhaw.ch
Thu Nov 6 16:17:02 UTC 2014


Thank you for your reply.

I tried as you told me and the followings are the part of errors in the g-api screen.

          2014-11-06 17:09:15.944 25490 DEBUG glance_store.driver [-] Late loading location class glance_store._drivers.http.StoreLocation get_store_location_class /opt/stack/glance_store/glance_store/driver.py:85
          2014-11-06 17:09:15.944 25490 DEBUG glance_store.location [-] Registering scheme http with {'location_class': <class 'glance_store._drivers.http.StoreLocation'>, 'store': <glance_store._drivers.http.Store object at 0x7f937ac6c450>} register_scheme_map                                                       
          /opt/stack/glance_store/glance_store/location.py:90
          2014-11-06 17:09:15.944 25490 DEBUG glance_store.location [-] Registering scheme https with {'location_class': <class 'glance_store._drivers.http.StoreLocation'>, 'store': <glance_store._drivers.http.Store object at 0x7f937ac6c450>} register_scheme_map           
          /opt/stack/glance_store/glance_store/location.py:90
          2014-11-06 17:09:15.944 25490 DEBUG glance_store.backend [-] Attempting to import store file _load_store /opt/stack/glance_store/glance_store/backend.py:152
          2014-11-06 17:09:15.945 25490 DEBUG glance_store.backend [-] Registering store file with schemes ('file', 'filesystem') create_stores /opt/stack/glance_store/glance_store/backend.py:199
          2014-11-06 17:09:15.945 25490 DEBUG glance_store.driver [-] Late loading location class glance_store._drivers.filesystem.StoreLocation get_store_location_class /opt/stack/glance_store/glance_store/driver.py:85
          2014-11-06 17:09:15.946 25490 DEBUG glance_store.location [-] Registering scheme file with {'location_class': <class 'glance_store._drivers.filesystem.StoreLocation'>, 'store': <glance_store._drivers.filesystem.Store object at 0x7f937ac6cf50>} register_scheme_map           
          /opt/stack/glance_store/glance_store/location.py:90
          2014-11-06 17:09:15.946 25490 DEBUG glance_store.location [-] Registering scheme filesystem with {'location_class': <class 'glance_store._drivers.filesystem.StoreLocation'>, 'store': <glance_store._drivers.filesystem.Store object at 0x7f937ac6cf50>} register_scheme_map 
          /opt/stack/glance_store/glance_store/location.py:90
          2014-11-06 17:09:16.038 25490 CRITICAL glance [-] TypeError: __init__() got an unexpected keyword argument 'retry'
          2014-11-06 17:09:16.038 25490 TRACE glance Traceback (most recent call last):
          2014-11-06 17:09:16.038 25490 TRACE glance   File "/usr/local/bin/glance-api", line 10, in <module>
          2014-11-06 17:09:16.038 25490 TRACE glance     sys.exit(main())
          2014-11-06 17:09:16.038 25490 TRACE glance   File "/opt/stack/glance/glance/cmd/api.py", line 78, in main
          2014-11-06 17:09:16.038 25490 TRACE glance     cfg.CONF.bind_host)
          2014-11-06 17:09:16.038 25490 TRACE glance   File "/usr/	local/lib/python2.7/dist-packages/osprofiler/notifier.py", line 60, in create
          2014-11-06 17:09:16.038 25490 TRACE glance     return base.Notifier.factory(plugin_name, *args, **kwargs)
          2014-11-06 17:09:16.038 25490 TRACE glance   File "/usr/local/lib/python2.7/dist-packages/osprofiler/_notifiers/base.py", line 47, in factory
          2014-11-06 17:09:16.038 25490 TRACE glance     return driver(*args, **kwargs).notify
          2014-11-06 17:09:16.038 25490 TRACE glance   File "/usr/local/lib/python2.7/dist-packages/osprofiler/_notifiers/messaging.py", line 33, in __init__
          2014-11-06 17:09:16.038 25490 TRACE glance     topic="profiler", retry=0)
          2014-11-06 17:09:16.038 25490 TRACE glance TypeError: __init__() got an unexpected keyword argument 'retry'
          2014-11-06 17:09:16.038 25490 TRACE glance
          g-api failed to start

Could you please tell me how to fix that?
Looking forward to your reply.

Chol.
________________________________________
From: Dugger, Donald D [donald.d.dugger at intel.com]
Sent: Thursday, November 06, 2014 3:14 PM
To: Rim Chol (rimc); openstack at lists.openstack.org
Subject: RE: Devstack start

Rim-

The log message `start_glance’ immediately followed by errors was the indicator, your glance didn’t start.  `devstack’ uses `screen’ to create console logs for the various components that you use, switch to the `g-api’ screen and you should see more detail on what went wrong.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786

From: Rim Chol (rimc) [mailto:rimc at zhaw.ch]
Sent: Thursday, November 6, 2014 6:50 AM
To: openstack at lists.openstack.org
Subject: [Openstack] Devstack start

Greetings!

I am sending this email because I have some problems with starting the devstack.

I cloned the devstack repository in my laptop and ran ./stack.sh in the devstack directory.
But the konsole complains about that and some of the error messages are shown below.
        + screen -S stack -p g-api -X stuff '/usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf & echo $! >/opt/stack/status/stack/g-api.pid; fg || echo "g-api failed to start" | tee "/opt/stack/s'atus/stack/g-api.failure"
        + echo 'Waiting for g-api (160.85.231.43:9292) to start...'
        Waiting for g-api (160.85.231.43:9292) to start...
        + wait_for_service 60 http://160.85.231.43:9292
        + local timeout=60
        + local url=http://160.85.231.43:9292
        + timeout 60 sh -c 'while ! curl -k --noproxy '\''*'\'' -s http://160.85.231.43:9292 >/dev/null; do sleep 1; done'
        + die 317 'g-api did not start'
        + local exitcode=0
        + set +o xtrace
        [Call Trace]
        ./stack.sh:1186:start_glance
        /home/chol/OpenStack/devstack/lib/glance:317:die
        [ERROR] /home/chol/OpenStack/devstack/lib/glance:317 g-api did not start
        Error on exit
        World dumping... see ./worlddump-2014-11-06-133528.txt for details\

I can not find any helpful materials on this over the Internet.
Could anyone of you help me fix this?
I would really appreciate your help

Chol.



More information about the Openstack mailing list