*** apetrich has quit IRC | 02:08 | |
*** threestrands has joined #openstack-mistral | 03:29 | |
*** ykarel|away is now known as ykarel | 04:28 | |
*** jtomasek has joined #openstack-mistral | 05:45 | |
*** nightmare_unreal has joined #openstack-mistral | 06:47 | |
*** apetrich has joined #openstack-mistral | 06:51 | |
*** apetrich has quit IRC | 07:08 | |
*** apetrich has joined #openstack-mistral | 07:26 | |
*** apetrich has quit IRC | 07:38 | |
*** apetrich has joined #openstack-mistral | 07:42 | |
*** ykarel is now known as ykarel|lunch | 07:43 | |
*** threestrands has quit IRC | 08:45 | |
*** ykarel|lunch is now known as ykarel | 09:21 | |
nightmare_unreal | eyalb: I tried the example still complaining about nics | 10:55 |
---|---|---|
nightmare_unreal | :/ | 10:55 |
nightmare_unreal | delete_instance is working though. | 10:59 |
nightmare_unreal | it's just that create_vm that is causing issue | 10:59 |
*** jtomasek has quit IRC | 11:13 | |
*** jtomasek has joined #openstack-mistral | 11:13 | |
eyalb | Can you try and not pass the nic parameter | 11:15 |
eyalb | or try to use auto or none | 11:16 |
eyalb | according to https://docs.openstack.org/releasenotes/python-novaclient/newton.html | 11:16 |
nightmare_unreal | okay | 11:20 |
nightmare_unreal | currently i am doing this mistral execution-create create_vm '{"vm_name": "server1", "image_ref" : "eb6eee5e-579d-4cb4-98e9-94b0be6a9c0e", "flavor_ref" : "1", "nics" : "4644f2db-6995-454f-b1a4-7868daf51c3a"}' | 11:20 |
nightmare_unreal | https://www.irccloud.com/pastebin/xiRNH198/my.yaml | 11:20 |
nightmare_unreal | and this is my yaml file | 11:21 |
nightmare_unreal | i am using devstack | 11:21 |
nightmare_unreal | when i use auto I get error multiple network found | 11:27 |
eyalb | and if you add None as default to the nics and don't supply the nics input ? | 11:34 |
nightmare_unreal | ah when I did nics : none | 11:43 |
nightmare_unreal | it created the VM | 11:43 |
nightmare_unreal | but obviously no network | 11:43 |
eyalb | try to put public in nics | 11:43 |
nightmare_unreal | okay 1 min | 11:44 |
nightmare_unreal | create_server [task_ex_id=3d255e42-cc6d-4e4d-b641-57b8859b7a8e] -> The action raised an exception [action_ex_id=e171c68b-9221-4ed6-b365-8717e1b9d04a, msg='NovaAction.servers.create failed: Invalid input for field/attribute networks. Value: public. 'public' is not valid under any of the given schemas (HTTP 400) (Request-ID: req-2d44b960-463a-41ab-beb1-0d23e3af8811)', | 11:46 |
nightmare_unreal | error | 11:46 |
eyalb | and if you put the id of public ? | 11:46 |
nightmare_unreal | when I put id of public i get kind of same error. invalid value . | 11:47 |
nightmare_unreal | let me put exact error 1 min | 11:47 |
nightmare_unreal | create_server [task_ex_id=52ee6c1e-3f04-482b-bc7a-d3ab72735d8f] -> The action raised an exception [action_ex_id=bc05db20-c6a2-4ad9-a868-6628b8b16fe0, msg='NovaAction.servers.create failed: Invalid input for field/attribute networks. Value: 4644f2db-6995-454f-b1a4-7868daf51c3a. '4644f2db-6995-454f-b1a4-7868daf51c3a' is not valid under any of the given schemas (HTTP 400) | 11:47 |
nightmare_unreal | btw i am supplying the nics directly in yaml file | 11:48 |
nightmare_unreal | not via CLI ( this time) | 11:48 |
nightmare_unreal | like in yaml input: | 11:49 |
nightmare_unreal | nics : id-here | 11:49 |
eyalb | rakhmerov: any inputs on that ? ^^^ | 11:52 |
nightmare_unreal | sorry ? i didn't get you. The above error is when i provide nics : id-here directly in yaml | 11:54 |
nightmare_unreal | same if i do create_vm '{"name" ..... "nics" : "id-here"}' | 11:54 |
nightmare_unreal | for now it worked with none only :/ | 11:54 |
eyalb | I am asking rakhmerov maybe he can help also ? | 11:56 |
nightmare_unreal | aah sorry my bad didn't saw the name | 11:56 |
eyalb | nics need to be a dictionary | 12:18 |
eyalb | or a list of dictionaries | 12:18 |
eyalb | nics=[{"net-id": self.network.id}]) | 12:18 |
eyalb | so the input of nics should be nics and then a key net-id and the id | 12:19 |
nightmare_unreal | aaaah o.O | 12:35 |
nightmare_unreal | daamn | 12:35 |
nightmare_unreal | let me give it a try | 12:36 |
nightmare_unreal | how should i provide it ? I mean in cli | 12:36 |
eyalb | as a json string | 12:37 |
nightmare_unreal | what changes I need in my yaml file ? | 12:39 |
eyalb | maybe like this https://pastebin.com/Ymp0su3k | 12:42 |
nightmare_unreal | yup worked :) | 12:44 |
nightmare_unreal | thank you so much !! :D | 12:44 |
eyalb | cool | 12:44 |
*** ykarel is now known as ykarel|afk | 13:32 | |
*** ykarel|afk is now known as ykarel | 14:45 | |
*** ykarel is now known as ykarel|away | 15:35 | |
*** mgariepy has quit IRC | 16:29 | |
*** mgariepy has joined #openstack-mistral | 17:22 | |
*** nightmare_unreal has quit IRC | 18:23 | |
*** mgariepy has quit IRC | 19:44 | |
*** threestrands has joined #openstack-mistral | 23:14 | |
*** threestrands has quit IRC | 23:15 | |
*** threestrands has joined #openstack-mistral | 23:15 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!