-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix upload octavia script #283
base: main
Are you sure you want to change the base?
Conversation
|
||
set -x | ||
|
||
ID=$(openstack image show --format value --column id jammy) |
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.
My only enhancement here would be to have the script accept an optional argument - focal/jammy/noble/etc, but default to jammy if none is given.
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.
I added a command line option for the series.
55c4076
to
e8ff91f
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.
This hasnt been necessary in my experience and I believe that is because as long as you have a Jammy and Focal image in Glance (which I think we always do by default?) then the retrofit charm discovers the image it needs and therefore does not require any arguments when running the action.
Perhaps you could describe what exactly this is fixing in the commit message?
The current version fails with the following error: ```console $ ./tools/upload_octavia_amphora_image.sh Running operation 5 with 1 task - task 6 on unit-octavia-diskimage-retrofit-0 Waiting for task 6... Action id 6 failed: unable to find suitable source image ``` Signed-off-by: Nicolas Bock <[email protected]>
e8ff91f
to
e874020
Compare
The command is failing with: $ ./tools/upload_octavia_amphora_image.sh
Running operation 5 with 1 task
- task 6 on unit-octavia-diskimage-retrofit-0
Waiting for task 6...
Action id 6 failed: unable to find suitable source image I updated the commit message. |
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.
The retrofit
action also times out without the --wati= 0s
command line option and it fails to add a tag to the image it produces.
Signed-off-by: Nicolas Bock [email protected]