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<http://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
# Sample ``local.conf`` for user-configurable variables in ``stack.sh`` # NOTE: Copy this file to the root DevStack directory for it to work properly. # ``local.conf`` is a user-maintained settings file that is sourced from ``stackrc``. # This gives it the ability to override any variables set in ``stackrc``. # Also, most of the settings in ``stack.sh`` are written to only be set if no # value has already been set; this lets ``local.conf`` effectively override the # default values. # This is a collection of some of the settings we have found to be useful # in our DevStack development environments. Additional settings are described # in http://docs.openstack.org/developer/devstack/configuration.html#local-conf # These should be considered as samples and are unsupported DevStack code. # The ``localrc`` section replaces the old ``localrc`` configuration file. # Note that if ``localrc`` is present it will be used in favor of this section. [[local|localrc]] GIT_BASE=${GIT_BASE:-https://github.com} DEST=/opt/stack # Minimal Contents # ---------------- # While ``stack.sh`` is happy to run without ``localrc``, devlife is better when # there are a few minimal variables set: # If the ``*_PASSWORD`` variables are not set here you will be prompted to enter # values for them by ``stack.sh``and they will be added to ``local.conf``. SERVICE_TOKEN=devstackabcd ADMIN_PASSWORD=devstack MYSQL_PASSWORD=password RABBIT_PASSWORD=devstack SERVICE_PASSWORD=devstack 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 VERBOSE=True IP_VERSION="4" DEST=/opt/stack LOGFILE=$DEST/logs/stack.sh.log LOGDIR=$DEST/logs LOG_COLOR=False LOGDAYS=0 # ``HOST_IP`` and ``HOST_IPV6`` should be set manually for best results if # the NIC configuration of the host is unusual, i.e. ``eth1`` has the default # route but ``eth0`` is the public interface. They are auto-detected in # ``stack.sh`` but often is indeterminate on later runs due to the IP moving # from an Ethernet interface to a bridge on the host. Setting it here also # makes it available for ``openrc`` to include when setting ``OS_AUTH_URL``. # Neither is set by default. #HOST_IP=w.x.y.z #HOST_IPV6=2001:db8::7 # Logging # ------- # By default ``stack.sh`` output only goes to the terminal where it runs. It can # be configured to additionally log to a file by setting ``LOGFILE`` to the full # path of the destination log file. A timestamp will be appended to the given name. LOGFILE=$DEST/logs/stack.sh.log # Old log files are automatically removed after 7 days to keep things neat. Change # the number of days by setting ``LOGDAYS``. LOGDAYS=2 # Nova logs will be colorized if ``SYSLOG`` is not set; turn this off by setting # ``LOG_COLOR`` false. #LOG_COLOR=False # Using milestone-proposed branches # --------------------------------- # Uncomment these to grab the milestone-proposed branches from the # repos: #CINDER_BRANCH=milestone-proposed #GLANCE_BRANCH=milestone-proposed #HORIZON_BRANCH=milestone-proposed #KEYSTONE_BRANCH=milestone-proposed #KEYSTONECLIENT_BRANCH=milestone-proposed #NOVA_BRANCH=milestone-proposed #NOVACLIENT_BRANCH=milestone-proposed #NEUTRON_BRANCH=milestone-proposed #SWIFT_BRANCH=milestone-proposed # Using git versions of clients # ----------------------------- # By default clients are installed from pip. See LIBS_FROM_GIT in # stackrc for details on getting clients from specific branches or # revisions. e.g. # LIBS_FROM_GIT="python-ironicclient" # IRONICCLIENT_BRANCH=refs/changes/44/2.../1 # Swift # ----- # Swift is now used as the back-end for the S3-like object store. Setting the # hash value is required and you will be prompted for it if Swift is enabled # so just set it to something already: SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5 # For development purposes the default of 3 replicas is usually not required. # Set this to 1 to save some resources: SWIFT_REPLICAS=1 # The data for Swift is stored by default in (``$DEST/data/swift``), # or (``$DATA_DIR/swift``) if ``DATA_DIR`` has been set, and can be # moved by setting ``SWIFT_DATA_DIR``. The directory will be created # if it does not exist. SWIFT_DATA_DIR=$DEST/data RECLONE=NO PIP_UPGRADE=FALSE VOLUME_GROUP="stack-volumes" VOLUME_NAME_PREFIX="volume-" VOLUME_BACKING_FILE_SIZE=40250M SERVICE_TIMEOUT=2400 disable_service n-net enable_service tempest enable_service neutron enable_service horizon enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-meta enable_service q-l3 enable_service q-metering enable_plugin manila https://github.com/openstack/manila IMAGE_URLS="http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-uec.tar.gz"
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
