irronicclient absent when change virt-type to ironic

Bug #2058632 reported by Zhanglei Mao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Triaged
Medium
Unassigned

Bug Description

During my ironic testing on jammy according
https://docs.openstack.org/charm-guide/latest/admin/compute/ironic.html

  nova-ironic:
    charm: nova-compute
    channel: 2023.2/stable
    num_units: 1
    options:
      virt-type: ironic # ironic use nova api like "openstack server create"
    to:
    - 2

The log of this unit would complain

2024-03-20 13:02:53.153 793330 ERROR nova.virt.driver [None req-fefb5acd-eb1f-43de-b370-c7a74c82411e - - - - - -] Unable to load the virtualization driver: ModuleNotFoundError: No module named 'ironicclient’

Manually install it can be fixing.
 juju ssh nova-ironic/0 -- sudo apt install python3-ironicclient

Changed in charm-nova-compute:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.