[Openstack-operators] Networking question
Sateesh Chodapuneedi
sateesh.chodapuneedi at citrix.com
Sun Nov 13 16:58:59 UTC 2011
Hi,
>> But actually the instance didn't get this ip address. Going to the instance using virt-manager, I can see with ifconfig that there is no ip address on
>> eth0 of the instance.
You need to set the flat '--flat_injected' to True. It is defaulted to False.
I see that you are using FlatManager. If flat_injected is True, the compute host will attempt to inject network information (IP/gateway etc.) into the instance.
Hope that helps!
Regards,
Sateesh
----------------------------------------------------------------------------------------------------------------------------
"This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message."
-----Original Message-----
From: openstack-operators-bounces at lists.openstack.org [mailto:openstack-operators-bounces at lists.openstack.org] On Behalf Of Alexandra Kisin
Sent: Sunday, November 13, 2011 7:10 PM
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] Networking question
Hello,
I'm new to Openstack and trying to setup one host environment.
I have few issues which I can't resolve.
Any help will be appreciated.
I'm trying to build the latest diablo release on Ubuntu 11.10.
I've installed and configured all required services on single host.
When I try to run the instance with :
euca-run-instances -k test ami-00000008
The instance seems to be created successfully, and when I run euca-describe-instances, I get
RESERVATION r-23n3kigp proj default
INSTANCE i-00000006 ami-00000008 192.168.3.4 192.168.3.4 running
test (proj, os-server-1) 0 m1.small 2011-11-13T08:28:13Z
nova aki-00000006 ari-00000007
But actually the instance didn't get this ip address. Going to the instance using virt-manager, I can see with ifconfig that there is no ip address on
eth0 of the instance.
I'm using FlatManager network configuration and below is the content of my /etc/nova/nova.conf file:
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--verbose
--use_deprecated_auth
--ec2_host=9.148.26.166
--osapi_host=9.148.26.166
--s3_host=9.148.26.166
--rabbit_host=192.168.3.1
--fixed_range=192.168.0.0/16
--network_size=8
--network_manager=nova.network.manager.FlatManager
--glance_api_servers=192.168.3.1:9292
--routing_source_ip=192.168.3.1
--sql_connection=mysql://nova:passw0rd@9.148.26.166/nova
--image_service=nova.image.glance.GlanceImageService
--iscsi_helper=tgtadm
--use_syslog
Alexandra Kisin
Servers & Network group, IBM R&D Labs in Israel Unix & Virtualization Team
_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
More information about the Openstack-operators
mailing list