Hi, Ronivon Costa<br><br>If you use kvm(libvirt), you can logon the compute node. <br>use "virsh list --all" list all your no-running vm. For example, there is an instance name "instance-00000001", you cannot reboot using nova command because it attached block disk. You need do:<br>
1. virsh undefine instance-0000001<br>2. goto the instances dir(default /var/lib/nova/instances/instance-00000001), run "virsh define libvirt.xml"<br>3. then "virsh start instance-00000001", it can be started now/<br>
4. then you should update information about "instances" and "volumes" table in nova db. I think you already done it.<br>5. then you can "reboot" use nova-client or in dashboard.<br>6. then attach volume to the instance in nova-client or dashboard<br>
<br>I hope it can help you.<br><br>On Saturday, November 10, 2012, Ronivon Costa <<a href="mailto:ronivon.costa@gmail.com">ronivon.costa@gmail.com</a>> wrote:<br>> Hi there,<br>> I am dealing with this issue for a while, but could not figure out what is going on.<br>
> After a reboot in the openstack server, I am not able to restart ANY instance that had a nova-volume attached.<br>> I tried the DR procedure here without any improvement:<br>> <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/nova-disaster-recovery-process.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/nova-disaster-recovery-process.html</a><br>
> The error in compute.log is:<br>> ERROR nova.compute.manager [req-adacca25-ede8-4c6d-be92-9e8bd8578469 cb302c58bb4245cebc61e132c79c1111 768bd68a0ac149eb8e300665eb3d3950] [instance: 3cd109e4-addf-4aa8-bf66-b69df6573cea] Cannot reboot instance: iSCSI device not found at /dev/disk/by-path/ip-10.100.200.120:3260-iscsi-iqn.2010-10.org.openstack:volume-20db45cc-c97f-4589-9c9f-ed283b0bc16e-lun-1<br>
> This is a very restrictive issue, because I can not simply attach volumes to instances knowing that in a power failure or reboot for maintenance I will have my instances unavailable.<br>> Below there is some info about my setup.<br>
> Any idea? Anything!<br>> :)<br>> Linux nova-controller 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux<br>> rpm -qa |grep openstack<br>> openstack-nova-api-2012.2-2.el6.noarch<br>
> openstack-dashboard-2012.2-3.el6.noarch<br>> openstack-utils-2012.2-5.el6.noarch<br>> openstack-nova-volume-2012.2-2.el6.noarch<br>> openstack-nova-novncproxy-0.4-2.el6.noarch<br>> openstack-nova-common-2012.2-2.el6.noarch<br>
> openstack-nova-console-2012.2-2.el6.noarch<br>> openstack-nova-network-2012.2-2.el6.noarch<br>> openstack-nova-compute-2012.2-2.el6.noarch<br>> openstack-nova-cert-2012.2-2.el6.noarch<br>> openstack-nova-2012.2-2.el6.noarch<br>
> openstack-glance-2012.2-2.el6.noarch<br>> python-django-openstack-auth-1.0.2-3.el6.noarch<br>> openstack-nova-objectstore-2012.2-2.el6.noarch<br>> openstack-nova-scheduler-2012.2-2.el6.noarch<br>> openstack-keystone-2012.2-1.el6.noarch<br>
><br>> --<br>> --<br>> Ronivon C. Costa<br>> IBM Certified for Tivoli Software<br>> ITIL V3 Certified<br>> Tlm: (+351) 96 676 4458<br>> Skype: ronivon.costa<br>> BLog ((hosted in my own personal cloud infrastructure):<br>
> <a href="http://cloud0.dyndns-web.com/blog/">http://cloud0.dyndns-web.com/blog/</a><br>><br>><br><br>-- <br><div>Blog Site: <a href="http://livemoon.org" target="_blank">livemoon.org</a></div><div>Twitter: mwjpiero</div>
<div>非淡薄无以明志,非宁静无以致远</div><br>