cinder-manage traceback on missing action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Gorka Eguileor |
Bug Description
Running the cinder-manage command with a category but without an action will throw a Traceback.
$ cinder-manage backup
2020-11-04 10:44:49.541 9465 CRITICAL cinder [-] Unhandled error: oslo_config.
2020-11-04 10:44:49.541 9465 ERROR cinder Traceback (most recent call last):
2020-11-04 10:44:49.541 9465 ERROR cinder File "/home/
2020-11-04 10:44:49.541 9465 ERROR cinder return getattr(
2020-11-04 10:44:49.541 9465 ERROR cinder AttributeError: '_Namespace' object has no attribute 'action_fn'
2020-11-04 10:44:49.541 9465 ERROR cinder
2020-11-04 10:44:49.541 9465 ERROR cinder During handling of the above exception, another exception occurred:
2020-11-04 10:44:49.541 9465 ERROR cinder
2020-11-04 10:44:49.541 9465 ERROR cinder Traceback (most recent call last):
2020-11-04 10:44:49.541 9465 ERROR cinder File "/home/
2020-11-04 10:44:49.541 9465 ERROR cinder sys.exit(main())
2020-11-04 10:44:49.541 9465 ERROR cinder File "/home/
2020-11-04 10:44:49.541 9465 ERROR cinder fn = CONF.category.
2020-11-04 10:44:49.541 9465 ERROR cinder File "/home/
2020-11-04 10:44:49.541 9465 ERROR cinder raise NoSuchOptError(
2020-11-04 10:44:49.541 9465 ERROR cinder oslo_config.
2020-11-04 10:44:49.541 9465 ERROR cinder
tags: | added: cli error option |
Changed in cinder: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/761390
Review: https:/