Re: [ovirt-users] Manageiq ovn
On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > Error - 1 Minute Ago > undefined method `orchestration_stacks' for # :InfraManager:0x0007bf9288> - I get this message if I try to create a > network of overts and then try to check the status of the network manager. > It is the same bug. You need to apply the fixes in https://github.com/ManageIQ/manageiq-providers-ovirt/pull/198/files to make it work. The best option is to upgrade your version. > 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com>: > >> I tried to make changes to the file refresher_ovn_provider.yml - changed >> the passwords, corrected the names of the names, but it was not successful. >> >> 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com>: >> >>> Hi! >>> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.20180125143019_1450f27 >>> After i set this commits (upstream - https://bugzilla.redhat.com/ >>> 1542063) i no saw changes. >>> >>> >>> 2018-02-15 11:22 GMT+03:00 Alona Kaplan : >>> Hi, What version of manageiq you are using? We had a bug https://bugzilla.redhat.com/1542152 (upstream - https://bugzilla.redhat.com/1542063) that was fixed in version 5.9.0.20 Please let me know it upgrading the version helped you. Thanks, Alona. On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > Good afternoon! > I read your article - https://www.ovirt.org/develop/ > release-management/features/network/manageiq_ovn/. I have only one > question: how to create a network or subnet in Manageiq + ovirt 4.2.1. > When > I try to create a network, I need to select a tenant, but there is nothing > that I could choose. How can it be? > > Sincerely. Alexey Nazarenko > >>> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Manageiq ovn
Hi Alexey, Please reply to the users list so all the user may enjoy the information. Automatic sync of ovn networks to ovirt was added on version ovirt-engine-4.2.1.3 (https://bugzilla.redhat.com/1511823). If you use lower version you should import the network to ovirt manually (networks tab -> import button). Once the ovn network is imported to ovirt a vnic profile is automatically created to it. In manageiq, you can assign this profile to a vm you provision (provision vm -> network tab -> vlan field). Alona. On Thu, Feb 15, 2018 at 3:20 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > Big Thank you! This work! But... Networks are created, but I do not see > them in the ovirt manager, but through the ovn-nbctl command, I see all the > networks. And maybe you can tell me how to assign a VM network from > Manageiq? > > 2018-02-15 15:01 GMT+03:00 Alona Kaplan : > >> >> >> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com> wrote: >> >>> Error - 1 Minute Ago >>> undefined method `orchestration_stacks' for >>> # - I get >>> this message if I try to create a network of overts and then try to check >>> the status of the network manager. >>> >> >> It is the same bug. >> You need to apply the fixes in https://github.com/ManageIQ/ma >> nageiq-providers-ovirt/pull/198/files to make it work. >> The best option is to upgrade your version. >> >> >>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com>: >>> I tried to make changes to the file refresher_ovn_provider.yml - changed the passwords, corrected the names of the names, but it was not successful. 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka < aliaksei.nazare...@gmail.com>: > Hi! > I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301 > 9_1450f27 > After i set this commits (upstream - https://bugzilla.redhat.com/ > 1542063) i no saw changes. > > > 2018-02-15 11:22 GMT+03:00 Alona Kaplan : > >> Hi, >> >> What version of manageiq you are using? >> We had a bug https://bugzilla.redhat.com/1542152 (upstream - >> https://bugzilla.redhat.com/1542063) that was fixed in version >> 5.9.0.20 >> >> Please let me know it upgrading the version helped you. >> >> Thanks, >> Alona. >> >> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com> wrote: >> >>> Good afternoon! >>> I read your article - https://www.ovirt.org/develop/ >>> release-management/features/network/manageiq_ovn/. I have only one >>> question: how to create a network or subnet in Manageiq + ovirt 4.2.1. >>> When >>> I try to create a network, I need to select a tenant, but there is >>> nothing >>> that I could choose. How can it be? >>> >>> Sincerely. Alexey Nazarenko >>> >> >> > >>> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Manageiq ovn
On Thu, Feb 15, 2018 at 3:36 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > when i try to create network router, i see this message: *Unable to > create Network Router "test_router": undefined method `[]' for nil:NilClass* > What ovn-provider version you're using? Can you please attach the ovn provider log ( /var/log/ovirt-provider-ovn.log)? > > 2018-02-15 16:20 GMT+03:00 Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com>: > >> Big Thank you! This work! But... Networks are created, but I do not see >> them in the ovirt manager, but through the ovn-nbctl command, I see all the >> networks. And maybe you can tell me how to assign a VM network from >> Manageiq? >> >> 2018-02-15 15:01 GMT+03:00 Alona Kaplan : >> >>> >>> >>> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com> wrote: >>> Error - 1 Minute Ago undefined method `orchestration_stacks' for # - I get this message if I try to create a network of overts and then try to check the status of the network manager. >>> >>> It is the same bug. >>> You need to apply the fixes in https://github.com/ManageIQ/ma >>> nageiq-providers-ovirt/pull/198/files to make it work. >>> The best option is to upgrade your version. >>> >>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka < aliaksei.nazare...@gmail.com>: > I tried to make changes to the file refresher_ovn_provider.yml - > changed the passwords, corrected the names of the names, but it was not > successful. > > 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com>: > >> Hi! >> I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301 >> 9_1450f27 >> After i set this commits (upstream - https://bugzilla.redhat.com/ >> 1542063) i no saw changes. >> >> >> 2018-02-15 11:22 GMT+03:00 Alona Kaplan : >> >>> Hi, >>> >>> What version of manageiq you are using? >>> We had a bug https://bugzilla.redhat.com/1542152 (upstream - >>> https://bugzilla.redhat.com/1542063) that was fixed in version >>> 5.9.0.20 >>> >>> Please let me know it upgrading the version helped you. >>> >>> Thanks, >>> Alona. >>> >>> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com> wrote: >>> Good afternoon! I read your article - https://www.ovirt.org/develop/ release-management/features/network/manageiq_ovn/. I have only one question: how to create a network or subnet in Manageiq + ovirt 4.2.1. When I try to create a network, I need to select a tenant, but there is nothing that I could choose. How can it be? Sincerely. Alexey Nazarenko >>> >>> >> > >>> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Manageiq ovn
On Thu, Feb 15, 2018 at 4:03 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > and how i can change network in the created VM? > It is not possible via manageiq. Only via ovirt. > > Sorry for my intrusive questions))) > > 2018-02-15 16:51 GMT+03:00 Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com>: > >> ovirt-provider-ovn-1.2.7-0.20180213232754.gitebd60ad.el7.centos.noarch >> on hosted-engine >> ovirt-provider-ovn-driver-1.2.5-1.el7.centos.noarch on ovirt hosts >> >> 2018-02-15 16:40 GMT+03:00 Alona Kaplan : >> >>> >>> >>> On Thu, Feb 15, 2018 at 3:36 PM, Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com> wrote: >>> when i try to create network router, i see this message: *Unable to create Network Router "test_router": undefined method `[]' for nil:NilClass* >>> >>> What ovn-provider version you're using? Can you please attach the ovn >>> provider log ( /var/log/ovirt-provider-ovn.log)? >>> >>> 2018-02-15 16:20 GMT+03:00 Aliaksei Nazarenka < aliaksei.nazare...@gmail.com>: > Big Thank you! This work! But... Networks are created, but I do not > see them in the ovirt manager, but through the ovn-nbctl command, I see > all > the networks. And maybe you can tell me how to assign a VM network from > Manageiq? > > 2018-02-15 15:01 GMT+03:00 Alona Kaplan : > >> >> >> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com> wrote: >> >>> Error - 1 Minute Ago >>> undefined method `orchestration_stacks' for >>> # - I >>> get this message if I try to create a network of overts and then try to >>> check the status of the network manager. >>> >> >> It is the same bug. >> You need to apply the fixes in https://github.com/ManageIQ/ma >> nageiq-providers-ovirt/pull/198/files to make it work. >> The best option is to upgrade your version. >> >> >>> 2018-02-15 14:28 GMT+03:00 Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com>: >>> I tried to make changes to the file refresher_ovn_provider.yml - changed the passwords, corrected the names of the names, but it was not successful. 2018-02-15 14:26 GMT+03:00 Aliaksei Nazarenka < aliaksei.nazare...@gmail.com>: > Hi! > I'm use oVirt 4.2.2 + Manageiq gaprindashvili-1.2018012514301 > 9_1450f27 > After i set this commits (upstream - https://bugzilla.redhat.com/ > 1542063) i no saw changes. > > > 2018-02-15 11:22 GMT+03:00 Alona Kaplan : > >> Hi, >> >> What version of manageiq you are using? >> We had a bug https://bugzilla.redhat.com/1542152 (upstream - >> https://bugzilla.redhat.com/1542063) that was fixed in version >> 5.9.0.20 >> >> Please let me know it upgrading the version helped you. >> >> Thanks, >> Alona. >> >> On Wed, Feb 14, 2018 at 2:32 PM, Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com> wrote: >> >>> Good afternoon! >>> I read your article - https://www.ovirt.org/develop/ >>> release-management/features/network/manageiq_ovn/. I have only >>> one question: how to create a network or subnet in Manageiq + ovirt >>> 4.2.1. >>> When I try to create a network, I need to select a tenant, but >>> there is >>> nothing that I could choose. How can it be? >>> >>> Sincerely. Alexey Nazarenko >>> >> >> > >>> >> > >>> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Manageiq ovn
Hi Alexy. First of all, please reply to users@ovirt.org list, so all our users can enjoy the discussion. To summarize, currently you have two questions. 1. How to automatically trigger the provider refresh after doing changes to the provider? There is an open RFE regrading it - https://bugzilla.redhat.com/1547415, you can add yourself to its CC list to track it. 2. Adding a router with external gateway is not working since an ip address is expected in external_fixed_ips by the ovn provider but manageiq doesn't provide it. Looking at the neutron api ( https://developer.openstack.org/api-ref/network/v2/#create-router) seems the ip address is mandatory. So it is a manageiq bug (also tried to add a router with an external gateway with no ip address directly to neutron and got an error). As a workaround to the bug, you can add the router to the ovn-provider directly using the api - https://gist.github.com/dominikholler/f58658407ae7620280f4cb47c398d849 Mor, can you please open a bug regarding the issue? On Tue, Feb 20, 2018 at 12:32 PM, Aliaksei Nazarenka < aliaksei.nazare...@gmail.com> wrote: > Hi, Alona! > Can you help ve with add external ip for creating router procedure? > > 2018-02-19 14:52 GMT+03:00 Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com>: > >> I do not really understand the essence of how this will work, you specify >> the router 10.0.0.2, while on dhcp will be distributed ip gateway 10.0.0.1? >> It seems to me that in the role of geystwey just had to act as a router, or >> am I wrong? >> >> 2018-02-19 14:46 GMT+03:00 Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com>: >> >>> Dominik sent me this link here - https://gist.github.com/domini >>> kholler/f58658407ae7620280f4cb47c398d849 >>> >>> 2018-02-19 14:45 GMT+03:00 Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com>: >>> Hi, Alona! Dominik said that you can help. I need to create an external gateway in manageiq, I did not find a native way to do this. As a result of lack of ip address, I can not create a router. Here are the logs: 2018-02-19 14:22:16,942 root Starting server 2018-02-19 14:22:16,943 root Version: 1.2.5-1 2018-02-19 14:22:16,943 root Build date: 20180117090014 2018-02-19 14:22:16,944 root Githash: 12b705d 2018-02-19 14:23:17,250 root From: 10.0.184.20:57674 Request: POST /v2.0/tokens 2018-02-19 14:23:17,252 root Request body: {"auth": {"tenantName": "tenant", "passwordCredentials": {"username": "admin@internal", "password": ""}}} 2018-02-19 14:23:17,322 requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:17,322 requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:17,836 requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:17,836 requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:17,870 root Response code: 200 2018-02-19 14:23:17,870 root Response body: {"access": {"token": {"expires": "2018-02-23T15:23:17Z", "id": "lmceG8s1SROKskN-H4T93IPwgwSFb 8mN7UJ6qz4HObrC2PqNWcSyS_dZGIcax6dEBVIz8H6ShgDXl_2fvflbeg"}, "serviceCatalog": [{"endpoints_links": [], "endpoints": [{"adminURL": " https://lbn-r-engine-01.mp.local:9696/";, "region": "RegionOne", "id": "0001", "internalURL": " https://lbn-r-engine-01.mp.local:9696/";, "publicURL": " https://lbn-r-engine-01.mp.local:9696/"}], "type": "network", "name": "neutron"}, {"endpoints_links": [], "endpoints": [{"adminURL": " https://lbn-r-engine-01.mp.local:35357/";, "region": "RegionOne", "publicURL": "https://lbn-r-engine-01.mp.local:35357/";, "internalURL": "https://lbn-r-engine-01.mp.local:35357/";, "id": "0002"}], "type": "identity", "name": "keystone"}, {"endpoints_links": [], "endpoints": [{"adminURL": " https://lbn-r-engine-01.mp.local:8774/v2.1/";, "region": "RegionOne", "publicURL": "https://lbn-r-engine-01.mp.local:8774/v2.1/";, "internalURL": "https://lbn-r-engine-01.mp.local:8774/v2.1/";, "id": "0002"}], "type": "compute", "name": "nova"}], "user": {"username": "admin", "roles_links": [], "id": "", "roles": [{"name": "admin"}], "name": "admin"}}} 2018-02-19 14:23:17,974 root From: 10.0.184.20:43600 Request: POST /v2.0/routers 2018-02-19 14:23:17,974 root Request body: {"router":{"name":"test_router","external_gateway_info":{"ne twork_id":"17c31685-56ef-428a-94dd-3202bf407d36","external_f ixed_ips":[{"subnet_id":"c425f071-4b4e-4598-8c56-d5457a59dac 3"}],"enable_snat":0}}} 2018-02-19 14:23:17,980 requests.packages.urllib3.connectionpool Starting new HTTPS connection (1):
Re: [ovirt-users] Manageiq ovn
On Wed, Feb 21, 2018 at 6:17 PM, Alona Kaplan wrote: > Hi Alexy. > > First of all, please reply to users@ovirt.org list, so all our users can > enjoy the discussion. > > To summarize, currently you have two questions. > > 1. How to automatically trigger the provider refresh after doing changes > to the provider? > > There is an open RFE regrading it - https://bugzilla.redhat.com/1547415, > you can add yourself to its CC list to track it. > > 2. Adding a router with external gateway is not working since an ip > address is expected in external_fixed_ips by the ovn provider but manageiq > doesn't provide it. > Looking at the neutron api (https://developer.openstack. > org/api-ref/network/v2/#create-router) seems the ip address is mandatory. > So it is a manageiq bug (also tried to add a router with an external > gateway with no ip address directly to neutron and got an error). > > As a workaround to the bug, you can add the router to the ovn-provider > directly using the api - https://gist.github.com/dominikholler/ > f58658407ae7620280f4cb47c398d849 > > Mor, can you please open a bug regarding the issue? > > ​Sure, I opened two bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1547878 https://bugzilla.redhat.com/show_bug.cgi?id=1547872 On Tue, Feb 20, 2018 at 12:32 PM, Aliaksei Nazarenka < > aliaksei.nazare...@gmail.com> wrote: > >> Hi, Alona! >> Can you help ve with add external ip for creating router procedure? >> >> 2018-02-19 14:52 GMT+03:00 Aliaksei Nazarenka < >> aliaksei.nazare...@gmail.com>: >> >>> I do not really understand the essence of how this will work, you >>> specify the router 10.0.0.2, while on dhcp will be distributed ip gateway >>> 10.0.0.1? It seems to me that in the role of geystwey just had to act as a >>> router, or am I wrong? >>> >>> 2018-02-19 14:46 GMT+03:00 Aliaksei Nazarenka < >>> aliaksei.nazare...@gmail.com>: >>> Dominik sent me this link here - https://gist.github.com/domini kholler/f58658407ae7620280f4cb47c398d849 2018-02-19 14:45 GMT+03:00 Aliaksei Nazarenka < aliaksei.nazare...@gmail.com>: > Hi, Alona! > Dominik said that you can help. I need to create an external gateway > in manageiq, I did not find a native way to do this. As a result of lack > of > ip address, I can not create a router. Here are the logs: > > 2018-02-19 14:22:16,942 root Starting server > 2018-02-19 14:22:16,943 root Version: 1.2.5-1 > 2018-02-19 14:22:16,943 root Build date: 20180117090014 > 2018-02-19 14:22:16,944 root Githash: 12b705d > 2018-02-19 14:23:17,250 root From: 10.0.184.20:57674 Request: POST > /v2.0/tokens > 2018-02-19 14:23:17,252 root Request body: > {"auth": {"tenantName": "tenant", "passwordCredentials": {"username": > "admin@internal", "password": ""}}} > 2018-02-19 14:23:17,322 requests.packages.urllib3.connectionpool > Starting new HTTPS connection (1): lbn-r-engine-01.mp.local > 2018-02-19 14:23:17,322 requests.packages.urllib3.connectionpool > Starting new HTTPS connection (1): lbn-r-engine-01.mp.local > 2018-02-19 14:23:17,836 requests.packages.urllib3.connectionpool > Starting new HTTPS connection (1): lbn-r-engine-01.mp.local > 2018-02-19 14:23:17,836 requests.packages.urllib3.connectionpool > Starting new HTTPS connection (1): lbn-r-engine-01.mp.local > 2018-02-19 14:23:17,870 root Response code: 200 > 2018-02-19 14:23:17,870 root Response body: {"access": {"token": > {"expires": "2018-02-23T15:23:17Z", "id": "lmceG8s1SROKskN-H4T93IPwgwSFb > 8mN7UJ6qz4HObrC2PqNWcSyS_dZGIcax6dEBVIz8H6ShgDXl_2fvflbeg"}, > "serviceCatalog": [{"endpoints_links": [], "endpoints": [{"adminURL": " > https://lbn-r-engine-01.mp.local:9696/";, "region": "RegionOne", "id": > "0001", "internalURL": " > https://lbn-r-engine-01.mp.local:9696/";, "publicURL": " > https://lbn-r-engine-01.mp.local:9696/"}], "type": "network", "name": > "neutron"}, {"endpoints_links": [], "endpoints": [{"adminURL": " > https://lbn-r-engine-01.mp.local:35357/";, "region": "RegionOne", > "publicURL": "https://lbn-r-engine-01.mp.local:35357/";, > "internalURL": "https://lbn-r-engine-01.mp.local:35357/";, "id": > "0002"}], "type": "identity", "name": > "keystone"}, {"endpoints_links": [], "endpoints": [{"adminURL": " > https://lbn-r-engine-01.mp.local:8774/v2.1/";, "region": "RegionOne", > "publicURL": "https://lbn-r-engine-01.mp.local:8774/v2.1/";, > "internalURL": "https://lbn-r-engine-01.mp.local:8774/v2.1/";, "id": > "0002"}], "type": "compute", "name": > "nova"}], "user": {"username": "admin", "roles_links": [], "id": "", > "roles": [{"name": "admin"}], "name": "admin"}}} > 2018-02-19 14:23:17,974 root From: 10.0.184.20:43600 Request: POST > /v2.0/routers > 2018-02-19 14:23:17,974 root Request body: > {"router":{"name":"t