Bug 1172129
| Summary: | neutron subnet-create error halts packstack installation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Mike Abrams <mabrams> | ||||||
| Component: | openstack-packstack | Assignee: | Gaël Chamoulaud <gchamoul> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.0 (RHEL 7) | CC: | aortega, derekh, ichavero, jschluet, nyechiel, oblaut, sclewis, srevivo, yeylon | ||||||
| Target Milestone: | ga | Keywords: | TestBlocker, ZStream | ||||||
| Target Release: | 5.0 (RHEL 7) | Flags: | ichavero:
internal-review+
|
||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-puppet-modules-2014.1.1-2.el7ost | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1172265 1174413 (view as bug list) | Environment: | |||||||
| Last Closed: | 2015-07-28 15:10:28 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1172265, 1174413 | ||||||||
| Attachments: |
|
||||||||
|
Description
Mike Abrams
2014-12-09 13:05:46 UTC
This looks like the new python-neutronclient command line changed vs. 2.3.6 in 5A, breaking packstack. Debug: Executing '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=e6412d3249b34b469d63876a24af5ebf public 172.24.4.224/28'
Error: Execution of '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=e6412d3249b34b469d63876a24af5ebf public 172.24.4.224/28' returned 2: usage: neutron subnet-create [-h] [-f
{shell,table}] [-c COLUMN]
[--variable VARIABLE] [--prefix PREFIX]
[--request-format {json,xml}]
[--tenant-id TENANT_ID] [--name NAME]
[--gateway GATEWAY_IP] [--no-gateway]
[--allocation-pool start=IP_ADDR,end=IP_ADDR]
[--host-route destination=CIDR,nexthop=IP_ADDR]
[--dns-nameserver DNS_NAMESERVER]
[--disable-dhcp] [--enable-dhcp]
[--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ip-version {4,6}]
NETWORK CIDR
neutron subnet-create: error: argument --enable-dhcp: ignored explicit argument u'False'
Error: /Stage[main]/Main/Neutron_subnet[public_subnet]/ensure: change from absent to present failed: Execution of '/usr/bin/neutron subnet-create --format=shell --name=public_subnet --enable-dhcp=False --tenant_id=e6412d3249b34
b469d63876a24af5ebf public 172.24.4.224/28' returned 2: usage: neutron subnet-create [-h] [-f {shell,table}] [-c COLUMN]
[--variable VARIABLE] [--prefix PREFIX]
[--request-format {json,xml}]
[--tenant-id TENANT_ID] [--name NAME]
[--gateway GATEWAY_IP] [--no-gateway]
[--allocation-pool start=IP_ADDR,end=IP_ADDR]
[--host-route destination=CIDR,nexthop=IP_ADDR]
[--dns-nameserver DNS_NAMESERVER]
[--disable-dhcp] [--enable-dhcp]
[--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ip-version {4,6}]
NETWORK CIDR
neutron subnet-create: error: argument --enable-dhcp: ignored explicit argument u'False'
Created attachment 966404 [details]
0001-Fix-the-subnet-dhcp-enable-disable-param.patch
patch works in both OSP 5 and OSP 5A, creating package. verified using the latest puddle: # rpm -qa |grep puppet-module openstack-puppet-modules-2014.1.1-2.el7ost.noarch |