Hi Nidhi, Try this :
*Set up the network environment on the host so that devstack VMs can access the external world.* *sudo bash* *echo 1 > /proc/sys/net/ipv4/ip_forward* *echo 1 > /proc/sys/net/ipv4/conf/INTERFACE/proxy_arp* *iptables -t nat -A POSTROUTING -o INTERFACE -j MASQUERADE* *These command will make sure that network traffic will be correctly routed in and out of the devstack VMs.* *The ip_forward and proxy_arp changes will be reset when the machice reboots. You can make these changes permanent by editing /etc/sysctl.conf and adding the following lines:* *net.ipv4.conf.INTERFACE.proxy_arp = 1* *net.ipv4.ip_forward = 1* *Replace INTERFACE with ethernet interface of your virtual box.* Hope it will work as it works always for me. Regards, Ganpat On Fri, Jun 2, 2017 at 3:01 PM, [email protected] <[email protected]> wrote: > Hello all, > > > > I am using http://paste.openstack.org/show/595339/ as my local.conf. > > > > *I wanted to understand :- Which interface should we put as value in * > > *PUBLIC_INTERFACE in local.conf.* > > > > > > *Reason why I am asking this is,* > > > > Once, I installed OpenStack using DevStack, on my linux VM on > > VirtualBox - I used PUBLIC_INTERFACE value as eth0 > > and > > I configured only one network adapter on VM in NAT mode. > > > > Later on I faced lot of networking problems in that OpenStack VM. > > Internet wasn’t accessible suddenly and many other probs. > > > > I debugged and somehow found eth0 was added in > > One ovs-bridge and if I remove eth0 from that bridge - > > only then internet in my VM used to work well. > > > > Then I doubted PUBLIC_INTERFACE value in local.conf > > is something I should setup correctly.. > > > > Could not find much help on this from google. > > > > Can someone please enlighten? > > > > Thanks > > Nidhi > > > > > > > > > > > > > > > > > > > > *From:* Nidhi Mittal Hada (Product Engineering Service) > *Sent:* Wednesday, January 18, 2017 3:49 PM > *To:* [email protected] > *Subject:* Re: [openstack-dev] [OpenStack-Dev][DevStack][Neutron] facing > problem in devstack install - No Network found for private > > > > Hi Andreas, > > > > As in between you suggested to try with default devstack > > neutron config params. I tried that i set no config option > > for neutron part all default. > > > > This local.conf is working well.. > > > > for others who are facing problem pasting working local.conf here > > http://paste.openstack.org/show/595339/ > > > > Attaching too. > > > > Thanks > > Nidhi > > > > > > > > > ------------------------------ > > *From:* Nidhi Mittal Hada (Product Engineering Service) > *Sent:* Wednesday, January 18, 2017 2:44 PM > *To:* [email protected] > *Subject:* Re: [openstack-dev] [OpenStack-Dev][DevStack][Neutron] facing > problem in devstack install - No Network found for private > > > > Andreas, > > > > I require nothing specific from neutron side. > > Just a basic working setup from neutron side > > because my work is mostly on storage side of > > OpenStack. > > > > Can you please suggest a working configuration > > if tried recently. > > > > Thanks > > nidhi > > > ------------------------------ > > *From:* Nidhi Mittal Hada (Product Engineering Service) > *Sent:* Wednesday, January 18, 2017 2:35:13 PM > *To:* [email protected] > *Subject:* Re: [openstack-dev] [OpenStack-Dev][DevStack][Neutron] facing > problem in devstack install - No Network found for private > > > > HI Andreas, > > > > Thanks for your reply. > > > > I have no specific reason for using this network configuration in > local.conf. > > I have only basic knowledge of these config options even. > > This local.conf network configurations used to work well with earlier > > devstack openstack versions. So i did not change it.. > > Just this time its creating trouble. > > > > I have not created any ovs bridge manually before running devstack. > > just created this local.conf and ran ./stack.sh in devstack folder. > > > > Can you please suggest changes if i have not created ovs-bridge manually. > > > > *At present my settings are - from local.conf - for reference - * > > 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 > > > > Q_USE_SECGROUP=True > > ENABLE_TENANT_VLANS=True > > TENANT_VLAN_RANGE=1000:1999 > > PHYSICAL_NETWORK=default > > OVS_PHYSICAL_BRIDGE=br-ex > > > > > > Q_USE_PROVIDER_NETWORKING=True > > Q_L3_ENABLED=False > > > > PROVIDER_SUBNET_NAME="provider_net" > > PROVIDER_NETWORK_TYPE="vlan" > > SEGMENTATION_ID=2010 > > > > > > > > > > > > Thanks > > Nidhi > > > > > ------------------------------ > > *From:* Andreas Scheuring <[email protected]> > *Sent:* Wednesday, January 18, 2017 1:09:17 PM > *To:* [email protected] > *Subject:* Re: [openstack-dev] [OpenStack-Dev][DevStack][Neutron] facing > problem in devstack install - No Network found for private > > > > ** This mail has been sent from an external source ** > > 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, [email protected] 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@ubuntu:~/devstack$ lsb_release -d > > Description: Ubuntu 14.04.5 LTS > > stack@ubuntu:~/devstack$ > > > > > > Thats my machine's network interfaces file > > > > > > stack@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@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 > > Wipro - IT Services, Consulting, System Integration & IT ... > <http://www.wipro.com/> > > www.wipro.com > > Wipro delivers IT Services, Business and Technology Consulting, IT > Outsourcing and System Integration services & solutions. > > > > > ____________________________________________________________ > ______________ > > OpenStack Development Mailing List (not for usage questions) > > Unsubscribe: [email protected]?subject: > unsubscribe > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > openstack-dev mailing list > <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> > > lists.openstack.org > > This list for the developers of OpenStack to discuss development issues > and roadmap. It is focused on the next release of OpenStack: you should > post on this list if ... > > > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > openstack-dev mailing list > <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> > > lists.openstack.org > > This list for the developers of OpenStack to discuss development issues > and roadmap. It is focused on the next release of OpenStack: you should > post on this list if ... > > > 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: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
