Bug 971745 - Packstack should show example option formats or values in prompts.
Summary: Packstack should show example option formats or values in prompts.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 3.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: z1
: 4.0
Assignee: Ivan Chavero
QA Contact: Nir Magnezi
URL:
Whiteboard:
: 977955 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-07 08:23 UTC by Jaroslav Henner
Modified: 2016-04-26 13:48 UTC (History)
10 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.21.dev948.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 14:23:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 56796 0 None None None Never
OpenStack gerrit 62974 0 None None None Never
Red Hat Product Errata RHBA-2014:0046 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 4 Bug Fix and Enhancement Advisory 2014-01-23 00:51:59 UTC

Description Jaroslav Henner 2013-06-07 08:23:39 UTC
Description of problem:
Packstack should be more descriptive about it's inputs:

# A comma separated list of VLAN ranges for the Quantum linuxbridge
# plugin
CONFIG_QUANTUM_LB_VLAN_RANGES=

what is the VLAN range format? 10-50 or 10:50 ?


# A comma separated list of interface mappings for the Quantum
# linuxbridge plugin
CONFIG_QUANTUM_LB_INTERFACE_MAPPINGS=

physnet1:eth1 or host1:physnet1:eth1, host2:physnet1:eth1


# Type of network to allocate for tenant networks
CONFIG_QUANTUM_LB_TENANT_NETWORK_TYPE=local

I would at least showed vlan, local


Same should be done for OVS

Version-Release number of selected component (if applicable):
openstack-packstack-2013.1.1-0.10.dev605.el6ost.noarch

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Alvaro Lopez Ortega 2013-11-13 19:04:40 UTC
*** Bug 977955 has been marked as a duplicate of this bug. ***

Comment 3 Alvaro Lopez Ortega 2013-11-18 13:26:29 UTC
Merged. Moving to MODIFIED.

Comment 5 Scott Lewis 2013-11-19 16:54:32 UTC
Auto adding >= MODIFIED bugs to beta

Comment 8 Nir Magnezi 2013-12-18 12:18:14 UTC
Tested NVR: openstack-packstack-2013.2.1-0.20.dev936.el6ost.noarch

generated a packstack answer file.

(In reply to Jaroslav Henner from comment #0)
> Description of problem:
> Packstack should be more descriptive about it's inputs:
> 
> # A comma separated list of VLAN ranges for the Quantum linuxbridge
> # plugin
> CONFIG_QUANTUM_LB_VLAN_RANGES=
> 
> what is the VLAN range format? 10-50 or 10:50 ?
> 

snipped from the newly generated packstack answer file:
# A comma separated list of VLAN ranges for the Neutron linuxbridge
# plugin (eg. physnet1:1:4094,physnet2,physnet3:3000:3999)
CONFIG_NEUTRON_LB_VLAN_RANGES=

> 
> # A comma separated list of interface mappings for the Quantum
> # linuxbridge plugin
> CONFIG_QUANTUM_LB_INTERFACE_MAPPINGS=
> 
> physnet1:eth1 or host1:physnet1:eth1, host2:physnet1:eth1
> 

snipped from the newly generated packstack answer file:
# A comma separated list of interface mappings for the Neutron
# linuxbridge plugin (eg. physnet1:br-eth1,physnet2:br-eth2,physnet3
# :br-eth3)
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=

> 
> # Type of network to allocate for tenant networks
> CONFIG_QUANTUM_LB_TENANT_NETWORK_TYPE=local
> 
> I would at least showed vlan, local
> 
snipped from the newly generated packstack answer file:
# The type of network to allocate for tenant networks (eg. vlan,
# local, gre)
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=local

> 
> Same should be done for OVS
> 
snipped from the newly generated packstack answer file:
# Type of network to allocate for tenant networks (eg. vlan, local,
# gre)
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=local

# A comma separated list of VLAN ranges for the Neutron openvswitch
# plugin (eg. physnet1:1:4094,physnet2,physnet3:3000:3999)
CONFIG_NEUTRON_OVS_VLAN_RANGES=

# A comma separated list of bridge mappings for the Neutron
# openvswitch plugin (eg. physnet1:br-eth1,physnet2:br-eth2,physnet3
# :br-eth3)
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=

# A comma separated list of colon-separated OVS bridge:interface
# pairs. The interface will be added to the associated bridge.
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=


The following parameters should be more descriptive about their inputs as well:

# A comma separated list of tunnel ranges for the Neutron openvswitch
# plugin
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=

# Override the IP used for GRE tunnels on this hypervisor to the IP
# found on the specified interface (defaults to the HOST IP)
CONFIG_NEUTRON_OVS_TUNNEL_IF=

Comment 10 Ivan Chavero 2013-12-18 20:38:39 UTC
Fixed on this review: https://review.openstack.org/#/c/62974/

Comment 11 Alvaro Lopez Ortega 2013-12-18 21:05:39 UTC
Patch reviewed and merged.

Comment 15 Nir Magnezi 2014-01-15 12:44:41 UTC
Verified NVR: openstack-packstack-2013.2.1-0.22.dev956.el6ost.noarch


Following to Comment #8, Verified the descriptions of CONFIG_NEUTRON_OVS_TUNNEL_RANGES and CONFIG_NEUTRON_OVS_TUNNEL_IF

Result:
=======
# A comma separated list of tunnel ranges for the Neutron openvswitch
# plugin (eg. 1:1000)
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=

# The interface for the OVS tunnel. Packstack will override the IP
# address used for GRE tunnels on this hypervisor to the IP found on
# the specified interface. (eg. eth1)
CONFIG_NEUTRON_OVS_TUNNEL_IF=

Comment 17 Ivan Chavero 2014-01-17 23:35:13 UTC
doc text set to "-"

Comment 20 Lon Hohberger 2014-02-04 17:20:23 UTC
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.

https://rhn.redhat.com/errata/RHBA-2014-0046.html


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