conjure-up / spells

conjure-up spells registry
79 stars 37 forks source link

Unable to create an instance in newly deployed openstack-base on MAAS #229

Closed SMAK1993 closed 5 years ago

SMAK1993 commented 5 years ago

For openstack-base (OpenstaNovaKVM), spell does not create flavors.

I created a flavor using the CLI - https://paste.ubuntu.com/p/JZfq44NBSg/

When I try to create an instance, I get the following error: Last exception: invalid argument: could not find capabilities for domaintype=kvm ' Detailed output - https://paste.ubuntu.com/p/YpKjDGt3nk/

juju config nova-compute virt-type shows kvm nova hypervisor-show virt-node shows hypervisor_type = QEMU Detailed output - https://paste.ubuntu.com/p/BZv6P9PWkv/

SMAK1993 commented 5 years ago

Will add the following from spells/openstack-novalxd/steps/01_glance/glance.sh to openstack-base: openstack flavor create --id 1 --ram 2048 --disk 8 --vcpus 1 m1.tiny >> $GLANCE_LOG 2>&1 This will create flavor(s) as part of the spell instead of manually.

Nested KVM was not set in nova compute nodes preventing new instances from being created.