[python-fuelclient] Executing 'fuel2 tag show' command leads to error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Vitalii Kulanov | ||
Mitaka |
Fix Committed
|
Medium
|
Vitalii Kulanov | ||
Newton |
Fix Committed
|
Medium
|
Vitalii Kulanov |
Bug Description
Detailed bug description:
If we try to execute 'fuel2 tag show' command the result will be:
[root@fuel ~]# fuel2 tag show
Traceback (most recent call last):
File "/usr/bin/fuel2", line 10, in <module>
sys.
File "/usr/lib/
return fuelclient_
File "/usr/lib/
return super(FuelClient, self).run(argv)
File "/usr/lib/
result = self.run_
File "/usr/lib/
subcommand = self.command_
File "/usr/lib/
cmd_factory = cmd_ep.resolve()
File "/usr/lib/
raise ImportError(
ImportError: 'module' object has no attribute 'TagShow'
But if we check 'tag' command list, 'tag show' command exists:
[root@fuel ~]# fuel2 tag
fuel2: 'tag' is not a fuel2 command. See 'fuel2 --help'.
Did you mean one of these?
tag create
tag delete
tag download
tag list
tag show
tag update
Steps to reproduce:
1. Deploy Fuel
2. Try to execute 'fuel2 tag show' command
Expected results:
Help message that shows existing tag commands, except 'tag show' one.
Actual result:
[root@fuel ~]# fuel2 tag show
Traceback (most recent call last):
File "/usr/bin/fuel2", line 10, in <module>
sys.
File "/usr/lib/
return fuelclient_
File "/usr/lib/
return super(FuelClient, self).run(argv)
File "/usr/lib/
result = self.run_
File "/usr/lib/
subcommand = self.command_
File "/usr/lib/
cmd_factory = cmd_ep.resolve()
File "/usr/lib/
raise ImportError(
Reproducibility:
Always
Description of the environment:
[root@fuel ~]# shotgun2 short-report
cat /etc/fuel_build_id:
1083
cat /etc/fuel_
1083
cat /etc/fuel_release:
10.0
cat /etc/fuel_
newton-10.0
Additional information:
Actually the problem is that 'fuel2 tag show' command doesn't exist and there is an erroneously added entry point for this command in setup.cfg file (https:/
Also note that this bug was fixed for master branch https:/
Changed in fuel: | |
assignee: | nobody → Vitalii Kulanov (vitaliy-t) |
Changed in fuel: | |
importance: | Undecided → High |
status: | New → Invalid |
importance: | High → Medium |
milestone: | none → 11.0 |
@Stas, what was a reason for Medium priority?