Sphinx Warning for ironic.drivers.modules.deploy_utils
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Critical
|
Pavlo Shchelokovskyy |
Bug Description
When generating our developer docs, sphinx is issuing a warning, and treating it as an error. Which results in gate-ironic-
eg: http://
2017-05-31 10:49:20.991981 | Running Sphinx v1.6.2
2017-05-31 10:49:21.379217 | Initializing sphinxcontrib.
2017-05-31 10:49:21.427799 | loading pickled environment... not yet created
2017-05-31 10:49:21.450817 | Using openstack theme from /home/jenkins/
...
2017-05-31 10:50:18.081982 | 2017-05-31 10:50:18.081 8408 INFO sphinx.util [-]
2017-05-31 10:50:18.082250 | 2017-05-31 10:49:27.792 8408 WARNING ironic.
2017-05-31 10:50:18.082337 |
2017-05-31 10:50:18.082361 | Warning, treated as error:
2017-05-31 10:50:18.082415 | The default value of default_boot_option configuration will change eventually from "netboot" to "local". It is recommended to set an explicit value for it during the transition period
2017-05-31 10:50:18.269433 | ERROR: InvocationError: '/home/
summary: |
- Warning for ironic.drivers.modules.deploy_utils + Sphinx Warning for ironic.drivers.modules.deploy_utils |
Changed in ironic: | |
assignee: | Pavlo Shchelokovskyy (pshchelo) → Ruby Loo (rloo) |
It isn't clear to me what that warning is about. We've had that code there for quite awhile, no warning is emitted when using sphinx 1.5.5
In March, we added Sphinx's 'warning-is-error' flag [1] and all was fine until yesterday.
If I turn that flag off (in setup.cfg), the warning is not emitted and all is fine.
[1] https:/ /github. com/openstack/ ironic/ commit/ 4cff2ab6d56b014 31d52a067aa415d 3d0f14f404# diff-380c6a8ebb bce17d55d50ef17 d3cf906