Fix MLM 5.1 payg AWS deployment issues.#1924
Conversation
e8f5bf6 to
c85fb6d
Compare
4ad7d19 to
dc0e37c
Compare
a745139 to
6dbc654
Compare
6dbc654 to
ac5fb6e
Compare
NamelessOne91
left a comment
There was a problem hiding this comment.
Thanks Maxime
A couple of comments in the PR and another question: do we need to actually touch the server > additional_disks.sls Salt states?
I'd expect 5.1 to use server_containerized > additional_disks.sls which relies on the provided tools to setup volumes for the containerized server.
| - name: /usr/local/bin/utils/ | ||
| - source: https://github.com/uyuni-project/minima/releases/download/v0.11/minima-linux-amd64.tar.gz | ||
| - source_hash: https://github.com/uyuni-project/minima/releases/download/v0.11/minima-linux-amd64.tar.gz.sha512 | ||
| - source: https://github.com/uyuni-project/minima/releases/download/v0.25/minima_0.25_linux_amd64.tar.gz |
There was a problem hiding this comment.
Just care that the sintax for the YAML configuration files consumed by Minima has changed in some places.
It may work for testsuite repositories but break elsewhere.
There was a problem hiding this comment.
It works fine with the required yaml.
There was a problem hiding this comment.
I am not so much worried about this yaml, but others yaml files (sometimes inline in Salt states) that we use.
I remember trying to update minima some time ago, and there were a few other things to adapt
See #1832
For the tools to work, you need to specify the disk you want to add. To be honest this one is tricky. I have the feeling the main disk and additional disk name are switching from time to time because of a race conditions. If the issue persist, we will need a smart code to select the unused disk. |
Yes, it's rare, but I have seen that happen. |
What does this PR change?
Fix AWS MLM 5.1 deployment.
Changes