Having troubles with Mistral.
I am trying to use Mistral to create a VM and I cannot seem to find the appropriate parameters. Here is part of my workflow. tasks: create_instance: action: nova.servers_create input: name: <% $.vm_name %> image: <% $.image %> flavor: <% $.flavor %> nics: - net-id: <% $.network %> key_name: <% $.keypair %> disk_config: AUTO availability_zone: nova meta: status: "pending" # Initial metadata value publish: instance_id: <% task(create_instance).result.id %> on-success: - get_vm_details I seem to keep getting a no suitable hypervisor found error. I have checked and i am sure I am not running into any resource constraints. any help or pointers would be greatly appreciated. -- Alvin Starr || land: (647)478-6285 Netvel Inc. || home: (905)513-7688 alvin@netvel.net ||
Hello, From what I see, your workflow seems well written. Maybe you should have a look to your nova logs first, to ensure the request actually goes through nova and then to your mistral workers logs If you haven't already done it, install cloudflow (https://github.com/nokia/CloudFlow) to visualize correctly what's going on in your workflow, especially check your actual task input. Cloudflow is independent from Mistral, so I may not be able to help for its installation, but it's a real plus to have. Regards Axel Vanzaghi Le mercredi 5 février 2025 à 11:08 PM, Alvin Starr <alvin@netvel.net> a écrit :
I am trying to use Mistral to create a VM and I cannot seem to find the appropriate parameters.
Here is part of my workflow.
tasks:
create_instance:
action: nova.servers_create
input:
name: <% $.vm_name %>
image: <% $.image %>
flavor: <% $.flavor %>
nics:
- net-id: <% $.network %>
key_name: <% $.keypair %>
disk_config: AUTO
availability_zone: nova
meta:
status: "pending" # Initial metadata value
publish:
instance_id: <% task(create_instance).result.id %>
on-success:
- get_vm_details
I seem to keep getting a no suitable hypervisor found error. I have checked and i am sure I am not running into any resource constraints.
any help or pointers would be greatly appreciated.
-- Alvin Starr || land: (647)478-6285 Netvel Inc. || home: (905)513-7688 alvin@netvel.net ||
A bit more diging and I found I can get Heat and Mistral to both create a VM with my small flavor but any other flavor fails. At the same time i can create a VM of any flavor either through the UI or Ansible. On 2025-02-06 03:46, Axel Vanzaghi wrote:
Hello,
From what I see, your workflow seems well written. Maybe you should have a look to your nova logs first, to ensure the request actually goes through nova and then to your mistral workers logs
If you haven't already done it, install cloudflow (https://github.com/nokia/CloudFlow) to visualize correctly what's going on in your workflow, especially check your actual task input. Cloudflow is independent from Mistral, so I may not be able to help for its installation, but it's a real plus to have.
Regards Axel Vanzaghi Le mercredi 5 février 2025 à 11:08 PM, Alvin Starr <alvin@netvel.net> a écrit :
I am trying to use Mistral to create a VM and I cannot seem to find the appropriate parameters.
Here is part of my workflow. tasks: create_instance: action: nova.servers_create input: name: <% $.vm_name %> image: <% $.image %> flavor: <% $.flavor %> nics: - net-id: <% $.network %> key_name: <% $.keypair %> disk_config: AUTO availability_zone: nova meta: status: "pending" # Initial metadata value publish: instance_id: <% task(create_instance).result.id %> on-success: - get_vm_details
I seem to keep getting a no suitable hypervisor found error. I have checked and i am sure I am not running into any resource constraints.
any help or pointers would be greatly appreciated. -- Alvin Starr || land: (647)478-6285 Netvel Inc. || home: (905)513-7688 alvin@netvel.net ||
-- Alvin Starr || land: (647)478-6285 Netvel Inc. || home: (905)513-7688 alvin@netvel.net ||
participants (2)
-
Alvin Starr
-
Axel Vanzaghi