Cinder tries to start even if it wasn't requested - and fails

Bug #1469160 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Yuiko Takada

Bug Description

I'm debugging new gate failure: http://logs.openstack.org/31/174231/12/check/check-ironic-inspector-dsvm-nv/f365610/logs/devstacklog.txt.gz
and was able to reproduce it locally using

ENABLED_SERVICES=ceilometer-acentral,ceilometer-acompute,ceilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-anotification,ceilometer-api,ceilometer-collector,dstat,g-api,g-reg,horizon,ir-api,ir-cond,key,mysql,n-api,n-cond,n-cpu,n-crt,n-obj,n-sch,q-agt,q-dhcp,q-fwaas,q-l3,q-lbaas,q-meta,q-metering,q-svc,quantum,rabbit,s-account,s-container,s-object,s-proxy

The error is:

+ is_service_enabled cinder
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ return 0
+ echo_summary 'Starting Cinder'
+ [[ -t 3 ]]
+ [[ True != \T\r\u\e ]]
+ echo -e Starting Cinder
+ start_cinder
+ local service_port=8776
+ local service_protocol=http
+ is_service_enabled tls-proxy
2015-06-26 12:34:22.601 | Starting Cinder
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ return 1
+ '[' tgtadm = tgtadm ']'
+ is_service_enabled c-vol
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ return 1
+ run_process c-api '/usr/bin/cinder-api --config-file /etc/cinder/cinder.conf'
+ local service=c-api
+ local 'command=/usr/bin/cinder-api --config-file /etc/cinder/cinder.conf'
+ local group=
+ is_service_enabled c-api
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ return 1
+ echo 'Waiting for Cinder API to start...'
Waiting for Cinder API to start...
+ wait_for_service 60 http://10.34.37.43:8776
+ local timeout=60
+ local url=http://10.34.37.43:8776
+ timeout 60 sh -c 'while ! curl -g -k --noproxy '\''*'\'' -s http://10.34.37.43:8776 >/dev/null; do sleep 1; done'
+ die 455 'c-api did not start'

Revision history for this message
Dmitry Tantsur (divius) wrote :

LOL. The problem is due to https://github.com/openstack-dev/devstack/blob/master/functions-common#L1757 which also matches "ironic-inspector"....

Changed in devstack:
assignee: nobody → Dmitry Tantsur (divius)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Yuiko Takada (<email address hidden>) on branch: master
Review: https://review.openstack.org/196692

Changed in devstack:
assignee: Dmitry Tantsur (divius) → Yuiko Takada (takada-yuiko)
Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/196492
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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.