Thursday, 2020-04-16

*** apetrich has quit IRC02:08
*** threestrands has joined #openstack-mistral03:29
*** ykarel|away is now known as ykarel04:28
*** jtomasek has joined #openstack-mistral05:45
*** nightmare_unreal has joined #openstack-mistral06:47
*** apetrich has joined #openstack-mistral06:51
*** apetrich has quit IRC07:08
*** apetrich has joined #openstack-mistral07:26
*** apetrich has quit IRC07:38
*** apetrich has joined #openstack-mistral07:42
*** ykarel is now known as ykarel|lunch07:43
*** threestrands has quit IRC08:45
*** ykarel|lunch is now known as ykarel09:21
nightmare_unrealeyalb: I tried the example still complaining about nics10:55
nightmare_unreal:/10:55
nightmare_unrealdelete_instance is working though.10:59
nightmare_unrealit's just that create_vm that is causing issue10:59
*** jtomasek has quit IRC11:13
*** jtomasek has joined #openstack-mistral11:13
eyalbCan you try and not pass the nic parameter11:15
eyalbor try to use auto or none11:16
eyalbaccording to https://docs.openstack.org/releasenotes/python-novaclient/newton.html11:16
nightmare_unrealokay11:20
nightmare_unrealcurrently 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_unrealhttps://www.irccloud.com/pastebin/xiRNH198/my.yaml11:20
nightmare_unrealand this is my yaml file11:21
nightmare_unreali am using devstack11:21
nightmare_unrealwhen i use auto I get error multiple network found11:27
eyalband if you add None as default to the nics and don't supply the nics input ?11:34
nightmare_unrealah when I did nics : none11:43
nightmare_unrealit created the VM11:43
nightmare_unrealbut obviously no network11:43
eyalbtry to put public in nics11:43
nightmare_unrealokay 1 min11:44
nightmare_unrealcreate_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_unrealerror11:46
eyalband if you put the id of public ?11:46
nightmare_unrealwhen I put id of public i get kind of same error. invalid value .11:47
nightmare_unreallet me put exact error 1 min11: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_unrealbtw i am supplying the nics directly in yaml file11:48
nightmare_unrealnot via CLI ( this time)11:48
nightmare_unreallike in yaml input:11:49
nightmare_unrealnics : id-here11:49
eyalbrakhmerov: any inputs on that ? ^^^11:52
nightmare_unrealsorry ? i didn't get you.  The above error is when i provide nics : id-here  directly in yaml11:54
nightmare_unrealsame if i do create_vm '{"name" ..... "nics" : "id-here"}'11:54
nightmare_unrealfor now it worked with none only :/11:54
eyalbI am asking rakhmerov maybe he can help also ?11:56
nightmare_unrealaah sorry my bad didn't saw the name11:56
eyalbnics need to be a dictionary12:18
eyalbor a list of dictionaries12:18
eyalbnics=[{"net-id": self.network.id}])12:18
eyalbso the input of nics should be nics and then a key net-id and the id12:19
nightmare_unrealaaaah o.O12:35
nightmare_unrealdaamn12:35
nightmare_unreallet me give it a try12:36
nightmare_unrealhow should i provide it ? I mean in cli12:36
eyalbas a json string12:37
nightmare_unrealwhat changes I need in my yaml file ?12:39
eyalbmaybe like this https://pastebin.com/Ymp0su3k12:42
nightmare_unrealyup worked :)12:44
nightmare_unrealthank you so much !! :D12:44
eyalbcool12:44
*** ykarel is now known as ykarel|afk13:32
*** ykarel|afk is now known as ykarel14:45
*** ykarel is now known as ykarel|away15:35
*** mgariepy has quit IRC16:29
*** mgariepy has joined #openstack-mistral17:22
*** nightmare_unreal has quit IRC18:23
*** mgariepy has quit IRC19:44
*** threestrands has joined #openstack-mistral23:14
*** threestrands has quit IRC23:15
*** threestrands has joined #openstack-mistral23:15

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!