[Openstack-operators] I have finally created an instance, and it works! However, there is no ethernet card

Jeff Silverman jeff at sweetlabs.com
Fri Aug 15 17:26:13 UTC 2014


Nihan,

Do I do that on the compute node or on the guest?

On Red Hat, Fedora, or Centos, which is what I am using, that is modify the
file /etc/sysconfig/network-scripts/ifcfg-eth0 with

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes


Jeff




On Fri, Aug 15, 2014 at 9:58 AM, Nhan Cao <nhanct92 at gmail.com> wrote:

> I think you have to  add interface to instance.example on ubuntu:
> add
>
> auto eth0
> iface eth0 inet dhcp
>
> to /etc/network/interface
>
> 2014-08-15 23:38 GMT+07:00 Abel Lopez <alopgeek at gmail.com>:
>
> Curious if you’ve defined a network space for your instances. If you’re
>> using the traditional flat_network, this is known as the ‘fixed_address’
>> space.
>> If you’re using neutron, you would need to create a network and a subnet
>> (and router with gateway, etc). You’d then assign the instance to a network
>> at launch time.
>>
>>
>> On Aug 15, 2014, at 9:17 AM, Jeff Silverman <jeff at sweetlabs.com> wrote:
>>
>> <ip_a.png>
>>>> For those of you that can't see pictures:
>> $ sudo ip a
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
>>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>     inet 127.0.0.1/8 scope host lo
>>     inet6 ::1/128 scope host
>>         valid_lft forever preferred_1ft forever
>>
>> I suspect that the issue is that the hypervisor is not presenting a
>> virtual ethernet card.
>>
>> Thank you
>>
>>
>> Jeff
>>
>>
>>
>> On Thu, Aug 14, 2014 at 6:57 PM, Nhan Cao <nhanct92 at gmail.com> wrote:
>>
>>> can you show output of command:
>>> ip a
>>>
>>>
>>>
>>>
>>> 2014-08-15 7:41 GMT+07:00 Jeff Silverman <jeff at sweetlabs.com>:
>>>
>>>> People,
>>>>
>>>> I have brought up an instance, and I can connect to it using my
>>>> browser!  I am so pleased.
>>>>
>>>> However, my instance doesn't have an ethernet device, only a loopback
>>>> device.   My management wants me to use a provider network, which I
>>>> understand to mean that my instances will have IP addresses in the same
>>>> space as the controller, block storage, and compute node administrative
>>>> addresses.  However, I think that discussing addressing is premature until
>>>> I have a working virtual ethernet card.
>>>>
>>>> I am reading through
>>>> http://docs.openstack.org/icehouse/install-guide/install/yum/content/neutron-ml2-compute-node.html
>>>> and I think that the ML2 plugin is what I need.  However, I think I do not
>>>> want a network type of GRE, because that encapsulates the packets and I
>>>> don't have anything to un-encapsulate them.
>>>>
>>>> Thank you
>>>>
>>>>
>>>> Jeff
>>>>
>>>>
>>>> --
>>>> *Jeff Silverman*
>>>> Systems Engineer
>>>> (253) 459-2318 (c)
>>>>
>>>>
>>>> _______________________________________________
>>>> OpenStack-operators mailing list
>>>> OpenStack-operators at lists.openstack.org
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>>
>>>>
>>>
>>
>>
>> --
>> *Jeff Silverman*
>> Systems Engineer
>> (253) 459-2318 (c)
>>
>>  _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>
>>
>


-- 
*Jeff Silverman*
Systems Engineer
(253) 459-2318 (c)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140815/714906ea/attachment.html>


More information about the OpenStack-operators mailing list