Error infomation when file api-paste.ini not exsit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Aaron DH |
Bug Description
start magnum-api when api_paste.ini not exsit ,
can not catch ConfigFilesNotF
2016-03-28 14:54:47.780 CRITICAL magnum [-] NoSuchOptError: no such option in group DEFAULT: api_paste_config
2016-03-28 14:54:47.780 TRACE magnum Traceback (most recent call last):
2016-03-28 14:54:47.780 TRACE magnum File "/usr/local/
2016-03-28 14:54:47.780 TRACE magnum sys.exit(main())
2016-03-28 14:54:47.780 TRACE magnum File "/opt/stack/
2016-03-28 14:54:47.780 TRACE magnum app = api_app.load_app()
2016-03-28 14:54:47.780 TRACE magnum File "/opt/stack/
2016-03-28 14:54:47.780 TRACE magnum raise cfg.ConfigFiles
2016-03-28 14:54:47.780 TRACE magnum File "/usr/local/
2016-03-28 14:54:47.780 TRACE magnum raise NoSuchOptError(
2016-03-28 14:54:47.780 TRACE magnum NoSuchOptError: no such option in group DEFAULT: api_paste_config
Changed in magnum: | |
assignee: | nobody → Aaron DH (aaron.d) |
Changed in magnum: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/298087 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=ce55b7619f6 83d308e414bb2cc 8812f5b38e66ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit ce55b7619f683d3 08e414bb2cc8812 f5b38e66ef
Author: Aaron-DH <email address hidden>
Date: Fri Mar 25 20:15:22 2016 +0800
Fix config error
Replace cfg.CONF. api_paste_ ini to cfg.CONF. api.api_ paste_ini
Change-Id: Ibf61fb37f1dae8 77bbeab3dfcb005 be52187fe1a
Closes-Bug: #1562725