*** amoralej|off is now known as amoralej | 07:03 | |
*** amoralej is now known as amoralej|lunch | 13:03 | |
*** amoralej|lunch is now known as amoralej | 13:59 | |
PS | hello | 14:23 |
---|---|---|
PS | i need help with mistarl. I want to build a workfolow that creates a router with an external network assigned to it | 14:23 |
PS | something like this: | 14:24 |
PS | create_network_router: | 14:24 |
PS | action: neutron.create_router <% $.body %> | 14:24 |
PS | input: | 14:24 |
PS | - body: ({body={router={name=test-ps-network-xxx,availability_zone_hints=None,admin_state_up=True,enable_snat=True,project_id=8c41d7806da84105b73d7e7cfa8e87bd,admin_state_> | 14:25 |
PS | 14:25 | |
PS | up=True,enable_snat=True,project_id=8c41d7806da84105b73d7e7cfa8e87bd,admin_state_up=True,ext_gateway_net_id=16f694c7-cf7e-4877-9526-7b42b1ebf665, | 14:25 |
PS | ,ext_fixed_ips=[{subnet_id=f81a122f-9cb2-482d-8790-39dc8d46b53a}]}}}) | 14:26 |
PS | but its not work for me | 14:26 |
PS | could you help me | 14:26 |
PS | ? | 14:27 |
avanzaghi | hello PS, I'm not sure how the neutron.create_router works. However, something I can point out is that on your line 'action: neutron.create_router' you should not put '<% $.body %>' | 15:33 |
avanzaghi | apart from that I won't be able to really help you with how to actually write the body input | 15:35 |
PS | thank you avanzaghi, i try | 16:30 |
*** amoralej is now known as amoralej|off | 17:00 | |
PS | when i try to do: | 17:57 |
PS | create_network_router: | 17:57 |
PS | action: neutron.create_router '{body={router={name=test-ps-network-xxx,availability_zone_hints=None,admin_state_up=True,enable_snat=True,project_id=8c41d7806da84105b73d7e7cfa8e87bd,admin_state_up=True,ext_gateway_net_id=16f694c7-cf7e-4877-9526-7b42b1ebf665,ext_fixed_ips=[{subnet_id=f81a122f-9cb2 | 17:57 |
PS | -482d-8790-39dc8d46b53a}] }}}' | 17:57 |
PS | i have error: Failed to run task [error=Invalid input [name=neutron.create_router, class=mistral.actions.openstack.actions.NeutronAction, unexpected=['project_id', 'ext_gateway_net_id', 'ext_fixed_ips']], wf=project_network.network, task=create_network_router] | 17:58 |
PS | it makes me crazy | 17:58 |
PS | create_network_router: | 18:10 |
PS | action: neutron.create_router | 18:10 |
PS | '{router={name=test-ps-network-xxx,availability_zone_hints=None,admin_state_up=True,enable_snat=True,admin_state_up=True,{project_id=8c41d7806da84105b73d7e7cfa8e87bd,ext_gateway_net_id=16f694c7-cf7e-4877-9526-7b42b1ebf665,ext_fixed_ips=[{subnet_id=f81a122f-9cb2-482d-8790-39dc8d46b53a}]}}}' | 18:10 |
PS | the same error | 18:10 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!