Re: [Openstack] Docs: nova-manage network create FAILURE

2012-02-28 Thread Diego Parrilla Santamaría
Alexey,

Here goes a sample what we use in the distro:

FlatDHCP
./nova-manage network create service 10.0.0.0/24 1 256
--bridge=br100--bridge_interface=
bond1 --dns1=8.8.8.8 --dns2=8.8.4.4

VlanManager
./nova-manage network create service 10.0.0.0/24 1 256 --vlan=100
--bridge_interface=bond1 --dns1=8.8.8.8 --dns2=8.8.4.4

Keep in mind that FlatDHCP and VlanManager handle the tenants' networks
with different approach.

Cheers
Diego

-- 
Diego Parrilla
http://www.stackops.com/*CEO*
*www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* http://www.stackops.com/
**



On Mon, Feb 27, 2012 at 4:23 PM, Alexey Eromenko al4...@gmail.com wrote:

 --flat_interface (for flatdhcp mode)
 Doesn't work.

 Either the docs is wrong or the software.
 When I set --flat_injected option, nova fails to work.

 root@nova-server1:~# nova-manage
 Usage: nova-manage [options]

 nova-manage: error: --flat_injected option does not take a value

 See:
 Docs: (compute) FlatDHCP disallows IP injection
 https://bugs.launchpad.net/openstack-manuals/+bug/941978

 Proposed fix:
 Remove --flat_injected=False altogether from FlatDHCP docs.
 Or it should work without options ?
 According to my understanding, only Flat mode has IP injection, while
 FlatDHCP does not.

 Is this correct ?

 On Mon, Feb 27, 2012 at 3:20 AM, Anne Gentle a...@openstack.org wrote:
  Good explanation, thanks Vish.
 
 
 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html
  has the --flat_interace requirement, and
 
 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-vlan-networking.html
  describes the --vlan_interface requirement.
 
  Thanks for asking Alexey. We can edit the page with the nova-manage
  network create command also.

 Problem is:

 Networking described in Chapter: Configuring Multiple Compute Nodes,
 which comes *after* Chapter: Setting Up OpenStack Compute Environment
 on the Compute Node

 So it fails.

 Moreover:
 Configuring Multiple Compute Nodes needs
 an example of what this looks like with real values entered.

 --
 -Alexey Eromenko Technologov

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Docs: nova-manage network create FAILURE

2012-02-27 Thread Alexey Eromenko
--flat_interface (for flatdhcp mode)
Doesn't work.

Either the docs is wrong or the software.
When I set --flat_injected option, nova fails to work.

root@nova-server1:~# nova-manage
Usage: nova-manage [options]

nova-manage: error: --flat_injected option does not take a value

See:
Docs: (compute) FlatDHCP disallows IP injection
https://bugs.launchpad.net/openstack-manuals/+bug/941978

Proposed fix:
Remove --flat_injected=False altogether from FlatDHCP docs.
Or it should work without options ?
According to my understanding, only Flat mode has IP injection, while
FlatDHCP does not.

Is this correct ?

On Mon, Feb 27, 2012 at 3:20 AM, Anne Gentle a...@openstack.org wrote:
 Good explanation, thanks Vish.

 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html
 has the --flat_interace requirement, and
 http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-vlan-networking.html
 describes the --vlan_interface requirement.

 Thanks for asking Alexey. We can edit the page with the nova-manage
 network create command also.

Problem is:

Networking described in Chapter: Configuring Multiple Compute Nodes,
which comes *after* Chapter: Setting Up OpenStack Compute Environment
on the Compute Node

So it fails.

Moreover:
Configuring Multiple Compute Nodes needs
an example of what this looks like with real values entered.

-- 
-Alexey Eromenko Technologov

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Docs: nova-manage network create FAILURE

2012-02-26 Thread Vishvananda Ishaya
you need to specify --bridge_interface when you create a network
If you set --vlan_interface in your flagfile (for vlan mode)
or --flat_interface (for flatdhcp mode)
then you don't need to specify it on the command line.
Vish

On Feb 26, 2012, at 4:41 PM, Alexey Eromenko wrote:

 Platform: Debian wheezy/testing + nova-2012.1~e3-4
 
 Official docs say:
 
 nova-manage network create novanet 192.168.0.0/24 1 256
 
 (I read both diablo and trunk docs)
 
 But it fails:
 
 root@nova-server2:~# nova-manage network create novanet 192.168.0.0/24 1 256
 Command failed, please check log for more info
 2012-02-26 19:37:55,035 CRITICAL nova [-] --bridge_interface is
 required to create a network.
 (nova): TRACE: Traceback (most recent call last):
 (nova): TRACE:   File /usr/bin/nova-manage, line 2376, in module
 (nova): TRACE: main()
 (nova): TRACE:   File /usr/bin/nova-manage, line 2364, in main
 (nova): TRACE: fn(*fn_args, **fn_kwargs)
 (nova): TRACE:   File /usr/bin/nova-manage, line 800, in create
 (nova): TRACE: raise exception.NetworkNotCreated(req='--bridge_interface')
 (nova): TRACE: NetworkNotCreated: --bridge_interface is required to
 create a network.
 (nova): TRACE:
 
 Any ideas ?
 
 -- 
 -Alexey Eromenko Technologov
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Docs: nova-manage network create FAILURE

2012-02-26 Thread Anne Gentle
Good explanation, thanks Vish.

http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-flat-dhcp-networking.html
has the --flat_interace requirement, and
http://docs.openstack.org/diablo/openstack-compute/admin/content/configuring-vlan-networking.html
describes the --vlan_interface requirement.

Thanks for asking Alexey. We can edit the page with the nova-manage
network create command also.

Anne

On Sun, Feb 26, 2012 at 7:03 PM, Vishvananda Ishaya
vishvana...@gmail.com wrote:
 you need to specify --bridge_interface when you create a network
 If you set --vlan_interface in your flagfile (for vlan mode)
 or --flat_interface (for flatdhcp mode)
 then you don't need to specify it on the command line.
 Vish

 On Feb 26, 2012, at 4:41 PM, Alexey Eromenko wrote:

 Platform: Debian wheezy/testing + nova-2012.1~e3-4

 Official docs say:

 nova-manage network create novanet 192.168.0.0/24 1 256

 (I read both diablo and trunk docs)

 But it fails:

 root@nova-server2:~# nova-manage network create novanet 192.168.0.0/24 1 256
 Command failed, please check log for more info
 2012-02-26 19:37:55,035 CRITICAL nova [-] --bridge_interface is
 required to create a network.
 (nova): TRACE: Traceback (most recent call last):
 (nova): TRACE:   File /usr/bin/nova-manage, line 2376, in module
 (nova): TRACE:     main()
 (nova): TRACE:   File /usr/bin/nova-manage, line 2364, in main
 (nova): TRACE:     fn(*fn_args, **fn_kwargs)
 (nova): TRACE:   File /usr/bin/nova-manage, line 800, in create
 (nova): TRACE:     raise 
 exception.NetworkNotCreated(req='--bridge_interface')
 (nova): TRACE: NetworkNotCreated: --bridge_interface is required to
 create a network.
 (nova): TRACE:

 Any ideas ?

 --
 -Alexey Eromenko Technologov

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to     : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to     : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp