The openstack CLI only includes support for core OpenStack services. Support for additional services is implemented through plugins, generally included in the client package of each service. Run `pip install python-ironicclient` and you will get access to `openstack baremetal` commands. On Tue, 8 Sep 2020 at 20:51, Thomas Wakefield <dwakefi2@gmu.edu> wrote:
All-
We are new to using OpenStack and are testing out Kolla-ansible with hopes of using Ironic as a deployment tool. Our issue is we can’t use the openstack baremetal command, it’s not found after deployment. Our current test environment is built using Train on CentOS 7. And all other basic OpenStack functionality seems to be working with our Kolla install (nova, glance, horizon, etc).
We followed these docs, https://docs.openstack.org/kolla-ansible/train/reference/bare-metal/ironic-g... , but when we get to running any “openstack baremetal” commands we don’t seem to have the baremetal commands available in openstack.
Globals.yml lines that should be relavent:
enable_horizon_*ironic*: "{{ enable_*ironic* | bool }}"
enable_*ironic*: "yes"
enable_*ironic*_ipxe: "yes"
enable_*ironic*_neutron_agent: "{{ enable_neutron | bool and enable_ *ironic* | bool }}"
enable_*ironic*_pxe_uefi: "no"
#enable_iscsid: "{{ (enable_cinder | bool and enable_cinder_backend_iscsi | bool) or enable_*ironic* | bool }}"
*ironic*_dnsmasq_interface: "em1"
# The following value must be set when enabling *ironic*,
*ironic*_dnsmasq_dhcp_range: "192.168.2.230,192.168.2.239"
*ironic*_dnsmasq_boot_file: "pxelinux.0"
*ironic*_cleaning_network: "demo-net"
Ironic is listed as an installed service, but you can see the baremetal commands are not found:
root@orc-os5:~## openstack service list
+----------------------------------+------------------+-------------------------+
| ID | Name | Type |
+----------------------------------+------------------+-------------------------+
| 0e5119acbf384714ab11520fadce36bb | nova_legacy | compute_legacy |
| 2ed83015047249f38b782901e03bcfc1 | ironic-inspector | baremetal-introspection |
| 5d7aabf15bdc415387fac54fa1ca21df | ironic | baremetal |
| 6d05cdce019347e9940389abed959ffb | neutron | network |
| 7d9485969e504b2e90273af75e9b1713 | cinderv3 | volumev3 |
| a11dc04e83ed4d9ba65474b9de947d1b | keystone | identity |
| ad0c2db47b414b34b86a5f6a5aca597c | glance | image |
| dcbbc90813714c989b82bece1c0d9d9f | nova | compute |
| de0ee6b55486495296516e07d2e9e97c | heat | orchestration |
| df605d671d88496d91530fbc01573589 | cinderv2 | volumev2 |
| e211294ca78a418ea34d9c29d86b05f1 | placement | placement |
| f62ba90bc0b94cb9b3d573605f800a1f | heat-cfn | cloudformation |
+----------------------------------+------------------+-------------------------+
root@orc-os5:~## openstack baremetal
openstack: 'baremetal' is not an openstack command. See 'openstack --help'.
Did you mean one of these?
credential create
credential delete
credential list
credential set
credential show
Is there anything else that needs configured to activate ironic?
Thanks in advance.
Tom