Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 986024 - Set up quantum networks/subnets/routers for allinone for parity with Nova Networking
Set up quantum networks/subnets/routers for allinone for parity with Nova Net...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
3.0
All Linux
urgent Severity urgent
: z2
: 3.0
Assigned To: Terry Wilson
yfried
Stephen Gordon
: ZStream
Depends On:
Blocks: 986036
  Show dependency treegraph
 
Reported: 2013-07-18 15:26 EDT by Terry Wilson
Modified: 2016-04-26 12:13 EDT (History)
7 users (show)

See Also:
Fixed In Version: openstack-packstack-2013.1.1-0.24.dev651.el6ost
Doc Type: Bug Fix
Doc Text:
Previously when using Quantum/Neutron with packstack, networks/subnets/routers had to be manually configured, a process that was complex and could lead to errors. The packstack --allinone command has been modified and new answer file options have been added: CONFIG_KEYSTONE_DEMO_PW The demo tenant password. Automatically configured/no prompting just like the ADMIN_PW. Only actually used if CONFIG_PROVISION_DEMO=y CONFIG_PROVISION_DEMO Whether to provision demo quantum networks/subnets/routers Requires: CONFIG_QUANTUM_INSTALL=y and CONFIG_QUANTUM_USE_NAMESPACES=y CONFIG_PROVISION_TEMPEST Whether to set up tempest for running tests against the Openstack install Requires: CONFIG_QUANTUM_INSTALL=y and CONFIG_QUANTUM_USE_NAMESPACES=y CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE Whether to set up the L3 external bridge with the appropriate IP address to act as the gateway for VMs. The --allinone option will automatically enable CONFIG_PROVISION_DEMO and CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE if CONFIG_QUANTUM_INSTALL=y (which it is by default). --allinone --os-quantum-install=n still works for installing without Quantum. Additional changes: 1) A new 'demo' keystone tenant has been added along with a keystonerc_demo file which can be sourced like the existing keystonerc_admin. You should log into Horizon using the 'demo' account instead of the 'admin' account due to the ownership of the private and public networks. 2) When launching a VM via Horizon, you additionally need to go to the "Network" tab and select the "private" network. 3) Current instructions specify creating a security group rule to allow SSH traffic. An ICMP rule has been added as well. Instructions for installing Neutron using PackStack are available at http://openstack.redhat.com/Neutron-Quickstart.
Story Points: ---
Clone Of:
: 986036 (view as bug list)
Environment:
Last Closed: 2013-09-03 15:57:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 37731 None None None Never
OpenStack gerrit 37747 None None None Never
OpenStack gerrit 37748 None None None Never
OpenStack gerrit 37749 None None None Never
OpenStack gerrit 37750 None None None Never
Red Hat Product Errata RHBA-2013:1186 normal SHIPPED_LIVE Red Hat OpenStack 3.0 bug fix advisory 2013-09-03 19:55:39 EDT

  None (edit)
Description Terry Wilson 2013-07-18 15:26:01 EDT
The experience with installing via packstack with Quantum/Neutron is poor, compared with installing with Nova networking. This is primarily due to the fact that with Quantum/Neutron it is necessary to manually create networks/subnets/routers to be able to launch a VM.

We should implement things in such a way that:

$ packstack --allinone

with quantum/neutron enabled leaves things in a state that is as close to what a user would get functionality-wise with Nova networking (i.e. the user should be able to follow the instructions at http://openstack.redhat.com/Running_an_instance) with as few changes as possible.

(this work is already done, but this bug is to track actually getting everything in the release)
Comment 1 Terry Wilson 2013-07-18 16:11:29 EDT
New answer file options:

CONFIG_KEYSTONE_DEMO_PW
  The demo tenant password. Automatically configured/no prompting just like the ADMIN_PW. Only actually used if CONFIG_PROVISION_DEMO=y
CONFIG_PROVISION_DEMO
  Whether to provision demo quantum networks/subnets/routers
  Requires: CONFIG_QUANTUM_INSTALL=y and CONFIG_QUANTUM_USE_NAMESPACES=y
CONFIG_PROVISION_TEMPEST
  Whether to set up tempest for running tests against the Openstack install
  Requires: CONFIG_QUANTUM_INSTALL=y and CONFIG_QUANTUM_USE_NAMESPACES=y
CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE
  Whether to set up the L3 external bridge with the appropriate IP address to act as the gateway for VMs.

The --allinone option will automatically enable CONFIG_PROVISION_DEMO and CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE if CONFIG_QUANTUM_INSTALL=y (which it is by default). --allinone --os-quantum-install=n still works for installing w/o quantum.

Additional changes:
1) A new 'demo' keystone tenant is added along with a keystonerc_demo file which can be sourced like the existing keystonerc_admin. Users should log into horizon using the 'demo' account instead of the 'admin' account due to the ownership of the private and public networks.

2) When launching a VM via horizon, the user will additionally need to go to the "Network" tab and select the "private" network.

3) Current instructions specify creating an security group rule to allow SSH traffic. It might be helpful to have them add an ICMP rule as well (entering -1 for the two fields to allow all ICMP)
Comment 5 Scott Lewis 2013-07-31 14:21:08 EDT
Next release is 2013.1.3
Comment 7 yfried 2013-08-19 10:25:43 EDT
# rpm -qa |grep packstack
packstack-modules-puppet-2013.1.1-0.27.dev660.el6ost.noarch
openstack-packstack-2013.1.1-0.27.dev660.el6ost.noarch


packstack --allinone creates demo tenant&user with public and private networks

need to add icmp to security-group

instances are booted and pinged in private network
allocated floating ip and pinged ok

# packstack --allinone
# quantum security-group-rule-create --protocol icmp --direction ingress 3a0e68a4-7a92-4c16-bbf4-2c509671ea82
# quantum security-group-rule-create 3a0e68a4-7a92-4c16-bbf4-2c509671ea82 --protocol icmp --direction egress
# nova boot --flavor 2 test_image --image cirros
# ip netns exec qrouter-e0792394-65d0-4a67-8559-bb2bd3930bc4 ping 10.0.0.3
# quantum floatingip-create public
# quantum floatingip-associate 9a153f75-28e9-4dad-89ef-0d886edf2c27 bf1b7600-ea29-46aa-be01-0a19a251b729
# ping 172.24.4.227
Comment 8 Bruce Reeler 2013-08-22 23:29:20 EDT
Needinfo for Terry Wilson:
I am writing the Doc Text for bug advisories. As the Doc Text field was blank, I have written the current Doc Text from scratch. Could you please edit it and correct as necessary.

Especially the final para: 3) Current instructions specify ... needs some clarification,.e.g. which instructions are referred to, is it step 2 of http://openstack.redhat.com/Running_an_instance ? Is the "it might be helpful to have them add an ICMP rule..." actually a must? 

And do you know if RDO instructions will be updated?
Comment 9 Terry Wilson 2013-08-23 11:52:36 EDT
Bruce Reeler: Doc text mostly looks good. On part 3, there are currently instructions set up for using Quantum/packstack at http://openstack.redhat.com/Neutron-Quickstart. This is an alternative to the "default" quickstart at http://openstack.redhat.com/Quickstart as we wanted to give people a chance to beat on the neutron-based install before recommending it for everyone. The linked instructions include the ICMP security group rule.
Comment 10 Terry Wilson 2013-08-26 09:26:41 EDT
Bruce: Works for me. I'd probably leave 3) out alltogether as it is just an update to external documentation that people will get when they reference the documentation at the next line. But, it doesn't hurt to have it in.
Comment 12 errata-xmlrpc 2013-09-03 15:57:37 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1186.html

Note You need to log in before you can comment on or make changes to this bug.