-
Notifications
You must be signed in to change notification settings - Fork 1
Playbooks & scripts for building, registering and rotating octavia amphora images #12
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
Conversation
This is mostly working for me. The one issue was that I can't connect to the internal API from my seed. The octavia openrc file uses the internal interface by default. My workaround was to fudge the openrc file to use public endpoints and run |
In kayobe, don't we typically use the first controller for these kind of operations (stuff that needs API access), e.g: https://github.com/openstack/kayobe/blob/master/ansible/baremetal-compute-rename.yml#L7 Just wondering if we should use a controller with the internal openrc file here. |
|
||
# FIXME: Use 'tags' parameter of os_image module available from | ||
# openstack.cloud.image 1.5.0. | ||
- name: Ensure Octavia Amphora image is tagged |
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.
Should we untag the old image? This seems to trigger a warning:
This isn't mentioned in the docs and would appear not to have a negative impact as it seems like it would just select the image that was uploaded last.
|
||
- name: Get image checksum | ||
stat: | ||
path: "{{ image_cache_path }}/amphora-x64-haproxy-{{ openstack_release }}.qcow2" |
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.
Any reason to include the qcow2
file extension in the image name?
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.
Sure, we could change the host to
|
Would we still build the image on the seed and then transfer it to os_clients[0]? |
We could do. We actually build the IPA images on a controller, which isn't ideal. |
Moved to stackhpc-kayobe-config |
No description provided.