Mailing List Archive

About NIC (resend)
Hi all,

I'm prepared to start my 1st experiment on OpenStack according to following document;

Expreimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox

However it needs 3 NICs, eth0, eth1 and eth2.  But I have only ONE NIC, eth0.

What can I do, please help.  TIA

B.R.
Stephen L
Re: About NIC (resend) [ In reply to ]
Under Step 1 it reads.

*Configure* VirtualBox's Host-Only Networks

start VirtualBox [on ubuntu prior to Unity it's in *Applications →
Accessories*]
open *File → Preferences → Network* tab
*Add* host-only netwok for *vboxnet0* – this will be the *Public* interface

set IP to 172.16.0.254, mask 255.255.0.0, dhcp disbaled

*Add* host-only netwok for *vboxnet1* – this will be the *Private* (VLAN)
interface

set IP to 11.0.0.1, mask 255.0.0.0, dhcp disbaled

Under Step 2 it reads.

*Network* tab: see figure above

Adapter 1: attached to NAT – eth0 will connect here;

Adapter 2: attached to Host-Only Adapter, vboxnet0 - eth1 will connect here
;

Adapter 3: attached to Host-Only Adapter, vboxnet1 - eth2 will connect here;

This will setup all the NICs you need in VirtualBox.

Everett

On Tue, May 29, 2012 at 9:37 AM, Stephen Liu <satimis@yahoo.com> wrote:

> Hi all,
>
> I'm prepared to start my 1st experiment on OpenStack according to
> following document;
>
> Expreimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
>
> http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox
>
> However it needs 3 NICs, eth0, eth1 and eth2. But I have only ONE NIC,
> eth0.
>
> What can I do, please help. TIA
>
> B.R.
> Stephen L
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
Re: About NIC (resend) [ In reply to ]
Hi Everett,

Thanks for your advice.

My problem is "I have only 1 NIC", i.e. eth0.  Then what can I do with the other 2 settings eth1 and eth2?  OR just leave them there?

B.R.
Stephen L




>________________________________
> From: Everett Toews <everett.toews@cybera.ca>
>To: Stephen Liu <satimis@yahoo.com>
>Cc: "openstack-operators@lists.openstack.org" <openstack-operators@lists.openstack.org>
>Sent: Wednesday, May 30, 2012 2:16 AM
>Subject: Re: [Openstack-operators] About NIC (resend)
>
>
>Under Step 1 it reads.
>
>
>Configure VirtualBox's Host-Only Networks
>start VirtualBox [on ubuntu prior to Unity it's in Applications → Accessories]
>open File → Preferences → Network tab
>Add host-only netwok for vboxnet0 – this will be the Public interface
>set IP to 172.16.0.254, mask 255.255.0.0, dhcp disbaled
>Add host-only netwok for vboxnet1 – this will be the Private (VLAN) interface
>set IP to 11.0.0.1, mask 255.0.0.0, dhcp disbaled
>
>
>Under Step 2 it reads.
>
>
>Network tab: see figure above 
>Adapter 1: attached to NAT – eth0 will connect here; 
>Adapter 2: attached to Host-Only Adapter, vboxnet0 - eth1 will connect here ;
>Adapter 3: attached to Host-Only Adapter, vboxnet1 - eth2 will connect here;
>
>
>This will setup all the NICs you need in VirtualBox.
>
>
>Everett
>
>On Tue, May 29, 2012 at 9:37 AM, Stephen Liu <satimis@yahoo.com> wrote:
>
>Hi all,
>>
>>
>>I'm prepared to start my 1st experiment on OpenStack according to following document;
>>
>>Expreimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
>>http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox
>>
>>However it needs 3 NICs, eth0, eth1 and eth2.  But I have only ONE NIC, eth0.
>>
>>What can I do, please help.  TIA
>>
>>B.R.
>>Stephen L
>>_______________________________________________
>>Openstack-operators mailing list
>>Openstack-operators@lists.openstack.org
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>
>
>
>
Re: About NIC (resend) [ In reply to ]
I take it you mean you only have 1 NIC on your physical machine. That's
okay, the NICs you're creating in VirtualBox according to the instructions
are virtual so you can create as many as you need. You can just leave them
there once you've created them.

Everett

On Thu, May 31, 2012 at 10:23 AM, Stephen Liu <satimis@yahoo.com> wrote:

> Hi Everett,
>
> Thanks for your advice.
>
> My problem is "I have only 1 NIC", i.e. eth0. Then what can I do with the
> other 2 settings eth1 and eth2? OR just leave them there?
>
> B.R.
> Stephen L
>
> ------------------------------
> *From:* Everett Toews <everett.toews@cybera.ca>
> *To:* Stephen Liu <satimis@yahoo.com>
> *Cc:* "openstack-operators@lists.openstack.org" <
> openstack-operators@lists.openstack.org>
> *Sent:* Wednesday, May 30, 2012 2:16 AM
> *Subject:* Re: [Openstack-operators] About NIC (resend)
>
> Under Step 1 it reads.
>
> *Configure* VirtualBox's Host-Only Networks
> start VirtualBox [.on ubuntu prior to Unity it's in *Applications →
> Accessories*]
> open *File → Preferences → Network* tab
> *Add* host-only netwok for *vboxnet0* – this will be the *Public*
> interface
> set IP to 172.16.0.254, mask 255.255.0.0, dhcp disbaled
> *Add* host-only netwok for *vboxnet1* – this will be the *Private* (VLAN)
> interface
> set IP to 11.0.0.1, mask 255.0.0.0, dhcp disbaled
>
> Under Step 2 it reads.
>
> *Network* tab: see figure above
> Adapter 1: attached to NAT – eth0 will connect here;
> Adapter 2: attached to Host-Only Adapter, vboxnet0 - eth1 will connect
> here ;
> Adapter 3: attached to Host-Only Adapter, vboxnet1 - eth2 will connect
> here;
>
> This will setup all the NICs you need in VirtualBox.
>
> Everett
>
> On Tue, May 29, 2012 at 9:37 AM, Stephen Liu <satimis@yahoo.com> wrote:
>
> Hi all,
>
> I'm prepared to start my 1st experiment on OpenStack according to
> following document;
>
> Expreimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
>
> http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox
>
> However it needs 3 NICs, eth0, eth1 and eth2. But I have only ONE NIC,
> eth0.
>
> What can I do, please help. TIA
>
> B.R.
> Stephen L
>
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
>
>
Re: About NIC (resend) [ In reply to ]
Hi Everett,

Thanks for your advice.

Now I got it clear.  eth0, eth1, eth2 etc. are virtual NIC, NOT physical, releting to vboxnet0, vboxnet1 etc.

The tutorial;
Experimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox

is mostly working.  On browser I can connect the "demo" running http://176.16.0.1.  Still there are some minor problems, e.g.

# glance details
Failed to show details. Got error:
You are not authenticated.
Details: 401 Unauthorized

This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.

I'm still hunting around for solution.  Can you help?  TIA

B.R.
Stephen L




>________________________________
> From: Everett Toews <everett.toews@cybera.ca>
>To: Stephen Liu <satimis@yahoo.com>
>Cc: "openstack-operators@lists.openstack.org" <openstack-operators@lists.openstack.org>
>Sent: Tuesday, June 5, 2012 4:17 AM
>Subject: Re: [Openstack-operators] About NIC (resend)
>
>
>I take it you mean you only have 1 NIC on your physical machine. That's okay, the NICs you're creating in VirtualBox according to the instructions are virtual so you can create as many as you need. You can just leave them there once you've created them.
>
>
>Everett
>
>
>On Thu, May 31, 2012 at 10:23 AM, Stephen Liu <satimis@yahoo.com> wrote:
>
>Hi Everett,
>>
>>
>>Thanks for your advice.
>>
>>
>>My problem is "I have only 1 NIC", i.e. eth0.  Then what can I do with the other 2 settings eth1 and eth2?  OR just leave them there?
>>
>>
>>B.R.
>>Stephen L
>>
>>
>>
>>
>>>________________________________
>>> From: Everett Toews <everett.toews@cybera.ca>
>>>To: Stephen Liu <satimis@yahoo.com>
>>>Cc: "openstack-operators@lists.openstack.org" <openstack-operators@lists.openstack.org>
>>>Sent: Wednesday, May 30, 2012 2:16 AM
>>>Subject: Re: [Openstack-operators] About NIC (resend)
>>>
>>>
>>>
>>>Under Step 1 it reads.
>>>
>>>
>>>Configure VirtualBox's Host-Only Networks
>>>start VirtualBox [on ubuntu prior to Unity it's in Applications → Accessories]
>>>open File → Preferences → Network tab
>>>Add host-only netwok for vboxnet0 – this will be the Public interface
>>>set IP to 172.16.0.254, mask 255.255.0.0, dhcp disbaled
>>>Add host-only netwok for vboxnet1 – this will be the Private (VLAN) interface
>>>set IP to 11.0.0.1, mask 255.0.0.0, dhcp disbaled
>>>
>>>
>>>Under Step 2 it reads.
>>>
>>>
>>>Network tab: see figure above 
>>>Adapter 1: attached to NAT – eth0 will connect here; 
>>>Adapter 2: attached to Host-Only Adapter, vboxnet0 - eth1 will connect here ;
>>>Adapter 3: attached to Host-Only Adapter, vboxnet1 - eth2 will connect here;
>>>
>>>
>>>This will setup all the NICs you need in VirtualBox.
>>>
>>>
>>>Everett
>>>
>>>On Tue, May 29, 2012 at 9:37 AM, Stephen Liu <satimis@yahoo.com> wrote:
>>>
>>>Hi all,
>>>>
>>>>
>>>>I'm prepared to start my 1st experiment on OpenStack according to following document;
>>>>
>>>>Expreimenting with OpenStack Essex on Ubuntu 12.04 LTS under VirtualBox
>>>>http://www.tikalk.com/alm/blog/expreimenting-openstack-essex-ubuntu-1204-lts-under-virtualbox
>>>>
>>>>However it needs 3 NICs, eth0, eth1 and eth2.  But I have only ONE NIC, eth0.
>>>>
>>>>What can I do, please help.  TIA
>>>>
>>>>B.R.
>>>>Stephen L
>>>>_______________________________________________
>>>>Openstack-operators mailing list
>>>>Openstack-operators@lists.openstack.org
>>>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>>
>>>>
>>>
>>>
>>>
>
>
>
Re: About NIC (resend) [ In reply to ]
On 06/04/2012 10:19 PM, Stephen Liu wrote:
> # glance details
> Failed to show details. Got error:
> You are not authenticated.
> Details: 401 Unauthorized

This is due to your OpenStack credentials not being authorized to
connect to Glance (or not being set at all! :))

If you do:

$ env | grep OS_

What does it show?

For me (after source'ing my devstack/openrc file), I get:

jpipes@uberbox:~/repos/devstack$ env | grep OS_
OS_PASSWORD=pass
OS_AUTH_URL=http://192.168.1.76:5000/v2.0
OS_USERNAME=demo
OS_TENANT_NAME=demo

Best,
-jay
_______________________________________________
Openstack-operators mailing list
Openstack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: About NIC (resend) [ In reply to ]
Hi jay,

$ env | grep OS_

no output

-SL




----- Original Message -----
> From: Jay Pipes <jaypipes@gmail.com>
> To: openstack-operators@lists.openstack.org
> Cc:
> Sent: Wednesday, June 6, 2012 1:39 AM
> Subject: Re: [Openstack-operators] About NIC (resend)
>
> On 06/04/2012 10:19 PM, Stephen Liu wrote:
>> # glance details
>> Failed to show details. Got error:
>> You are not authenticated.
>> Details: 401 Unauthorized
>
> This is due to your OpenStack credentials not being authorized to connect to
> Glance (or not being set at all! :))
>
> If you do:
>
> $ env | grep OS_
>
> What does it show?
>
> For me (after source'ing my devstack/openrc file), I get:
>
> jpipes@uberbox:~/repos/devstack$ env | grep OS_
> OS_PASSWORD=pass
> OS_AUTH_URL=http://192.168.1.76:5000/v2.0
> OS_USERNAME=demo
> OS_TENANT_NAME=demo
>
> Best,
> -jay
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
_______________________________________________
Openstack-operators mailing list
Openstack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: About NIC (resend) [ In reply to ]
That's your issue :)

You need to go ahead and populate the various OS_XXX environment
variables that are needed for authentication.

You can read more here:

http://glance.openstack.org/authentication.html#configuring-the-glance-client-to-use-keystone

best,
-jay

On 06/05/2012 08:34 PM, Stephen Liu wrote:
> Hi jay,
>
> $ env | grep OS_
>
> no output
>
> -SL
>
>
>
>
> ----- Original Message -----
>> From: Jay Pipes<jaypipes@gmail.com>
>> To: openstack-operators@lists.openstack.org
>> Cc:
>> Sent: Wednesday, June 6, 2012 1:39 AM
>> Subject: Re: [Openstack-operators] About NIC (resend)
>>
>> On 06/04/2012 10:19 PM, Stephen Liu wrote:
>>> # glance details
>>> Failed to show details. Got error:
>>> You are not authenticated.
>>> Details: 401 Unauthorized
>>
>> This is due to your OpenStack credentials not being authorized to connect to
>> Glance (or not being set at all! :))
>>
>> If you do:
>>
>> $ env | grep OS_
>>
>> What does it show?
>>
>> For me (after source'ing my devstack/openrc file), I get:
>>
>> jpipes@uberbox:~/repos/devstack$ env | grep OS_
>> OS_PASSWORD=pass
>> OS_AUTH_URL=http://192.168.1.76:5000/v2.0
>> OS_USERNAME=demo
>> OS_TENANT_NAME=demo
>>
>> Best,
>> -jay
>> _______________________________________________
>> Openstack-operators mailing list
>> Openstack-operators@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
_______________________________________________
Openstack-operators mailing list
Openstack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators