<div dir="ltr">Hi Sean, <div><br></div><div>All the failures I have seen are on Ubuntu 13.10. They are not always 100%. Very intermittent. This failure occurs once after every 10-20 runs....that is why I have not been able to nail it down :-):-)</div>
<div>Every time the error occurs - if reboot the VM it clears up and is good for another 10-20 runs.....weird, isn't? </div><div><br></div><div>-Sukhdev</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Mar 10, 2014 at 10:48 AM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What base OS? A change was made there recently to better handle debian<br>
because we believed (possibly incorrectly) that precise actually had<br>
working init scripts.<br>
<br>
It would be interesting to understand if this was a 100% failure, or<br>
only intermittent, and what base OS it was on.<br>
<br>
-Sean<br>
<div class="HOEnZb"><div class="h5"><br>
On 03/10/2014 11:37 AM, Dane Leblanc (leblancd) wrote:<br>
> I don't know if anyone can give me some troubleshooting advice with this issue.<br>
><br>
> I'm seeing an occasional problem whereby after several DevStack <a href="http://unstack.sh/stack.sh" target="_blank">unstack.sh/stack.sh</a> cycles, the tgt daemon (tgtd) fails to start during Cinder startup. Here's a snippet from the stack.sh log:<br>
><br>
> 2014-03-10 07:09:45.214 | Starting Cinder<br>
> 2014-03-10 07:09:45.215 | + return 0<br>
> 2014-03-10 07:09:45.216 | + sudo rm -f /etc/tgt/conf.d/stack.conf<br>
> 2014-03-10 07:09:45.217 | + _configure_tgt_for_config_d<br>
> 2014-03-10 07:09:45.218 | + [[ ! -d /etc/tgt/stack.d/ ]]<br>
> 2014-03-10 07:09:45.219 | + is_ubuntu<br>
> 2014-03-10 07:09:45.220 | + [[ -z deb ]]<br>
> 2014-03-10 07:09:45.221 | + '[' deb = deb ']'<br>
> 2014-03-10 07:09:45.222 | + sudo service tgt restart<br>
> 2014-03-10 07:09:45.223 | stop: Unknown instance:<br>
> 2014-03-10 07:09:45.619 | start: Job failed to start<br>
> jenkins@neutronpluginsci:~/devstack$ 2014-03-10 07:09:45.621 | + exit_trap<br>
> 2014-03-10 07:09:45.622 | + local r=1<br>
> 2014-03-10 07:09:45.623 | ++ jobs -p<br>
> 2014-03-10 07:09:45.624 | + jobs=<br>
> 2014-03-10 07:09:45.625 | + [[ -n '' ]]<br>
> 2014-03-10 07:09:45.626 | + exit 1<br>
><br>
> If I try to restart tgt manually without success:<br>
><br>
> jenkins@neutronpluginsci:~$ sudo service tgt restart<br>
> stop: Unknown instance:<br>
> start: Job failed to start<br>
> jenkins@neutronpluginsci:~$ sudo tgtd<br>
> librdmacm: couldn't read ABI version.<br>
> librdmacm: assuming: 4<br>
> CMA: unable to get RDMA device list<br>
> (null): iser_ib_init(3263) Failed to initialize RDMA; load kernel modules?<br>
> (null): fcoe_init(214) (null)<br>
> (null): fcoe_create_interface(171) no interface specified.<br>
> jenkins@neutronpluginsci:~$<br>
><br>
> The config in /etc/tgt is:<br>
><br>
> jenkins@neutronpluginsci:/etc/tgt$ ls -l<br>
> total 8<br>
> drwxr-xr-x 2 root root 4096 Mar 10 07:03 conf.d<br>
> lrwxrwxrwx 1 root root 30 Mar 10 06:50 stack.d -> /opt/stack/data/cinder/volumes<br>
> -rw-r--r-- 1 root root 58 Mar 10 07:07 targets.conf<br>
> jenkins@neutronpluginsci:/etc/tgt$ cat targets.conf<br>
> include /etc/tgt/conf.d/*.conf<br>
> include /etc/tgt/stack.d/*<br>
> jenkins@neutronpluginsci:/etc/tgt$ ls conf.d<br>
> jenkins@neutronpluginsci:/etc/tgt$ ls /opt/stack/data/cinder/volumes<br>
> jenkins@neutronpluginsci:/etc/tgt$<br>
><br>
> I don't know if there's any missing Cinder config in my DevStack localrc files. Here's one that I'm using:<br>
><br>
> MYSQL_PASSWORD=nova<br>
> RABBIT_PASSWORD=nova<br>
> SERVICE_TOKEN=nova<br>
> SERVICE_PASSWORD=nova<br>
> ADMIN_PASSWORD=nova<br>
> ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit<br>
> enable_service mysql<br>
> disable_service n-net<br>
> enable_service q-svc<br>
> enable_service q-agt<br>
> enable_service q-l3<br>
> enable_service q-dhcp<br>
> enable_service q-meta<br>
> enable_service q-lbaas<br>
> enable_service neutron<br>
> enable_service tempest<br>
> VOLUME_BACKING_FILE_SIZE=2052M<br>
> Q_PLUGIN=cisco<br>
> declare -a Q_CISCO_PLUGIN_SUBPLUGINS=(openvswitch nexus)<br>
> declare -A Q_CISCO_PLUGIN_SWITCH_INFO=([10.0.100.243]=admin:Cisco12345:22:neutronpluginsci:1/9)<br>
> NCCLIENT_REPO=git://<a href="http://github.com/CiscoSystems/ncclient.git" target="_blank">github.com/CiscoSystems/ncclient.git</a><br>
> PHYSICAL_NETWORK=physnet1<br>
> OVS_PHYSICAL_BRIDGE=br-eth1<br>
> TENANT_VLAN_RANGE=810:819<br>
> ENABLE_TENANT_VLANS=True<br>
> API_RATE_LIMIT=False<br>
> VERBOSE=True<br>
> DEBUG=True<br>
> LOGFILE=/opt/stack/logs/stack.sh.log<br>
> USE_SCREEN=True<br>
> SCREEN_LOGDIR=/opt/stack/logs<br>
><br>
> Here are links to a log showing another localrc file that I use, and the corresponding stack.sh log:<br>
><br>
> <a href="http://128.107.233.28:8080/job/neutron/1390/artifact/vpnaas_console_log.txt" target="_blank">http://128.107.233.28:8080/job/neutron/1390/artifact/vpnaas_console_log.txt</a><br>
> <a href="http://128.107.233.28:8080/job/neutron/1390/artifact/vpnaas_stack_sh_log.txt" target="_blank">http://128.107.233.28:8080/job/neutron/1390/artifact/vpnaas_stack_sh_log.txt</a><br>
><br>
> Does anyone have any advice on how to debug this, or recover from this (beyond rebooting the node)? Or am I missing any Cinder config?<br>
><br>
> Thanks in advance for any help on this!!!<br>
> Dane<br>
><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-Infra mailing list<br>
> <a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Sean Dague<br>
Samsung Research America<br>
<a href="mailto:sean@dague.net">sean@dague.net</a> / <a href="mailto:sean.dague@samsung.com">sean.dague@samsung.com</a><br>
<a href="http://dague.net" target="_blank">http://dague.net</a><br>
<br>
</font></span><br>_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
<br></blockquote></div><br></div>