hey Vivek,<br><br> If you create a network , without specifying tenant-id , then i would be treated as public subnet and a nic would be provisioned from that subnet to/from every tenant you create a vm.<br> <br><br><div class="gmail_quote">
On Wed, Sep 12, 2012 at 10:36 PM, <span dir="ltr"><<a href="mailto:openstack-operators-request@lists.openstack.org" target="_blank">openstack-operators-request@lists.openstack.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send OpenStack-operators mailing list submissions to<br>
<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:openstack-operators-request@lists.openstack.org">openstack-operators-request@lists.openstack.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:openstack-operators-owner@lists.openstack.org">openstack-operators-owner@lists.openstack.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of OpenStack-operators digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Instances getting both ip tenant and public<br>
(Vivek Singh Raghuwanshi)<br>
2. Re: Problem starting instance (Salman Toor)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 12 Sep 2012 20:52:36 +0530<br>
From: Vivek Singh Raghuwanshi <<a href="mailto:vivekraghuwanshi@gmail.com">vivekraghuwanshi@gmail.com</a>><br>
To: <a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a><br>
Subject: Re: [Openstack-operators] Instances getting both ip tenant<br>
and public<br>
Message-ID:<br>
<<a href="mailto:CAP68xYk8h-GwF8T5644kPD%2BoHzQEaxPcNBAVBYG7zP7zXZVpEg@mail.gmail.com">CAP68xYk8h-GwF8T5644kPD+oHzQEaxPcNBAVBYG7zP7zXZVpEg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Just an update i am able to tenant net when launching the instant via<br>
command , but not via dashboard.<br>
<br>
<br>
<br>
On Wed, Sep 12, 2012 at 5:14 PM, Vivek Singh Raghuwanshi <<br>
<a href="mailto:vivekraghuwanshi@gmail.com">vivekraghuwanshi@gmail.com</a>> wrote:<br>
<br>
> Hi All,<br>
><br>
> I am configuring Openstack cloud (essex+quantum+openvswitch)<br>
> its running fine but instances fired by a tanant also getting ip of public<br>
> subnet<br>
><br>
> root@US1:~# nova list<br>
><br>
> +--------------------------------------+-------+--------+-------------------------------------------------------------------+<br>
> | ID | Name | Status<br>
> | Networks |<br>
><br>
> +--------------------------------------+-------+--------+-------------------------------------------------------------------+<br>
> | c97b4c14-470e-4d93-b569-39801b66f166 | vivek | ACTIVE |<br>
> testing=192.168.3.2, 192.168.4.2; public=192.168.0.3, 192.168.1.3 |<br>
><br>
> root@US000901:~# nova list<br>
><br>
> +--------------------------------------+-------+--------+---------------------------------+<br>
> | ID | Name | Status |<br>
> Networks |<br>
><br>
> +--------------------------------------+-------+--------+---------------------------------+<br>
> | 116b4a22-c0ae-4bef-ab90-a9bfed32b689 | admin | ACTIVE |<br>
> public=192.168.0.2, 192.168.1.2 |<br>
><br>
> +--------------------------------------+-------+--------+---------------------------------+<br>
><br>
><br>
><br>
> root@US1:~# nova-manage network list<br>
> id IPv4 IPv6 start address<br>
> DNS1 DNS2 VlanID project<br>
> uuid<br>
> 1 <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a> None 192.168.0.2<br>
> 8.8.4.4 None None None<br>
> 6330778a-8907-44ad-a8dc-27480629f5de<br>
> 2 <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a> None 192.168.1.2<br>
> 8.8.4.4 None None None<br>
> dde9cf50-1220-4112-a20d-6cbb2b614467<br>
> 3 <a href="http://192.168.3.0/24" target="_blank">192.168.3.0/24</a> None 192.168.3.2<br>
> 8.8.4.4 None None<br>
> d163c974fda246ac9f069220a6a73f59 5d34de04-8474-4191-9628-97c8ad07599f<br>
> 4 <a href="http://192.168.4.0/24" target="_blank">192.168.4.0/24</a> None 192.168.4.2<br>
> 8.8.4.4 None None<br>
> d163c974fda246ac9f069220a6a73f59 aa8ce537-eac2-4eea-ab47-16f5196030b1<br>
><br>
><br>
> nova.conf<br>
> -logdir=/var/log/nova<br>
> --state_path=/data/lib/nova<br>
> --lock_path=/var/lock/nova<br>
> --allow_admin_api=true<br>
> --use_deprecated_auth=false<br>
> --auth_strategy=keystone<br>
> --scheduler_driver=nova.scheduler.simple.SimpleScheduler<br>
> --linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver<br>
> --s3_host=10.83.18.208<br>
> --ec2_host=10.83.18.208<br>
> --rabbit_host=10.83.18.208<br>
> --cc_host=10.83.18.208<br>
> --nova_url=<a href="http://10.83.18.208:8774/v1.1/" target="_blank">http://10.83.18.208:8774/v1.1/</a><br>
> --routing_source_ip=10.83.18.208<br>
> --glance_api_servers=<a href="http://10.83.18.208:9292" target="_blank">10.83.18.208:9292</a><br>
> --image_service=nova.image.glance.GlanceImageService<br>
> --iscsi_ip_prefix=192.168.0.0<br>
> --sql_connection=mysql://<a href="http://novadbadmin:novasecret@10.83.18.208/nova" target="_blank">novadbadmin:novasecret@10.83.18.208/nova</a><br>
> --ec2_url=<a href="http://10.83.18.208:8773/services/Cloud" target="_blank">http://10.83.18.208:8773/services/Cloud</a><br>
> --keystone_ec2_url=<a href="http://10.83.18.208:5000/v2.0/ec2tokens" target="_blank">http://10.83.18.208:5000/v2.0/ec2tokens</a><br>
> --api_paste_config=/etc/nova/api-paste.ini<br>
> --libvirt_type=kvm<br>
> --libvirt_use_virtio_for_bridges=true<br>
> --start_guests_on_host_boot=true<br>
> --my_ip=10.83.18.208<br>
> --resume_guests_state_on_host_boot=true<br>
> --network_manager=nova.network.quantum.manager.QuantumManager<br>
> --linuxnet_ovs_integration_bridge=br-int<br>
> --libvirt_ovs_bridge=br-int<br>
> --libvirt_vif_type=ethernet<br>
> --libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver<br>
> --public_interface=eth0<br>
> --fixed_range=<a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a><br>
> --floating_range=<a href="http://10.83.18.128/25" target="_blank">10.83.18.128/25</a><br>
> --quantum_connection_host=10.83.18.208<br>
> --flat_injected=False<br>
> --force_dhcp_release<br>
> --quantum_use_dhcp=True<br>
> --iscsi_helper=tgtadm<br>
> --connection_type=libvirt<br>
> --dhcpbridge_flagfile=/etc/nova/nova.conf<br>
> --dhcpbridge=/usr/bin/nova-dhcpbridge<br>
> --root_helper=sudo nova-rootwrap<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> ViVek Raghuwanshi<br>
> Mobile -<a href="tel:%2B91-09595950504" value="+919595950504">+91-09595950504</a><br>
><br>
> Skype - vivek_raghuwanshi<br>
><br>
><br>
><br>
<br>
<br>
--<br>
ViVek Raghuwanshi<br>
Mobile -<a href="tel:%2B91-09595950504" value="+919595950504">+91-09595950504</a><br>
<br>
Skype - vivek_raghuwanshi<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack-operators/attachments/20120912/2156358d/attachment-0001.html" target="_blank">http://lists.openstack.org/pipermail/openstack-operators/attachments/20120912/2156358d/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 12 Sep 2012 19:05:57 +0200<br>
From: Salman Toor <<a href="mailto:salman.toor@it.uu.se">salman.toor@it.uu.se</a>><br>
To: <a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a><br>
Subject: Re: [Openstack-operators] Problem starting instance<br>
Message-ID: <<a href="mailto:20120912190557.16874kk593bco6wl@webmail.uu.se">20120912190557.16874kk593bco6wl@webmail.uu.se</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";<br>
format="flowed"<br>
<br>
Hi again,<br>
<br>
Here is with the debug flag ....<br>
<br>
something fails ...<br>
---------------------------------<br>
connect: (localhost, 8774)<br>
connect fail: (u'localhost', 8774)<br>
----------------------------------<br>
<br>
Any help will be highly appriciated.<br>
<br>
Complete output.<br>
<br>
---------------<br>
<br>
-bash-4.1$ nova --debug boot --flavor 1 --image<br>
53cde44f-94e8-4210-9c65-4dcdd5a3edc9 --key_name mykey --security_group<br>
default si<br>
connect: (188.184.20.197, 5000)<br>
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost:<br>
<a href="http://188.184.20.197:5000" target="_blank">188.184.20.197:5000</a>\r\nContent-Length: 116\r\ncontent-type:<br>
application/json\r\naccept-encoding: gzip, deflate\r\naccept:<br>
application/json\r\nuser-agent: python-novaclient\r\n\r\n'<br>
send: '{"auth": {"tenantName": "openstackDema", "passwordCredentials":<br>
{"username": "adminUser", "password": "adminUser"}}}'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: Content-Type: application/json<br>
header: Vary: X-Auth-Token<br>
header: Content-Length: 2577<br>
header: Date: Wed, 12 Sep 2012 16:59:33 GMT<br>
connect: (localhost, 8774)<br>
connect fail: (u'localhost', 8774)<br>
connect: (localhost, 8774)<br>
send: u'GET /v1.1/780651371d8c4ca790dad684aa288ef9/flavors/1<br>
HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id:<br>
openstackDema\r\nx-auth-token:<br>
e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip,<br>
deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-dc812b64-9e2c-435c-bda8-6d5f7004e561<br>
header: Content-Type: application/json<br>
header: Content-Length: 347<br>
header: Date: Wed, 12 Sep 2012 16:59:33 GMT<br>
send: u'GET<br>
/v1.1/780651371d8c4ca790dad684aa288ef9/images/53cde44f-94e8-4210-9c65-4dcdd5a3edc9 HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: openstackDema\r\nx-auth-token: e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-87acf879-380d-4e37-a4b7-811d0a2dccba<br>
header: Content-Type: application/json<br>
header: Content-Length: 692<br>
header: Date: Wed, 12 Sep 2012 16:59:34 GMT<br>
send: u'GET<br>
/v1.1/780651371d8c4ca790dad684aa288ef9/images/53cde44f-94e8-4210-9c65-4dcdd5a3edc9 HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: openstackDema\r\nx-auth-token: e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-2a1fb112-9e41-4b99-a73b-5dfbb774b11c<br>
header: Content-Type: application/json<br>
header: Content-Length: 692<br>
header: Date: Wed, 12 Sep 2012 16:59:34 GMT<br>
send: u'GET /v1.1/780651371d8c4ca790dad684aa288ef9/flavors/1<br>
HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id:<br>
openstackDema\r\nx-auth-token:<br>
e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip,<br>
deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-ae77ef0c-ac26-4d31-9561-65b898cd0f3d<br>
header: Content-Type: application/json<br>
header: Content-Length: 347<br>
header: Date: Wed, 12 Sep 2012 16:59:34 GMT<br>
send: u'POST /v1.1/780651371d8c4ca790dad684aa288ef9/servers<br>
HTTP/1.1\r\nHost: localhost:8774\r\nContent-Length:<br>
191\r\nx-auth-project-id: openstackDema\r\naccept-encoding: gzip,<br>
deflate\r\naccept: application/json\r\nx-auth-token:<br>
e2cbf30f6daa4c4da292e008c403e295\r\nuser-agent:<br>
python-novaclient\r\ncontent-type: application/json\r\n\r\n'<br>
send: '{"server": {"name": "si", "imageRef":<br>
"53cde44f-94e8-4210-9c65-4dcdd5a3edc9", "key_name": "mykey",<br>
"flavorRef": "1", "max_count": 1, "min_count": 1, "security_groups":<br>
[{"name": "default"}]}}'<br>
reply: 'HTTP/1.1 202 Accepted\r\n'<br>
header: X-Compute-Request-Id: req-656d6da3-ea32-4095-b6d1-8230cec3d52e<br>
header: Location:<br>
<a href="http://localhost:8774/v1.1/780651371d8c4ca790dad684aa288ef9/servers/0e9c58be-c1ea-492f-9626-97792d29e251" target="_blank">http://localhost:8774/v1.1/780651371d8c4ca790dad684aa288ef9/servers/0e9c58be-c1ea-492f-9626-97792d29e251</a><br>
header: Content-Type: application/json<br>
header: Content-Length: 394<br>
header: Date: Wed, 12 Sep 2012 16:59:35 GMT<br>
send: u'GET<br>
/v1.1/780651371d8c4ca790dad684aa288ef9/servers/0e9c58be-c1ea-492f-9626-97792d29e251 HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: openstackDema\r\nx-auth-token: e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-608b718e-9f84-4bd9-b080-455510975c29<br>
header: Content-Type: application/json<br>
header: Content-Length: 1247<br>
header: Date: Wed, 12 Sep 2012 16:59:35 GMT<br>
send: u'GET /v1.1/780651371d8c4ca790dad684aa288ef9/flavors/1<br>
HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id:<br>
openstackDema\r\nx-auth-token:<br>
e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip,<br>
deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-f2851a32-37e2-47ed-bc04-9baa39b1fc7f<br>
header: Content-Type: application/json<br>
header: Content-Length: 347<br>
header: Date: Wed, 12 Sep 2012 16:59:35 GMT<br>
send: u'GET<br>
/v1.1/780651371d8c4ca790dad684aa288ef9/images/53cde44f-94e8-4210-9c65-4dcdd5a3edc9 HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: openstackDema\r\nx-auth-token: e2cbf30f6daa4c4da292e008c403e295\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent:<br>
python-novaclient\r\n\r\n'<br>
reply: 'HTTP/1.1 200 OK\r\n'<br>
header: X-Compute-Request-Id: req-597b51c6-1018-4b13-9410-6d734449b309<br>
header: Content-Type: application/json<br>
header: Content-Length: 692<br>
header: Date: Wed, 12 Sep 2012 16:59:35 GMT<br>
+-------------------------------------+--------------------------------------+<br>
| Property | Value |<br>
+-------------------------------------+--------------------------------------+<br>
| OS-DCF:diskConfig | MANUAL |<br>
| OS-EXT-SRV-ATTR:host | None |<br>
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |<br>
| OS-EXT-SRV-ATTR:instance_name | instance-00000007 |<br>
| OS-EXT-STS:power_state | 0 |<br>
| OS-EXT-STS:task_state | scheduling |<br>
| OS-EXT-STS:vm_state | error |<br>
| accessIPv4 | |<br>
| accessIPv6 | |<br>
| adminPass | zWJKmT6eo4Lz |<br>
| config_drive | |<br>
| created | 2012-09-12T16:59:34Z |<br>
| flavor | m1.tiny |<br>
| hostId | |<br>
| id | 0e9c58be-c1ea-492f-9626-97792d29e251 |<br>
| image | cirros-0.3.0-x86_64 |<br>
| key_name | mykey |<br>
| metadata | {} |<br>
| name | si |<br>
| status | ERROR |<br>
| tenant_id | 780651371d8c4ca790dad684aa288ef9 |<br>
| updated | 2012-09-12T16:59:35Z |<br>
| user_id | 2efa015647d948239d143286f565c5a8 |<br>
+-------------------------------------+--------------------------------------+<br>
<br>
<br>
Regards..<br>
Salman.<br>
<br>
<br>
<br>
<br>
Quoting Salman Toor <<a href="mailto:salman.toor@it.uu.se">salman.toor@it.uu.se</a>>:<br>
<br>
> Hi again,<br>
><br>
> Sorry forget to show the output of "nova show"<br>
><br>
> -bash-4.1$ nova show ci<br>
> +-------------------------------------+--------------------------------------+<br>
> | Property | Value<br>
> |<br>
> +-------------------------------------+--------------------------------------+<br>
> | OS-DCF:diskConfig | MANUAL<br>
> |<br>
> | OS-EXT-SRV-ATTR:host | None<br>
> |<br>
> | OS-EXT-SRV-ATTR:hypervisor_hostname | None<br>
> |<br>
> | OS-EXT-SRV-ATTR:instance_name | instance-00000005<br>
> |<br>
> | OS-EXT-STS:power_state | 0<br>
> |<br>
> | OS-EXT-STS:task_state | scheduling<br>
> |<br>
> | OS-EXT-STS:vm_state | error<br>
> |<br>
> | accessIPv4 |<br>
> |<br>
> | accessIPv6 |<br>
> |<br>
> | config_drive |<br>
> |<br>
> | created | 2012-09-12T09:07:51Z<br>
> |<br>
> | flavor | m1.tiny<br>
> |<br>
> | hostId |<br>
> |<br>
> | id |<br>
> 0adb9df7-06b0-42ce-aa60-0fe0a78c4739 |<br>
> | image | cirros-0.3.0-x86_64<br>
> |<br>
> | key_name | mykey<br>
> |<br>
> | metadata | {}<br>
> |<br>
> | name | ci<br>
> |<br>
> | status | ERROR<br>
> |<br>
> | tenant_id |<br>
> 780651371d8c4ca790dad684aa288ef9 |<br>
> | updated | 2012-09-12T09:07:51Z<br>
> |<br>
> | user_id |<br>
> 2efa015647d948239d143286f565c5a8 |<br>
> +-------------------------------------+--------------------------------------+<br>
> -bash-4.1$ nova show cirros<br>
> +-------------------------------------+---------------------------------------------------------------------------------+<br>
> | Property |<br>
> Value |<br>
> +-------------------------------------+---------------------------------------------------------------------------------+<br>
> | OS-DCF:diskConfig | MANUAL<br>
> |<br>
> | OS-EXT-SRV-ATTR:host | openstack-1<br>
> |<br>
> | OS-EXT-SRV-ATTR:hypervisor_hostname | None<br>
> |<br>
> | OS-EXT-SRV-ATTR:instance_name | instance-00000002<br>
> |<br>
> | OS-EXT-STS:power_state | 0<br>
> |<br>
> | OS-EXT-STS:task_state | deleting<br>
> |<br>
> | OS-EXT-STS:vm_state | error<br>
> |<br>
> | accessIPv4 |<br>
> |<br>
> | accessIPv6 |<br>
> |<br>
> | config_drive |<br>
> |<br>
> | created | 2012-09-12T08:15:11Z<br>
> |<br>
> | fault | {u'message': u'RemoteError',<br>
> u'code': 500, u'created': u'2012-09-12T08:30:09Z'} |<br>
> | flavor | m1.tiny<br>
> |<br>
> | hostId |<br>
> 441d32ceb69d1013c4e13de86a9dd1717ab0b21787c66b35513fe92a<br>
> |<br>
> | id |<br>
> 5b83ac61-60ed-4eea-9b25-0215e5297996<br>
> |<br>
> | image | cirros-0.3.0-x86_64<br>
> |<br>
> | key_name | mykey<br>
> |<br>
> | metadata | {}<br>
> |<br>
> | name | cirros<br>
> |<br>
> | private network | 192.168.100.2<br>
> |<br>
> | status | ERROR<br>
> |<br>
> | tenant_id |<br>
> 780651371d8c4ca790dad684aa288ef9<br>
> |<br>
> | updated | 2012-09-12T08:18:41Z<br>
> |<br>
> | user_id |<br>
> 2efa015647d948239d143286f565c5a8<br>
> |<br>
> +-------------------------------------+---------------------------------------------------------------------------------+<br>
><br>
> I hope all these information will be helpful to identify the problem.<br>
><br>
> Regards..<br>
> Salman<br>
><br>
><br>
> Quoting Salman Toor <<a href="mailto:salman.toor@it.uu.se">salman.toor@it.uu.se</a>>:<br>
><br>
>> Hi,<br>
>><br>
>> I am following the Essex deployment guide and everything works fine<br>
>> till "Registering VM Images". But now I am struck when running a<br>
>> new instance..<br>
>><br>
>> Following are the status of my machine.<br>
>><br>
>> -bash-4.1$ sudo nova-manage service list<br>
>><br>
>> 2012-09-12 11:38:31 DEBUG nova.utils<br>
>> [req-0c734cd1-f54c-42a6-a505-09fc2e8b9f67 None None] backend<br>
>> <module 'nova.db.sqlalchemy.api' from<br>
>> '/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.pyc'> from<br>
>> (pid=25008) __get_backend<br>
>> /usr/lib/python2.6/site-packages/nova/utils.py:659<br>
>> 2012-09-12 11:38:31 WARNING nova.utils<br>
>> [req-0c734cd1-f54c-42a6-a505-09fc2e8b9f67 None None]<br>
>> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:639: SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) is deprecated. Use<br>
>> event.listen().<br>
>> Pool.__init__(self, creator, **kw)<br>
>><br>
>> 2012-09-12 11:38:31 WARNING nova.utils<br>
>> [req-0c734cd1-f54c-42a6-a505-09fc2e8b9f67 None None]<br>
>> /usr/lib64/python2.6/site-packages/SQLAlchemy-0.7.3-py2.6-linux-x86_64.egg/sqlalchemy/pool.py:145: SADeprecationWarning: Pool.add_listener is deprecated. Use<br>
>> event.listen()<br>
>> self.add_listener(l)<br>
>><br>
>> Binary Host Zone<br>
>> Status State Updated_At<br>
>> nova-compute openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:25<br>
>> nova-scheduler openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:27<br>
>> nova-network openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:23<br>
>> nova-cert openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:24<br>
>> nova-consoleauth openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:23<br>
>> nova-volume openstack-1 nova<br>
>> enabled :-) 2012-09-12 09:38:30<br>
>><br>
>> All the services are running.<br>
>><br>
>> -bash-4.1$ nova image-list<br>
>> +--------------------------------------+---------------------+--------+--------+<br>
>> | ID | Name |<br>
>> Status | Server |<br>
>> +--------------------------------------+---------------------+--------+--------+<br>
>> | 29e40d96-a53b-4493-820f-3049c75fec8f | tty-linux |<br>
>> ACTIVE | |<br>
>> | 53cde44f-94e8-4210-9c65-4dcdd5a3edc9 | cirros-0.3.0-x86_64 |<br>
>> ACTIVE | |<br>
>> | 929c9027-73ec-40d2-8ac4-6431f07c18a8 | tty-linux-ramdisk |<br>
>> ACTIVE | |<br>
>> | e909ca49-32b8-4f18-a1ab-840e0e9f04b8 | tty-linux-kernel |<br>
>> ACTIVE | |<br>
>> +--------------------------------------+---------------------+--------+--------+<br>
>><br>
>> -bash-4.1$ nova flavor-list<br>
>> +----+-----------+-----------+------+-----------+------+-------+-------------+<br>
>> | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs |<br>
>> RXTX_Factor |<br>
>> +----+-----------+-----------+------+-----------+------+-------+-------------+<br>
>> | 1 | m1.tiny | 512 | 0 | 0 | | 1 |<br>
>> 1.0 |<br>
>> | 2 | m1.small | 2048 | 10 | 20 | | 1 |<br>
>> 1.0 |<br>
>> | 3 | m1.medium | 4096 | 10 | 40 | | 2 |<br>
>> 1.0 |<br>
>> | 4 | m1.large | 8192 | 10 | 80 | | 4 |<br>
>> 1.0 |<br>
>> | 5 | m1.xlarge | 16384 | 10 | 160 | | 8 |<br>
>> 1.0 |<br>
>> +----+-----------+-----------+------+-----------+------+-------+-------------+<br>
>><br>
>> But when I try to boot it gives following message<br>
>><br>
>> -bash-4.1$ nova boot --flavor 2 --image<br>
>> 53cde44f-94e8-4210-9c65-4dcdd5a3edc9 --key_name mykey<br>
>> --security_group default ci<br>
>> +-------------------------------------+--------------------------------------+<br>
>> | Property | Value<br>
>> |<br>
>> +-------------------------------------+--------------------------------------+<br>
>> | OS-DCF:diskConfig | MANUAL<br>
>> |<br>
>> | OS-EXT-SRV-ATTR:host | None<br>
>> |<br>
>> | OS-EXT-SRV-ATTR:hypervisor_hostname | None<br>
>> |<br>
>> | OS-EXT-SRV-ATTR:instance_name | instance-00000004<br>
>> |<br>
>> | OS-EXT-STS:power_state | 0<br>
>> |<br>
>> | OS-EXT-STS:task_state | scheduling<br>
>> |<br>
>> | OS-EXT-STS:vm_state | error<br>
>> |<br>
>> | accessIPv4 |<br>
>> |<br>
>> | accessIPv6 |<br>
>> |<br>
>> | adminPass | 27kGe7vA6R9Q<br>
>> |<br>
>> | config_drive |<br>
>> |<br>
>> | created | 2012-09-12T08:47:54Z<br>
>> |<br>
>> | flavor | m1.small<br>
>> |<br>
>> | hostId |<br>
>> |<br>
>> | id |<br>
>> 4597a583-9510-439b-b675-9f6d933e07f5 |<br>
>> | image | cirros-0.3.0-x86_64<br>
>> |<br>
>> | key_name | mykey<br>
>> |<br>
>> | metadata | {}<br>
>> |<br>
>> | name | ci<br>
>> |<br>
>> | progress | 0<br>
>> |<br>
>> | status | BUILD<br>
>> |<br>
>> | tenant_id |<br>
>> 780651371d8c4ca790dad684aa288ef9 |<br>
>> | updated | 2012-09-12T08:47:54Z<br>
>> |<br>
>> | user_id |<br>
>> 2efa015647d948239d143286f565c5a8 |<br>
>> +-------------------------------------+--------------------------------------+<br>
>><br>
>> -bash-4.1$ nova list<br>
>> +--------------------------------------+--------+--------+-----------------------+<br>
>> | ID | Name | Status |<br>
>> Networks |<br>
>> +--------------------------------------+--------+--------+-----------------------+<br>
>> | 0adb9df7-06b0-42ce-aa60-0fe0a78c4739 | ci | ERROR |<br>
>> |<br>
>> | 5b83ac61-60ed-4eea-9b25-0215e5297996 | cirros | ERROR |<br>
>> private=192.168.100.2 |<br>
>> +--------------------------------------+--------+--------+-----------------------+<br>
>><br>
>><br>
>> So no network for "ci". Previously I have tried "cirros" with the<br>
>> same options it gets the network but did work.<br>
>><br>
>> Also I can delete ci but somwhow cirros is struck. I cannot delete it.<br>
>><br>
>> -bash-4.1$ nova console-log ci<br>
>> ERROR: The server has either erred or is incapable of performing<br>
>> the requested operation. (HTTP 500)<br>
>> -bash-4.1$ nova console-log cirros<br>
>> ERROR: The resource could not be found. (HTTP 404)<br>
>><br>
>><br>
>> -bash-4.1$ sudo less /var/log/nova/network.log | grep error<br>
>><br>
>> 2012-09-12 10:15:14 ERROR nova.rpc.amqp<br>
>> [req-7e47db6b-2bb4-4013-adfc-103c1b749af6<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> Returning exception Unexpected error while running command.<br>
>> 2012-09-12 10:15:14 ERROR nova.rpc.amqp<br>
>> [req-7e47db6b-2bb4-4013-adfc-103c1b749af6<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> ['Traceback (most recent call last):\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in<br>
>> _process_data\n rval = node_func(context=ctxt, **node_args)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 320, in allocate_for_instance\n **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 906, in allocate_for_instance\n<br>
>> requested_networks=requested_networks)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 213, in _allocate_fixed_ips\n vpn=vpn, address=address)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 1197, in allocate_fixed_ip\n<br>
>> self._setup_network_on_host(context, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1714, in _setup_network_on_host\n<br>
>> self.driver.update_dhcp(context, dev, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 644, in update_dhcp\n restart_dhcp(context, dev,<br>
>> network_ref)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in<br>
>> inner\n retval = f(*args, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 721, in restart_dhcp\n _execute(*cmd, run_as_root=True)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py",<br>
>> line 813, in _execute\n return utils.execute(*cmd, **kwargs)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243,<br>
>> in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError:<br>
>> Unexpected error while running command.\nCommand: sudo<br>
>> FLAGFILE=/etc/nova/nova.conf NETWORK_ID=1 dnsmasq --strict-order<br>
>> --bind-interfaces --conf-file= --domain=novalocal<br>
>> --pid-file=/var/lib/nova/networks/nova-br100.pid<br>
>> --listen-address=192.168.100.3 --except-interface=lo<br>
>> --dhcp-range=192.168.100.2,static,120s --dhcp-lease-max=256<br>
>> --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf<br>
>> --dhcp-script=/usr/lib/python2.6/site-packages/bin/nova-dhcpbridge<br>
>> --leasefile-ro\nExit code: 3\nStdout: ''\nStderr: 'sh:<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n\\ndnsmasq: cannot run lease-init script<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n'\n"]<br>
>> 2012-09-12 10:18:41 TRACE nova.rpc.amqp ProcessExecutionError:<br>
>> Unexpected error while running command.<br>
>> 2012-09-12 10:18:41 ERROR nova.rpc.amqp<br>
>> [req-7e3e29cc-cdab-4f1d-8b41-45f5ba0742d5<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> Returning exception Unexpected error while running command.<br>
>> 2012-09-12 10:18:41 ERROR nova.rpc.amqp<br>
>> [req-7e3e29cc-cdab-4f1d-8b41-45f5ba0742d5<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> ['Traceback (most recent call last):\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in<br>
>> _process_data\n rval = node_func(context=ctxt, **node_args)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 379, in deallocate_for_instance\n super(FloatingIP,<br>
>> self).deallocate_for_instance(context, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 934, in deallocate_for_instance\n **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 247, in deallocate_fixed_ip\n address)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1215, in deallocate_fixed_ip\n<br>
>> self._teardown_network_on_host(context, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1725, in _teardown_network_on_host\n<br>
>> self.driver.update_dhcp(context, dev, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 644, in update_dhcp\n restart_dhcp(context, dev,<br>
>> network_ref)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in<br>
>> inner\n retval = f(*args, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 721, in restart_dhcp\n _execute(*cmd, run_as_root=True)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py",<br>
>> line 813, in _execute\n return utils.execute(*cmd, **kwargs)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243,<br>
>> in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError:<br>
>> Unexpected error while running command.\nCommand: sudo<br>
>> FLAGFILE=/etc/nova/nova.conf NETWORK_ID=1 dnsmasq --strict-order<br>
>> --bind-interfaces --conf-file= --domain=novalocal<br>
>> --pid-file=/var/lib/nova/networks/nova-br100.pid<br>
>> --listen-address=192.168.100.3 --except-interface=lo<br>
>> --dhcp-range=192.168.100.2,static,120s --dhcp-lease-max=256<br>
>> --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf<br>
>> --dhcp-script=/usr/lib/python2.6/site-packages/bin/nova-dhcpbridge<br>
>> --leasefile-ro\nExit code: 3\nStdout: ''\nStderr: 'sh:<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n\\ndnsmasq: cannot run lease-init script<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n'\n"]<br>
>> 2012-09-12 10:19:20 TRACE nova.rpc.amqp ProcessExecutionError:<br>
>> Unexpected error while running command.<br>
>> 2012-09-12 10:19:20 ERROR nova.rpc.amqp<br>
>> [req-4988ae7f-cd89-4e70-98cf-e66ec672baf1<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> Returning exception Unexpected error while running command.<br>
>> 2012-09-12 10:19:20 ERROR nova.rpc.amqp<br>
>> [req-4988ae7f-cd89-4e70-98cf-e66ec672baf1<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> ['Traceback (most recent call last):\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in<br>
>> _process_data\n rval = node_func(context=ctxt, **node_args)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 379, in deallocate_for_instance\n super(FloatingIP,<br>
>> self).deallocate_for_instance(context, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 934, in deallocate_for_instance\n **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 247, in deallocate_fixed_ip\n address)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1215, in deallocate_fixed_ip\n<br>
>> self._teardown_network_on_host(context, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1725, in _teardown_network_on_host\n<br>
>> self.driver.update_dhcp(context, dev, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 644, in update_dhcp\n restart_dhcp(context, dev,<br>
>> network_ref)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in<br>
>> inner\n retval = f(*args, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 721, in restart_dhcp\n _execute(*cmd, run_as_root=True)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py",<br>
>> line 813, in _execute\n return utils.execute(*cmd, **kwargs)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243,<br>
>> in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError:<br>
>> Unexpected error while running command.\nCommand: sudo<br>
>> FLAGFILE=/etc/nova/nova.conf NETWORK_ID=1 dnsmasq --strict-order<br>
>> --bind-interfaces --conf-file= --domain=novalocal<br>
>> --pid-file=/var/lib/nova/networks/nova-br100.pid<br>
>> --listen-address=192.168.100.3 --except-interface=lo<br>
>> --dhcp-range=192.168.100.2,static,120s --dhcp-lease-max=256<br>
>> --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf<br>
>> --dhcp-script=/usr/lib/python2.6/site-packages/bin/nova-dhcpbridge<br>
>> --leasefile-ro\nExit code: 3\nStdout: ''\nStderr: 'sh:<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n\\ndnsmasq: cannot run lease-init script<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n'\n"]<br>
>> 2012-09-12 10:21:39 TRACE nova.rpc.amqp ProcessExecutionError:<br>
>> Unexpected error while running command.<br>
>> 2012-09-12 10:21:39 ERROR nova.rpc.amqp<br>
>> [req-244e7976-0b51-4bd5-be03-2a6d41fa1055<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> Returning exception Unexpected error while running command.<br>
>> 2012-09-12 10:21:39 ERROR nova.rpc.amqp<br>
>> [req-244e7976-0b51-4bd5-be03-2a6d41fa1055<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> ['Traceback (most recent call last):\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in<br>
>> _process_data\n rval = node_func(context=ctxt, **node_args)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 379, in deallocate_for_instance\n super(FloatingIP,<br>
>> self).deallocate_for_instance(context, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 934, in deallocate_for_instance\n **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 247, in deallocate_fixed_ip\n address)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1215, in deallocate_fixed_ip\n<br>
>> self._teardown_network_on_host(context, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1725, in _teardown_network_on_host\n<br>
>> self.driver.update_dhcp(context, dev, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 644, in update_dhcp\n restart_dhcp(context, dev,<br>
>> network_ref)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in<br>
>> inner\n retval = f(*args, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 721, in restart_dhcp\n _execute(*cmd, run_as_root=True)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py",<br>
>> line 813, in _execute\n return utils.execute(*cmd, **kwargs)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243,<br>
>> in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError:<br>
>> Unexpected error while running command.\nCommand: sudo<br>
>> FLAGFILE=/etc/nova/nova.conf NETWORK_ID=1 dnsmasq --strict-order<br>
>> --bind-interfaces --conf-file= --domain=novalocal<br>
>> --pid-file=/var/lib/nova/networks/nova-br100.pid<br>
>> --listen-address=192.168.100.3 --except-interface=lo<br>
>> --dhcp-range=192.168.100.2,static,120s --dhcp-lease-max=256<br>
>> --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf<br>
>> --dhcp-script=/usr/lib/python2.6/site-packages/bin/nova-dhcpbridge<br>
>> --leasefile-ro\nExit code: 3\nStdout: ''\nStderr: 'sh:<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n\\ndnsmasq: cannot run lease-init script<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n'\n"]<br>
>> 2012-09-12 10:30:08 TRACE nova.rpc.amqp ProcessExecutionError:<br>
>> Unexpected error while running command.<br>
>> 2012-09-12 10:30:08 ERROR nova.rpc.amqp<br>
>> [req-fe2b0efb-e211-4bf5-a218-fba902e047e0<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> Returning exception Unexpected error while running command.<br>
>> 2012-09-12 10:30:08 ERROR nova.rpc.amqp<br>
>> [req-fe2b0efb-e211-4bf5-a218-fba902e047e0<br>
>> 2efa015647d948239d143286f565c5a8 780651371d8c4ca790dad684aa288ef9]<br>
>> ['Traceback (most recent call last):\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 253, in<br>
>> _process_data\n rval = node_func(context=ctxt, **node_args)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/network/manager.py",<br>
>> line 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 379, in deallocate_for_instance\n super(FloatingIP,<br>
>> self).deallocate_for_instance(context, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 257, in wrapped\n return func(self, context, *args,<br>
>> **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 934, in deallocate_for_instance\n **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 247, in deallocate_fixed_ip\n address)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1215, in deallocate_fixed_ip\n<br>
>> self._teardown_network_on_host(context, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/manager.py", line<br>
>> 1725, in _teardown_network_on_host\n<br>
>> self.driver.update_dhcp(context, dev, network)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 644, in update_dhcp\n restart_dhcp(context, dev,<br>
>> network_ref)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in<br>
>> inner\n retval = f(*args, **kwargs)\n', ' File<br>
>> "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line<br>
>> 721, in restart_dhcp\n _execute(*cmd, run_as_root=True)\n', '<br>
>> File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py",<br>
>> line 813, in _execute\n return utils.execute(*cmd, **kwargs)\n',<br>
>> ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243,<br>
>> in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError:<br>
>> Unexpected error while running command.\nCommand: sudo<br>
>> FLAGFILE=/etc/nova/nova.conf NETWORK_ID=1 dnsmasq --strict-order<br>
>> --bind-interfaces --conf-file= --domain=novalocal<br>
>> --pid-file=/var/lib/nova/networks/nova-br100.pid<br>
>> --listen-address=192.168.100.3 --except-interface=lo<br>
>> --dhcp-range=192.168.100.2,static,120s --dhcp-lease-max=256<br>
>> --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf<br>
>> --dhcp-script=/usr/lib/python2.6/site-packages/bin/nova-dhcpbridge<br>
>> --leasefile-ro\nExit code: 3\nStdout: ''\nStderr: 'sh:<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n\\ndnsmasq: cannot run lease-init script<br>
>> /usr/lib/python2.6/site-packages/bin/nova-dhcpbridge: No such file<br>
>> or directory\\n'\n"]<br>
>><br>
>><br>
>> nova.conf<br>
>><br>
>> -bash-4.1$ sudo cat /etc/nova/nova.conf<br>
>> [sudo] password for stoor:<br>
>> [DEFAULT]<br>
>><br>
>> # LOGS/STATE<br>
>> verbose=True<br>
>> logdir = /var/log/nova<br>
>> state_path = /var/lib/nova<br>
>> lock_path = /var/lib/nova/tmp<br>
>><br>
>> # AUTHENTICATION<br>
>> auth_strategy=keystone<br>
>><br>
>> # SCHEDULER<br>
>> compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler<br>
>><br>
>> # VOLUMES<br>
>> #volume_group=nova-volumes<br>
>> volume_group=vg1<br>
>> volume_name_template=volume-%08x<br>
>> iscsi_helper=tgtadm<br>
>><br>
>> #DATABASE<br>
>> sql_connection=mysql://<a href="http://nova1:nova1@188.184.20.197/nova" target="_blank">nova1:nova1@188.184.20.197/nova</a><br>
>><br>
>> # COMPUTE<br>
>> libvirt_type=qemu<br>
>> connection_type=libvirt<br>
>> instance_name_template=instance-%08x<br>
>> api_paste_config=/etc/nova/api-paste.ini<br>
>> allow_resize_to_same_host=True<br>
>><br>
>> # APIS<br>
>> osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions<br>
>> ec2_dmz_host=188.184.20.197<br>
>> s3_host=188.184.20.197<br>
>><br>
>> # RABBITMQ<br>
>> rabbit_host=188.184.20.197<br>
>><br>
>> # GLANCE<br>
>> image_service=nova.image.glance.GlanceImageService<br>
>> glance_api_servers=<a href="http://188.184.20.197:9292" target="_blank">188.184.20.197:9292</a><br>
>><br>
>> # NETWORK<br>
>> network_manager=nova.network.manager.FlatDHCPManager<br>
>> force_dhcp_release=True<br>
>> dhcpbridge_flagfile=/etc/nova/nova.conf<br>
>> firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver<br>
>> # Change my_ip to match each host<br>
>> my_ip=188.184.20.197<br>
>> public_interface=br100<br>
>> vlan_interface=eth0<br>
>> flat_network_bridge=br100<br>
>> flat_interface=eth0<br>
>> fixed_range=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>
>><br>
>> # NOVNC CONSOLE<br>
>> novncproxy_base_url=<a href="http://188.184.20.197:6080/vnc_auto.html" target="_blank">http://188.184.20.197:6080/vnc_auto.html</a><br>
>> # Change vncserver_proxyclient_address and vncserver_listen to<br>
>> match each compute host<br>
>> vncserver_proxyclient_address=188.184.20.197<br>
>> vncserver_listen=188.184.20.197<br>
>><br>
>><br>
>> in the guide<br>
>> <a href="http://docs.openstack.org/essex/openstack-compute/install/yum/content/compute-minimum-configuration-settings.html" target="_blank">http://docs.openstack.org/essex/openstack-compute/install/yum/content/compute-minimum-configuration-settings.html</a><br>
>><br>
>> the mentioned configurations are<br>
>><br>
>> auth_strategy=keystone<br>
>> network_manager=nova.network.manager.FlatDHCPManager<br>
>> fixed_range=<a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a><br>
>> public_interface=eth0<br>
>> flat_interface=eth0<br>
>> flat_network_bridge=br100<br>
>><br>
>> Where as in the example on the same page have some different<br>
>> options, for example<br>
>><br>
>> public_interface=br100<br>
>> vlan_interface=eth0<br>
>> flat_network_bridge=br100<br>
>> flat_interface=eth0<br>
>> fixed_range=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>
>><br>
>> I think something is wrong in network section. Can some please help me.<br>
>><br>
>><br>
>> -bash-4.1$ ifconfig<br>
>> br100 Link encap:Ethernet HWaddr 00:15:5D:FF:AA:C3<br>
>> inet addr:192.168.100.3 Bcast:192.168.100.255 Mask:255.255.255.0<br>
>> inet6 addr: fe80::ac94:e6ff:fe0a:c1a5/64 Scope:Link<br>
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
>> RX packets:17634 errors:0 dropped:0 overruns:0 frame:0<br>
>> TX packets:2422 errors:0 dropped:0 overruns:0 carrier:0<br>
>> collisions:0 txqueuelen:0<br>
>> RX bytes:2205592 (2.1 MiB) TX bytes:361604 (353.1 KiB)<br>
>><br>
>> eth0 Link encap:Ethernet HWaddr 00:15:5D:FF:AA:C3<br>
>> inet6 addr: fe80::215:5dff:feff:aac3/64 Scope:Link<br>
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
>> RX packets:2793126 errors:0 dropped:0 overruns:0 frame:0<br>
>> TX packets:279139 errors:0 dropped:0 overruns:0 carrier:0<br>
>> collisions:0 txqueuelen:1000<br>
>> RX bytes:909431066 (867.3 MiB) TX bytes:39559229 (37.7 MiB)<br>
>><br>
>> lo Link encap:Local Loopback<br>
>> inet addr:127.0.0.1 Mask:255.0.0.0<br>
>> inet6 addr: ::1/128 Scope:Host<br>
>> UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
>> RX packets:889899 errors:0 dropped:0 overruns:0 frame:0<br>
>> TX packets:889899 errors:0 dropped:0 overruns:0 carrier:0<br>
>> collisions:0 txqueuelen:0<br>
>> RX bytes:644927387 (615.0 MiB) TX bytes:644927387 (615.0 MiB)<br>
>><br>
>> virbr0 Link encap:Ethernet HWaddr 52:54:00:96:5C:D8<br>
>> inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0<br>
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
>> TX packets:30 errors:0 dropped:0 overruns:0 carrier:0<br>
>> collisions:0 txqueuelen:0<br>
>> RX bytes:0 (0.0 b) TX bytes:6882 (6.7 KiB)<br>
>><br>
>> I have no clue how to fix it.<br>
>><br>
>> Regards..<br>
>> Salman.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> OpenStack-operators mailing list<br>
>> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
>><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
><br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
<br>
End of OpenStack-operators Digest, Vol 23, Issue 28<br>
***************************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"><b><span style="font-size:10pt;font-family:Arial"> With Regards <br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)">
<b><span style="font-size:10pt;font-family:Arial"> Ritesh Nanda<br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"></p><p style="margin:0cm 0cm 0pt;color:rgb(51,51,51)"><span style="color:rgb(0,0,153)"></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"></span></b></span></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"><br>
</span></b></span></span></p><a href="http://www.ericsson.com/" target="_blank"></a><p style="margin:0cm 0cm 0pt"><span style="font-size:9pt;font-family:Arial"><br><br></span></p><br>