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

Add bios change job wait using StateChangeConf method #27

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

brutus333
Copy link
Contributor

Fixes #18

Signed-off-by: Virgil Chereches virgil.chereches@gmail.com

SUMMARY

Closes #18

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

redfish_bios

ADDITIONAL INFORMATION

The provider should wait until bios change job has finished and return a failure if the job fails.
The right way to implement this wait is by using TF SDK StateChangeConf method - other providers such as GCP and AWS ones are using this method whenever the provider should wait after some events during create/update of a resource.


Release note for CHANGELOG:


Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Fixes dell#18

Signed-off-by: Virgil Chereches <virgil.chereches@gmail.com>
@brutus333
Copy link
Contributor Author

This is a first attempt to fix the provider - as of now the code does not deal with error conditions like loosing access to iDRAC, job hanging and other exceptions that might occur.
I propose to open a different issue to deal with that part.

@anupamaloke anupamaloke added this to the v0.2.0 milestone Apr 9, 2021
@anupamaloke anupamaloke self-requested a review April 9, 2021 08:09
@grantcurell
Copy link
Collaborator

@brutus333 I have to know - did you go to Ohio State? Or is the name unrelated and this question makes no sense?

@brutus333
Copy link
Contributor Author

@brutus333 I have to know - did you go to Ohio State? Or is the name unrelated and this question makes no sense?

@grantcurell : no, not at all. Is this a kind of joke?

@anupamaloke
Copy link
Collaborator

@brutus333 my sincere apologies for the delay in review. I will be taking a look and provide comments, if any.

@grantcurell
Copy link
Collaborator

@brutus333 I have to know - did you go to Ohio State? Or is the name unrelated and this question makes no sense?

@grantcurell : no, not at all. Is this a kind of joke?

Not a joke hahaha sorry I added to the confusion. In my area of the US, Brutus is an uncommon name and usually whenever you see it, it refers to the mascot of a large school nearby. It is particularly popular in user names

Copy link
Collaborator

@anupamaloke anupamaloke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anupamaloke anupamaloke merged commit c9dafdc into dell:master Apr 29, 2021
@brutus333 brutus333 deleted the feature/wait-for-bios-config-job branch August 10, 2021 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Wait for BIOS update job to finish
3 participants