Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Fastrack #130

Closed
wants to merge 1 commit into from
Closed

Conversation

derekhiggins
Copy link
Member

A but with fasttrack that was recently fixed, still seems
to be present
https://review.opendev.org/#/c/702011/1

A but with fasttrack that was recently fixed, still seems
to be present
https://review.opendev.org/#/c/702011/1
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: derekhiggins

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 16, 2020
@derekhiggins
Copy link
Member Author

/hold
need to double check this in upstream ironic before merging

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 16, 2020
@elfosardo
Copy link
Member

that's weird, the latest centos8 RDO train openstack-ironic package has the fix
was this tested with the latest image with centos8 as base ?

@derekhiggins
Copy link
Member Author

that's weird, the latest centos8 RDO train openstack-ironic package has the fix
was this tested with the latest image with centos8 as base ?

I seem to have the fix so I'm guessing there is a problem with it

[root@localhost core]# podman logs ironic-conductor | grep ERROR | grep agent_url
2020-01-16 12:24:23.229 1 ERROR ironic.conductor.utils [req-1d6b2359-8f70-407d-b9d7-3c4a9e850453 - - - - -] Node 0d134800-01ca-40e8-ab29-3330524dc61d 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-01-16 12:24:23.277 1 ERROR ironic.conductor.utils [req-40bb5744-8d8e-4b8f-874e-64efcf14df15 - - - - -] Node 88bd79f5-c7d0-4656-902c-6c79498a94c2 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-01-16 12:24:23.403 1 ERROR ironic.conductor.utils [req-5fffaa67-b1c8-4243-b55b-4591bb3b1721 - - - - -] Node f5aa6af3-225f-4eab-8db4-2be8acb4e401 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-01-16 12:24:23.406 1 ERROR ironic.conductor.task_manager [req-1d6b2359-8f70-407d-b9d7-3c4a9e850453 - - - - -] Node 0d134800-01ca-40e8-ab29-3330524dc61d moved to provision state "deploy failed" from state "deploying"; target provision state is "active": ironic_lib.exception.IronicException: Agent driver requires agent_url in driver_internal_info
2020-01-16 12:24:23.483 1 ERROR ironic.conductor.task_manager [req-40bb5744-8d8e-4b8f-874e-64efcf14df15 - - - - -] Node 88bd79f5-c7d0-4656-902c-6c79498a94c2 moved to provision state "deploy failed" from state "deploying"; target provision state is "active": ironic_lib.exception.IronicException: Agent driver requires agent_url in driver_internal_info
2020-01-16 12:24:23.508 1 ERROR ironic.conductor.task_manager [req-5fffaa67-b1c8-4243-b55b-4591bb3b1721 - - - - -] Node f5aa6af3-225f-4eab-8db4-2be8acb4e401 moved to provision state "deploy failed" from state "deploying"; target provision state is "active": ironic_lib.exception.IronicException: Agent driver requires agent_url in driver_internal_info
[root@localhost core]# 
[root@localhost core]# 
[root@localhost core]# 
[root@localhost core]# podman exec -it ironic-conductor bash 
[root@localhost /]# cat /etc/redhat-release 
CentOS Linux release 8.1.1911 (Core) 
[root@localhost /]# grep -B 3 -A 3 fast_track /usr/lib/python3.6/site-packages/ironic/conductor/manager.py 
        driver_internal_info.pop('cleaning_reboot', None)
        driver_internal_info.pop('cleaning_polling', None)
        # Remove agent_url
        if not utils.fast_track_able(task):
            driver_internal_info.pop('agent_url', None)
        node.driver_internal_info = driver_internal_info
        node.save()
[root@localhost /]# rpm -qa | grep ironic-con
openstack-ironic-conductor-13.0.3-0.20200110204733.7f1f79a.el8.noarch
[root@localhost /]# 

@juliakreger
Copy link
Member

juliakreger commented Jan 17, 2020

@derekhiggins The only thing I can think is that you've got an error in last_error, or cleaning is exiting an unexpected path. If I can get the complete log for the deploy and the node output, then that would help me figure out what is going on. I double checked the path and I don't see where else it could be exiting.. so I'm a little confused.

Edit: I think I just figured it out after clicking save. Working on new patch.

@juliakreger
Copy link
Member

Hey @derekhiggins, give https://review.opendev.org/703160 a try.

@maelk
Copy link
Member

maelk commented Jan 20, 2020

This was already disabled in Baremetal Operator. The fast track option is set to false in the configmap. This is probably not needed.

@derekhiggins
Copy link
Member Author

Hey @derekhiggins, give https://review.opendev.org/703160 a try.

Thanks, Ya, its fixed/working now, the the container images needs to be rebuilt to pick up the new ironic...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants