Bug 1268945

Summary: Could not load EntryPoint.parse('overcloud_netenv_validate = rdomanager_oscplugin.v1.overcloud_netenv_validate:ValidateOvercloudNetenv')
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: python-openstackclientAssignee: Jason E. Rist <jrist>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: apevec, beth.white, brad, cchen, felipe.alfaro, jruzicka, jwaterwo, kbasil, lhh, mburns, rhel-osp-director-maint, srevivo
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-18 16:45:51 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:

Description Marius Cornea 2015-10-05 17:18:31 UTC
Description of problem:
openstack --help returns:
Could not load EntryPoint.parse('overcloud_netenv_validate = rdomanager_oscplugin.v1.overcloud_netenv_validate:ValidateOvercloudNetenv')
ERROR: openstack 'ArgumentParser' object has no attribute 'debug'

Version-Release number of selected component (if applicable):
python-rdomanager-oscplugin-0.0.10-8.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install undercloud
2. Run openstack --help

Actual results:
Partial commands show up and:
Could not load EntryPoint.parse('overcloud_netenv_validate = rdomanager_oscplugin.v1.overcloud_netenv_validate:ValidateOvercloudNetenv')
ERROR: openstack 'ArgumentParser' object has no attribute 'debug'

Expected results:
The helper commands show up

Comment 3 Brad P. Crochet 2015-10-06 17:26:49 UTC
This is actually a problem within cliff. It is fixed in cliff-1.13.0. Launchpad bug linked.

Comment 4 Brad P. Crochet 2015-10-06 17:35:29 UTC
It also looks like openstackclient 1.6.0 is also required.

Comment 5 Mike Burns 2015-10-13 16:27:15 UTC
flipping this to core based on comments 3 and 4

Comment 8 Jakub Ruzicka 2015-11-30 14:44:58 UTC
Although I find this behavior strange, `--help` isn't supported. Use `openstack help` to show all commands, and `openstack help STRING` to show help for commands containing STRING. In other words, `--help` is replaced by `help` action in openstackclient.

Comment 9 Jack Waterworth 2016-01-21 15:21:35 UTC
`openstack help` appears to tell us to use the --help flag:

----------------------
[root@manager ~]# openstack help
usage: openstack help [-h] [cmd [cmd ...]]

print detailed help for another command

positional arguments:
  cmd         name of the command

optional arguments:
  -h, --help  show this help message and exit
----------------------

both -h and --help show the error:

----------------------
[root@manager ~]# openstack -h | tail
ERROR: openstack 'ArgumentParser' object has no attribute 'debug'
  network show   Show network details
  object create  Upload object to container
  object delete  Delete object from container
  object list    List objects
  object save    Save object locally
  object show    Display object details
  overcloud deploy  Deploy Overcloud
  overcloud image build  Build images for the overcloud
  overcloud image upload  Create overcloud glance images from existing image files.
Could not load EntryPoint.parse('overcloud_netenv_validate = rdomanager_oscplugin.v1.overcloud_netenv_validate:ValidateOvercloudNetenv')
----------------------

----------------------
[root@manager ~]# openstack --help | tail
ERROR: openstack 'ArgumentParser' object has no attribute 'debug'
  network show   Show network details
  object create  Upload object to container
  object delete  Delete object from container
  object list    List objects
  object save    Save object locally
  object show    Display object details
  overcloud deploy  Deploy Overcloud
  overcloud image build  Build images for the overcloud
  overcloud image upload  Create overcloud glance images from existing image files.
Could not load EntryPoint.parse('overcloud_netenv_validate = rdomanager_oscplugin.v1.overcloud_netenv_validate:ValidateOvercloudNetenv')
----------------------

Comment 12 Beth White 2018-07-18 16:45:51 UTC
This did not make it into the OSP7 release and will not be backported to OSP7 due to EOL coming up.

Comment 13 Red Hat Bugzilla 2023-09-14 03:06:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days