[openstack-dev] [OpenStack-Dev][DevStack][Neutron] facing problem in devstack install - No Network found for private

Andreas Scheuring scheuran at linux.vnet.ibm.com
Wed Jan 18 07:39:17 UTC 2017


Without looking into the details.... 

you're specifying 
    Q_USE_PROVIDER_NETWORKING=True
in your local.conf - usually this results in the creation of a single
provider network called "public". But the manila devstack plugin seems
not to be able to deal with provider networks as it's expecting a
network named "private" to be present.


Why are you using provider networks? Just for sake of VLANs? You can
also configure devstack to use vlans with the default setup. This has
worked for me in the past - results in a private network using vlans
(assuming you have created ovs b bridge br-data manually):


OVS_PHYSICAL_BRIDGE=br-data
PHYSICAL_NETWORK=phys-data

ENABLE_TENANT_TUNNELS=False
Q_ML2_TENANT_NETWORK_TYPE=vlan
ENABLE_TENANT_VLANS=True
TENANT_VLAN_RANGE=1000:1000




-- 
-----
Andreas 
IRC: andreas_s



On Mi, 2017-01-18 at 06:59 +0000, nidhi.hada at wipro.com wrote:
> Hi All, 
> 
> 
> I was trying to install latest Newton version of OpenStack using
> devstack on my laptop, all in one machine,
> 
> using Virtualbox VM. Lately i have been facing same problem in last
> few tries and installation doesn't get successful.
> 
> 
> My VM network adapter configuration is as below.
> 
> 
> Adapter1 
> 
> 
> 
> 
> 
> 
> 
> and 2nd adapter is as 
> 
> Adapter2
> 
> 
> 
> 
> 
> 
> 
> Thats detail of Host Only Networking
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Thats my local.conf for devstack
> 
> 
> 
> http://paste.openstack.org/show/595313/
> 
> 
> 
> 
> excerpt is 
> 
> FIXED_RANGE=10.11.12.0/24
> 
> 
> NETWORK_GATEWAY=10.11.12.1
> FIXED_NETWORK_SIZE=256
> 
> 
> FLOATING_RANGE=10.0.2.0/24
> Q_FLOATING_ALLOCATION_POOL=start=10.0.2.104,end=10.0.2.111
> PUBLIC_NETWORK_GATEWAY=10.0.2.1
> HOST_IP=10.0.2.15
> 
> 
> PUBLIC_INTERFACE=eth0
> 
> 
> 
> Thats ubuntu version on VM
> stack at ubuntu:~/devstack$ lsb_release -d
> Description: Ubuntu 14.04.5 LTS
> stack at ubuntu:~/devstack$ 
> 
> 
> Thats my machine's network interfaces file
> 
> 
> stack at ubuntu:~/devstack$ cat /etc/network/interfaces
> 
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> 
> # The primary network interface
> auto eth1
> iface eth1 inet static
> address 192.168.56.150
> netmask 255.255.255.0
> 
> 
> auto eth0
> iface eth0 inet dhcp
> stack at ubuntu:~/devstack$ 
> 
> 
> 
> Error I am facing is 
> 
> 
> http://paste.openstack.org/show/595315/
> 
> 
> 
> Excerpt is
> 
> 
> 2017-01-18 06:29:55.396 |
> +++ /opt/stack/manila/devstack/plugin.sh:create_service_share_servers:287 :   openstack network show private -f value -c id
> 2017-01-18 06:29:56.778 | ResourceNotFound: No Network found for
> private
> 2017-01-18 06:29:56.805 |
> ++ /opt/stack/manila/devstack/plugin.sh:create_service_share_servers:287 :   private_net_id=
> 2017-01-18 06:29:56.807 |
> + /opt/stack/manila/devstack/plugin.sh:create_service_share_servers:1 :   exit_trap
> 2017-01-18 06:29:56.809 | + ./stack.sh:exit_trap:487                 :
> local r=1
> 2017-01-18 06:29:56.815 | ++ ./stack.sh:exit_trap:488
>   :   jobs -p
> 2017-01-18 06:29:56.817 | + ./stack.sh:exit_trap:488                 :
> jobs=
> 2017-01-18 06:29:56.819 | + ./stack.sh:exit_trap:491                 :
> [[ -n '' ]]
> 2017-01-18 06:29:56.821 | + ./stack.sh:exit_trap:497                 :
> kill_spinner
> 2017-01-18 06:29:56.823 | + ./stack.sh:kill_spinner:383              :
> '[' '!' -z '' ']'
> 2017-01-18 06:29:56.824 | + ./stack.sh:exit_trap:499                 :
> [[ 1 -ne 0 ]]
> 2017-01-18 06:29:56.826 | + ./stack.sh:exit_trap:500                 :
> echo 'Error on exit'
> 2017-01-18 06:29:56.826 | Error on exit
> 2017-01-18 06:29:56.828 | + ./stack.sh:exit_trap:501                 :
> generate-subunit 1484720095 901 fail
> 2017-01-18 06:29:57.844 | + ./stack.sh:exit_trap:502                 :
> [[ -z /opt/stack/logs ]]
> 2017-01-18 06:29:57.846 | + ./stack.sh:exit_trap:505
>   :   /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
> 2017-01-18 06:30:03.325 | + ./stack.sh:exit_trap:511                 :
> exit 1
> 
> 
> 
> Devstack does not scucceed at all i have tried couple of times.
> 
> 
> Can someone help in pointing what mistake i am making that private
> network is not getting created.
> 
> I do not need to use generic driver for manila share at all i can skip
> that option also.
> 
> 
> Any kind of input will be really helpful.
> 
> 
> Thanks
> 
> Nidhi
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments. WARNING: Computer viruses can be transmitted via email.
> The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this email. www.wipro.com 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list