← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372645] [NEW] g-api and g-reg fail to start with: 'StrOpt' object has no attribute 'type'

 

Public bug reported:

In https://review.openstack.org/#/c/122215/ candidate fix for cinder
failed in gate test gate-grenade-dsvm.

grenade.sh.txt contains:

2014-09-22 16:51:30.019 | + screen -S stack -p g-api -X stuff 'cd /opt/stack/old/glance; /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/status/stack/g-api.failure"
'
2014-09-22 16:51:30.027 | + echo 'Waiting for g-api (127.0.0.1:9292) to start...'
2014-09-22 16:51:30.027 | Waiting for g-api (127.0.0.1:9292) to start...
2014-09-22 16:51:30.027 | + timeout 120 sh -c 'while ! wget --no-proxy -q -O- http://127.0.0.1:9292; do sleep 1; done'
2014-09-22 16:53:30.031 | + die 199 'g-api did not start'
2014-09-22 16:53:30.031 | + local exitcode=0
2014-09-22 16:53:30.032 | [Call Trace]
2014-09-22 16:53:30.032 | ./stack.sh:1055:start_glance
2014-09-22 16:53:30.032 | /opt/stack/old/devstack/lib/glance:199:die
2014-09-22 16:53:30.042 | [ERROR] /opt/stack/old/devstack/lib/glance:199 g-api did not start
2014-09-22 16:53:30.046 | + exit_trap
2014-09-22 16:53:30.046 | + local r=1

screen-g-api ends thusly:

2014-09-22 16:51:30.895 28864 INFO glance.api.middleware.cache [-] Initialized image cache middleware
2014-09-22 16:51:30.896 28864 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-09-22 16:51:30.896 28864 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
2014-09-22 16:51:30.896 28864 CRITICAL glance [-] 'StrOpt' object has no attribute 'type'
g-api failed to start
stack@devstack-precise-rax-iad-2340686:/opt/stack/old/glance$

screen-g-reg has the same error:

stack@devstack-precise-rax-iad-2340686:/opt/stack/old/devstack$ cd /opt/stack/ol 
d/glance; /usr/local/bin/glance-registry --config-file=/etc/glance/glance-regist 
ry.conf & echo $! >/opt/stack/status/stack/g-reg.pid; fg || echo "g-reg failed t 
o start" | tee "/opt/stack/status/stack/g-reg.failure"
[1] 28783
/usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
2014-09-22 16:51:27.285 28783 DEBUG glance.common.config [-] Loading glance-registry-keystone from /etc/glance/glance-registry-paste.ini load_paste_app /opt/stack/old/glance/glance/common/config.py:223
2014-09-22 16:51:27.547 28783 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True __init__ /usr/lib/python2.7/dist-packages/routes/middleware.py:41
2014-09-22 16:51:27.547 28783 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-09-22 16:51:27.547 28783 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
2014-09-22 16:51:27.548 28783 CRITICAL glance [-] 'StrOpt' object has no attribute 'type'
g-reg failed to start
stack@devstack-precise-rax-iad-2340686:/opt/stack/old/glance$

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1372645

Title:
  g-api and g-reg fail to start with: 'StrOpt' object has no attribute
  'type'

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  In https://review.openstack.org/#/c/122215/ candidate fix for cinder
  failed in gate test gate-grenade-dsvm.

  grenade.sh.txt contains:

  2014-09-22 16:51:30.019 | + screen -S stack -p g-api -X stuff 'cd /opt/stack/old/glance; /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/status/stack/g-api.failure"
  '
  2014-09-22 16:51:30.027 | + echo 'Waiting for g-api (127.0.0.1:9292) to start...'
  2014-09-22 16:51:30.027 | Waiting for g-api (127.0.0.1:9292) to start...
  2014-09-22 16:51:30.027 | + timeout 120 sh -c 'while ! wget --no-proxy -q -O- http://127.0.0.1:9292; do sleep 1; done'
  2014-09-22 16:53:30.031 | + die 199 'g-api did not start'
  2014-09-22 16:53:30.031 | + local exitcode=0
  2014-09-22 16:53:30.032 | [Call Trace]
  2014-09-22 16:53:30.032 | ./stack.sh:1055:start_glance
  2014-09-22 16:53:30.032 | /opt/stack/old/devstack/lib/glance:199:die
  2014-09-22 16:53:30.042 | [ERROR] /opt/stack/old/devstack/lib/glance:199 g-api did not start
  2014-09-22 16:53:30.046 | + exit_trap
  2014-09-22 16:53:30.046 | + local r=1

  screen-g-api ends thusly:

  2014-09-22 16:51:30.895 28864 INFO glance.api.middleware.cache [-] Initialized image cache middleware
  2014-09-22 16:51:30.896 28864 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
  2014-09-22 16:51:30.896 28864 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
  2014-09-22 16:51:30.896 28864 CRITICAL glance [-] 'StrOpt' object has no attribute 'type'
  g-api failed to start
  stack@devstack-precise-rax-iad-2340686:/opt/stack/old/glance$

  screen-g-reg has the same error:

  stack@devstack-precise-rax-iad-2340686:/opt/stack/old/devstack$ cd /opt/stack/ol 
  d/glance; /usr/local/bin/glance-registry --config-file=/etc/glance/glance-regist 
  ry.conf & echo $! >/opt/stack/status/stack/g-reg.pid; fg || echo "g-reg failed t 
  o start" | tee "/opt/stack/status/stack/g-reg.failure"
  [1] 28783
  /usr/local/bin/glance-registry --config-file=/etc/glance/glance-registry.conf
  2014-09-22 16:51:27.285 28783 DEBUG glance.common.config [-] Loading glance-registry-keystone from /etc/glance/glance-registry-paste.ini load_paste_app /opt/stack/old/glance/glance/common/config.py:223
  2014-09-22 16:51:27.547 28783 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True __init__ /usr/lib/python2.7/dist-packages/routes/middleware.py:41
  2014-09-22 16:51:27.547 28783 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
  2014-09-22 16:51:27.547 28783 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
  2014-09-22 16:51:27.548 28783 CRITICAL glance [-] 'StrOpt' object has no attribute 'type'
  g-reg failed to start
  stack@devstack-precise-rax-iad-2340686:/opt/stack/old/glance$

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1372645/+subscriptions


Follow ups

References