Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

About NIC (resend)

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


satimis at yahoo

May 29, 2012, 8:37 AM

Post #1 of 8 (989 views)
Permalink
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


everett.toews at cybera

May 29, 2012, 11:16 AM

Post #2 of 8 (959 views)
Permalink
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 [at] yahoo> 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 [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


satimis at yahoo

May 31, 2012, 9:23 AM

Post #3 of 8 (952 views)
Permalink
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 [at] cybera>
>To: Stephen Liu <satimis [at] yahoo>
>Cc: "openstack-operators [at] lists" <openstack-operators [at] lists>
>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 [at] yahoo> 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 [at] lists
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
>>
>
>
>


everett.toews at cybera

Jun 4, 2012, 1:17 PM

Post #4 of 8 (932 views)
Permalink
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 [at] yahoo> 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 [at] cybera>
> *To:* Stephen Liu <satimis [at] yahoo>
> *Cc:* "openstack-operators [at] lists" <
> openstack-operators [at] lists>
> *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 [at] yahoo> 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 [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
>
>


satimis at yahoo

Jun 4, 2012, 7:19 PM

Post #5 of 8 (939 views)
Permalink
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 [at] cybera>
>To: Stephen Liu <satimis [at] yahoo>
>Cc: "openstack-operators [at] lists" <openstack-operators [at] lists>
>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 [at] yahoo> 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 [at] cybera>
>>>To: Stephen Liu <satimis [at] yahoo>
>>>Cc: "openstack-operators [at] lists" <openstack-operators [at] lists>
>>>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 [at] yahoo> 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 [at] lists
>>>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>>
>>>>
>>>
>>>
>>>
>
>
>


jaypipes at gmail

Jun 5, 2012, 10:39 AM

Post #6 of 8 (947 views)
Permalink
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 [at] uberbo:~/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 [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


satimis at yahoo

Jun 5, 2012, 5:34 PM

Post #7 of 8 (937 views)
Permalink
Re: About NIC (resend) [In reply to]

Hi jay,

$ env | grep OS_

no output

-SL




----- Original Message -----
> From: Jay Pipes <jaypipes [at] gmail>
> To: openstack-operators [at] lists
> 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 [at] uberbo:~/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 [at] lists
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
_______________________________________________
Openstack-operators mailing list
Openstack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


jaypipes at gmail

Jun 5, 2012, 6:13 PM

Post #8 of 8 (942 views)
Permalink
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 [at] gmail>
>> To: openstack-operators [at] lists
>> 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 [at] uberbo:~/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 [at] lists
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>
_______________________________________________
Openstack-operators mailing list
Openstack-operators [at] lists
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.