Comment 8 for bug 2037935

Revision history for this message
Nobuto Murata (nobuto) wrote :

I've tested the revision 362, and it works for me.

Also, I've confirmed that the generated image works for amphora instances to act as a load balancer for Kubernetes control plane.

octavia-diskimage-retrofit 1.0.1+git4.gb7bdb03 362 1.0/candidate canonical** classic

$ juju run-action --wait octavia-diskimage-retrofit/leader retrofit-image
unit-octavia-diskimage-retrofit-0:
  UnitId: octavia-diskimage-retrofit/0
  id: "52"
  results: {}
  status: completed
  timing:
    completed: 2023-10-04 02:13:43 +0000 UTC
    enqueued: 2023-10-04 02:06:58 +0000 UTC
    started: 2023-10-04 02:07:02 +0000 UTC

$ openstack image show amphora-haproxy-x86_64-ubuntu-22.04-20230927 --format yaml
checksum: 9489e807188adab30605134911dae6f2
container_format: bare
created_at: '2023-10-04T02:13:27Z'
disk_format: qcow2
file: /v2/images/2ba11f7c-a1db-47d4-84a5-c8d2102bf8dc/file
id: 2ba11f7c-a1db-47d4-84a5-c8d2102bf8dc
min_disk: 0
min_ram: 0
name: amphora-haproxy-x86_64-ubuntu-22.04-20230927
owner: ec98e711291f42048d8161a6b50f9491
properties:
  direct_url: rbd://5bf8c2a8-60cc-11ee-b944-7fe79167e4b1/glance/2ba11f7c-a1db-47d4-84a5-c8d2102bf8dc/snap
  locations:
  - metadata:
      store: ceph
    url: rbd://5bf8c2a8-60cc-11ee-b944-7fe79167e4b1/glance/2ba11f7c-a1db-47d4-84a5-c8d2102bf8dc/snap
  os_hash_algo: sha512
  os_hash_value: a49e8c5e1d06dfe7820811f3c8b4df14c89c5821b31e4b9da1ef1e630e3cdf2ad40b49bf81c54ed966d7b3cd69da678cedda585b630fb203cb435d28bf06f563
  os_hidden: false
  source_product_name: com.ubuntu.cloud:server:22.04:amd64
  source_version_name: '20230927'
  stores: ceph
protected: false
schema: /v2/schemas/image
size: 920911872
status: active
tags:
- octavia-amphora
- octavia-diskimage-retrofit
updated_at: '2023-10-04T02:13:42Z'
virtual_size: 6656360448
visibility: shared

$ openstack loadbalancer list --format yaml
- id: a4724fe2-e6fa-47d9-8b4d-75dee5548046
  name: openstack-integrator-d4793dc51966-kubernetes-control-plane
  operating_status: ONLINE
  project_id: fa1080b882c44deeb58303548ccb56ce
  provider: amphora
  provisioning_status: ACTIVE
  vip_address: 10.5.5.14