Comments (4)
Greetings @yakiyoshi! You can see some discussion on issue #130 which should hopefully shed light for you on what the issue is and how to remedy it. We have a patch in upstream ironic that is in review at this time. In essence a security fix broke the fast track feature and the the testing didn't catch it with the way it has been setup to use from RPMs until metal3 was already impacted.
Your fastest fix until we get upstream patched, is to turn off the fast track configuration in ironic.conf in your ironic-image container.
from ironic-image.
You can see an example in the baremetal operator deployment. The workaround configmap is here : https://github.com/metal3-io/baremetal-operator/blob/master/deploy/ironic_bmo_configmap.env#L9
from ironic-image.
@juliakreger @maelk
Thank you for a valuable suggestion.
Setting IRONIC_FAST_TRACK=false environment value in the ironic container is working fine!
from ironic-image.
@yakiyoshi @maelk @juliakreger , I am getting the same error
2020-02-13 21:35:24.172 27 ERROR ironic.conductor.utils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Node b20054f5-493d-494f-88c9-3af5038ad300 failed deploy step {'step': 'deploy', 'priority': 100, 'argsinfo': None, 'interface': 'deploy'}. Error: Agent driver requires agent_url in driver_internal_info: ironic_lib.exception.IronicException: Agent driver requires agent_url in driver_internal_info
in the latest ironic image s follow:
2020-02-13 21:35:24.101 27 DEBUG ironic.common.states [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Exiting old state 'deploying' in response to event 'wait' on_exit /usr/lib/python3.6/site-packages/ironic/common/states.py:294
2020-02-13 21:35:24.102 27 DEBUG ironic.common.states [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Entering new state 'wait call-back' in response to event 'wait' on_enter /usr/lib/python3.6/site-packages/ironic/common/states.py:300
2020-02-13 21:35:24.134 27 INFO ironic.conductor.task_manager [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Node b20054f5-493d-494f-88c9-3af5038ad300 moved to provision state "wait call-back" from state "deploying"; target provision state is "active"
2020-02-13 21:35:24.136 27 DEBUG ironic.common.states [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Exiting old state 'wait call-back' in response to event 'resume' on_exit /usr/lib/python3.6/site-packages/ironic/common/states.py:294
2020-02-13 21:35:24.136 27 DEBUG ironic.common.states [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Entering new state 'deploying' in response to event 'resume' on_enter /usr/lib/python3.6/site-packages/ironic/common/states.py:300
2020-02-13 21:35:24.168 27 INFO ironic.conductor.task_manager [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Node b20054f5-493d-494f-88c9-3af5038ad300 moved to provision state "deploying" from state "wait call-back"; target provision state is "active"
2020-02-13 21:35:24.169 27 DEBUG ironic.drivers.modules.agent [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Continuing deploy for node b20054f5-493d-494f-88c9-3af5038ad300 with image http://172.22.0.1/images/bionic-server-cloudimg-amd64.img continue_deploy /usr/lib/python3.6/site-packages/ironic/drivers/modules/agent.py:206
2020-02-13 21:35:24.170 27 DEBUG ironic.drivers.modules.agent_client [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Preparing image bionic-server-cloudimg-amd64.img on node b20054f5-493d-494f-88c9-3af5038ad300. prepare_image /usr/lib/python3.6/site-packages/ironic/drivers/modules/agent_client.py:193
2020-02-13 21:35:24.172 27 ERROR ironic.conductor.utils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Node b20054f5-493d-494f-88c9-3af5038ad300 failed deploy step {'step': 'deploy', 'priority': 100, 'argsinfo': None, 'interface': 'deploy'}. Error: Agent driver requires agent_url in driver_internal_info: ironic_lib.exception.IronicException: Agent driver requires agent_url in driver_internal_info
2020-02-13 21:35:24.209 27 DEBUG ironic.common.pxe_utils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Cleaning up PXE config for node b20054f5-493d-494f-88c9-3af5038ad300 clean_up_pxe_config /usr/lib/python3.6/site-packages/ironic/common/pxe_utils.py:341
2020-02-13 21:35:24.210 27 DEBUG oslo_concurrency.lockutils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Lock "master_image" acquired by "ironic.drivers.modules.image_cache.ImageCache.clean_up" :: waited 0.000s inner /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:358
2020-02-13 21:35:24.211 27 DEBUG ironic.drivers.modules.image_cache [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Starting clean up for master image cache /shared/tftpboot clean_up /usr/lib/python3.6/site-packages/ironic/drivers/modules/image_cache.py:198
2020-02-13 21:35:24.211 27 DEBUG oslo_concurrency.lockutils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Lock "master_image" released by "ironic.drivers.modules.image_cache.ImageCache.clean_up" :: held 0.002s inner /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:370
2020-02-13 21:35:24.212 27 DEBUG ironic.common.pxe_utils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Cleaning up PXE config for node b20054f5-493d-494f-88c9-3af5038ad300 clean_up_pxe_config /usr/lib/python3.6/site-packages/ironic/common/pxe_utils.py:341
2020-02-13 21:35:24.213 27 DEBUG oslo_concurrency.lockutils [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Lock "master_image" acquired by "ironic.drivers.modules.image_cache.ImageCache.clean_up" :: waited 0.000s inner /usr/lib/python3.6/site-packages/oslo_concurrency/lockutils.py:358
2020-02-13 21:35:24.214 27 DEBUG ironic.drivers.modules.image_cache [req-ff7c67e9-c321-4dec-b174-4a3e5bc3d340 - - - - -] Starting clean up for master image cache /shared/tftpboot clean_up /usr/lib/python3.6/site-packages/ironic/drivers/modules/image_cache.py:198```
from ironic-image.
Related Issues (20)
- runmariadb seems to fail with MariaDB 10.3.28 HOT 3
- machine partition creation issue when qcow2 user image is supplied HOT 8
- Security scan reports high level vulnerabilities in ironic and ironic-inspector images HOT 5
- ProvisioningError :blkid returns with Exit code:2 HOT 9
- Split up separate components into seperate Images HOT 17
- ironic.common.exception.InvalidMAC: Expected a MAC address but received (WWN) HOT 6
- Image metal3-io/ironic:capm3-v0.4.3 unavailable. HOT 3
- Change default branch to "main" HOT 4
- Ironic image cache cleaning removes some of the images
- Image metal3-io/ironic:capm3-v0.5.4 unavailable HOT 3
- Error setting up bootloader. Error UTF-16 stream does not start with BOM: UnicodeError: UTF-16 stream does not start with BOM HOT 11
- unable to build base image HOT 4
- Missing idrac-redfish interface for raid HOT 1
- Feature request: Environment variable to change IPA collectors HOT 1
- Introducing ipxe security hardening options HOT 9
- Nova power notification warning in log HOT 2
- Allow overriding/specifying IRONIC_IP/IRONIC_URL_HOST HOT 8
- Proposal: Extract configuration generation to init-container HOT 20
- Support building for multiple architectures HOT 4
- Ironic-image can't use to be as a http HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironic-image.