-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update terraform-libvirt-provider
#1023
base: master
Are you sure you want to change the base?
Conversation
6ef86bd
to
2f41851
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM, but I fail to understand why you are asking to remove the old RPM instead of just updating. I guess it was already discussed with QA.
I think you will also need to send an email to the mailing lists about this, as it can crash environments for the developers.
@juliogonzalez we need to remove because the way the plugin is provided will change. When this PR is merged, we need to:
|
100% correct. I didn't remember we were working on this before the holidays :-D
PR LGTM. I am approving now. Feel free to merge as soon as QE is happy about it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but let's schedule it please. We can do it on a Monday so we do the cleanups/removal/installation etc at the end of the day and start again all envs. That way we see on Tuesday if there is a problem.
As per #1017 (comment) we should update this once again if we don't want to get trouble with our SSH Servers. |
Some more context here: dmacvicar/terraform-provider-libvirt#916 (provieded by @nodeg ) Background: The current provider will not work with an updated ssh (from version 8.8) and machines will not be accessible. |
2f41851
to
780cec5
Compare
@nkrinner I updated the PR to use the latest version of the provider (0.6.14), which should solve this problem according to the release notes [1]. [1] https://github.com/dmacvicar/terraform-provider-libvirt/releases/tag/v0.6.14 |
Sorry to be that bad guy, but I think that starting Beta submissions, it might not be the right moment for risky changes or big refactors, I would wait until we release 4.3 |
Since 4.3 FCS is coming soon, we can give this another try after it. |
After FCS 👍🏼 |
The SUMA kick off is nearly over. What about doing this next week? |
@rjmateus Could you update SUSE/susemanager-ci#432 to be up to date with this one? |
Signed-off-by: Ricardo Mateus <[email protected]>
@nodeg CI PR is updated. We can merge it. I would recommend do it on monday, so we can react on any problem. |
780cec5
to
f3a5370
Compare
Thanks @rjmateus Sorry, I missed this notification until now. I just saw we need the updated package in |
Ok so in our QE retro we discussed that we have to wait until the submissions of 4.3.1 before merging. |
Feel free to merge it now. We can revert if it cause any trouble. |
We should consider updating directly to 0.7.0 which was released in October. |
terraform-libvirt-provider
agree with @nodeg we should update to the latest. After merge we should solve the problems and not revert it |
Thank you @rjmateus I agree, after merging we should solve potential issues and not just revert. If you need help, let me know. |
Sure. But please be sure you reserve time to fix it with urgency if it fails, avoid merging if you will not have time or you will be away. |
But I would suggest first try to run this with the on-PR testsuite. You can change nearly everything in that job and point to branches of susemanager-ci, terraform, sumaform, etc. You should be able to give it a try there first. |
Hey just a reminder that this needs some adjusting and testing again on PR testsuites. It would be the right time to merge these changes in the year otherwise we might delay it until next year again |
We have to wait until the submissions of 4.3.1 before merging.
This PR will only be merged after agreement with QA team, since it can temporarily crash all test environments.
What does this PR change?
Updates sumaform to use terraform loibvirt provider latest provider from terraform registry.
We will be using the upstream provider since all patches were included in the latest released version.
We will keep the repository and provider for uyuni in case we need to add another patch in the future.
When this PR is merged, we need to:
terraform-libvirt-provider
SUSE/susemanager-ci#432terraform-provider-libvirt
/terraform
together with that in the OBS if necessary/wantedHow to upgrade
zypper rm terraform-provider-libvirt
0.6.14
keeping state file
. Otherwise just clan the environment and remove theterraform.tfstate
,.terraform.lock.hcl
and.terraform
terraform init
Keeping state file
terraform.tfstate
cpu
keys. The value should now be an array of objects. To change it just surround the existing content with square brackets ([ {....} ]
)terraform init -upgrade