Giter Site home page Giter Site logo

Comments (4)

juliakreger avatar juliakreger commented on June 23, 2024

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.

maelk avatar maelk commented on June 23, 2024

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.

yakiyoshi avatar yakiyoshi commented on June 23, 2024

@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.

rkamudhan avatar rkamudhan commented on June 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.