[ovirt-users] Manageiq ovn

Mor Kalfon mkalfon at redhat.com
Thu Feb 22 07:52:16 UTC 2018


On Wed, Feb 21, 2018 at 6:17 PM, Alona Kaplan <alkaplan at redhat.com> wrote:

> Hi Alexy.
>
> First of all, please reply to users at 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.nazarenka at 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.nazarenka at 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.nazarenka at 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.nazarenka at 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 at internal", "password": "<PASSWORD_HIDDEN>"}}}
>>>>> 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":
>>>>> "00000000000000000000000000000001", "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":
>>>>> "00000000000000000000000000000002"}], "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":
>>>>> "00000000000000000000000000000002"}], "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): lbn-r-engine-01.mp.local
>>>>> 2018-02-19 14:23:17,980 requests.packages.urllib3.connectionpool
>>>>> Starting new HTTPS connection (1): lbn-r-engine-01.mp.local
>>>>> 2018-02-19 14:23:18,391 root ip_address missing in the external
>>>>> gateway information.
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/share/ovirt-provider-ovn/handlers/base_handler.py", line
>>>>> 131, in _handle_request
>>>>>     method, path_parts, content)
>>>>>   File "/usr/share/ovirt-provider-ovn/handlers/selecting_handler.py",
>>>>> line 175, in handle_request
>>>>>     return self.call_response_handler(handler, content, parameters)
>>>>>   File "/usr/share/ovirt-provider-ovn/handlers/neutron.py", line 36,
>>>>> in call_response_handler
>>>>>     return response_handler(ovn_north, content, parameters)
>>>>>   File "/usr/share/ovirt-provider-ovn/handlers/neutron_responses.py",
>>>>> line 205, in post_routers
>>>>>     router = nb_db.add_router(received_router)
>>>>>   File "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>> line 57, in wrapper
>>>>>     validate_rest_input(rest_data)
>>>>>   File "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>> line 530, in validate_add_rest_input
>>>>>     RouterMapper._validate_external_gateway_info(rest_data)
>>>>>   File "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>> line 565, in _validate_external_gateway_info
>>>>>     message.format(key=RouterMapper.REST_ROUTER_IP_ADDRESS)
>>>>> RestDataError
>>>>>
>>>>>
>>>>> 2018-02-19 14:37 GMT+03:00 Dominik Holler <dholler at redhat.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, 19 Feb 2018 14:29:39 +0300
>>>>>> Aliaksei Nazarenka <aliaksei.nazarenka at gmail.com> wrote:
>>>>>>
>>>>>> > How is this external gateway configured?
>>>>>> >
>>>>>>
>>>>>>
>>>>>> I created this log entry by
>>>>>> https://gist.github.com/dominikholler/f58658407ae7620280f4cb
>>>>>> 47c398d849
>>>>>>
>>>>>> But maybe Alona will tell you how to do this with ManageIQ tomorrow.
>>>>>>
>>>>>> > 2018-02-19 14:27 GMT+03:00 Aliaksei Nazarenka
>>>>>> > <aliaksei.nazarenka at gmail.com> :
>>>>>> >
>>>>>> > > 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 at internal", "password": "<PASSWORD_HIDDEN>"}}}
>>>>>> > > 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-
>>>>>> > > H4T93IPwgwSFb8mN7UJ6qz4HObrC2PqNWcSyS_dZGIcax6dEBVIz8H6ShgDX
>>>>>> l_2fvflbeg"},
>>>>>> > > "serviceCatalog": [{"endpoints_links": [], "endpoints":
>>>>>> > > [{"adminURL": " https://lbn-r-engine-01.mp.local:9696/",
>>>>>> "region":
>>>>>> > > "RegionOne", "id": " 00000000000000000000000000000001",
>>>>>> > > "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": "
>>>>>> > > 00000000000000000000000000000002"}], "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": "
>>>>>> > > 00000000000000000000000000000002"}], "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":{"network_id":"17c31685-56ef-428a-94dd-3202bf407d36","
>>>>>> > > external_fixed_ips":[{"subnet_id":"c425f071-4b4e-4598-8c56-
>>>>>> > > d5457a59dac3"}],"enable_snat":0}}} 2018-02-19 14:23:17,980
>>>>>> > > requests.packages.urllib3.connectionpool Starting new HTTPS
>>>>>> > > connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:17,980
>>>>>> > > requests.packages.urllib3.connectionpool Starting new HTTPS
>>>>>> > > connection (1): lbn-r-engine-01.mp.local 2018-02-19 14:23:18,391
>>>>>> > > root ip_address missing in the external gateway information.
>>>>>> > > Traceback (most recent call last):
>>>>>> > >   File "/usr/share/ovirt-provider-ovn/handlers/base_handler.py",
>>>>>> > > line 131, in _handle_request
>>>>>> > >     method, path_parts, content)
>>>>>> > >   File
>>>>>> > > "/usr/share/ovirt-provider-ovn/handlers/selecting_handler.py",
>>>>>> line
>>>>>> > > 175, in handle_request return self.call_response_handler(handler,
>>>>>> > > content, parameters) File
>>>>>> > > "/usr/share/ovirt-provider-ovn/handlers/neutron.py", line 36, in
>>>>>> > > call_response_handler return response_handler(ovn_north, content,
>>>>>> > > parameters) File
>>>>>> > > "/usr/share/ovirt-provider-ovn/handlers/neutron_responses.py",
>>>>>> line
>>>>>> > > 205, in post_routers router = nb_db.add_router(received_router)
>>>>>> > >   File "/usr/share/ovirt-provider-ovn
>>>>>> /ovndb/ovn_north_mappers.py",
>>>>>> > > line 57, in wrapper
>>>>>> > >     validate_rest_input(rest_data)
>>>>>> > >   File "/usr/share/ovirt-provider-ovn
>>>>>> /ovndb/ovn_north_mappers.py",
>>>>>> > > line 530, in validate_add_rest_input
>>>>>> > >     RouterMapper._validate_external_gateway_info(rest_data)
>>>>>> > >   File "/usr/share/ovirt-provider-ovn
>>>>>> /ovndb/ovn_north_mappers.py",
>>>>>> > > line 565, in _validate_external_gateway_info
>>>>>> > >     message.format(key=RouterMapper.REST_ROUTER_IP_ADDRESS)
>>>>>> > > RestDataError
>>>>>> > >
>>>>>> > >
>>>>>> > > It can be seen that there is no external ip for the router. But
>>>>>> how
>>>>>> > > to ask it and where is it done?
>>>>>> > >
>>>>>> > > 2018-02-19 14:05 GMT+03:00 Dominik Holler <dholler at redhat.com>:
>>>>>> > >
>>>>>> > >> Hi Alexey,
>>>>>> > >> can you please change level of logger_root and handler_logfile in
>>>>>> > >> /etc/ovirt-provider-ovn/logger.conf
>>>>>> > >> to DEBUG, restart ovirt-provider-ovn, try to create the router
>>>>>> > >> again and share the logfile with us?
>>>>>> > >> The logfile has to contain the relevant request, e.g. similar to
>>>>>> > >> this:
>>>>>> > >>
>>>>>> > >> 2018-02-19 11:59:12,477 root From: 192.168.122.79:50084 Request:
>>>>>> > >> POST /v2.0/routers.json 2018-02-19 11:59:12,477 root Request
>>>>>> body:
>>>>>> > >> {"router": {"external_gateway_info": {"network_id":
>>>>>> > >> "c1d4f8e3-8b5d-464e-825a-5f615a18a900", "enable_snat": false,
>>>>>> > >> "external_fixed_ips": [{"subnet_id":
>>>>>> > >> "08efc369-ff36-4dd4-b5f9-ada86d7724db", "ip_address":
>>>>>> > >> "10.0.0.2"}]}, "name": "add_router_router", "admin_state_up":
>>>>>> > >> true}}
>>>>>> > >>
>>>>>> > >> Thanks,
>>>>>> > >> Dominik
>>>>>> > >>
>>>>>> > >>
>>>>>> > >> On Mon, 19 Feb 2018 11:40:02 +0300
>>>>>> > >> Aliaksei Nazarenka <aliaksei.nazarenka at gmail.com> wrote:
>>>>>> > >>
>>>>>> > >> > Good afternoon!
>>>>>> > >> > With the synchronization of the created networks in manageiq
>>>>>> and
>>>>>> > >> > ovirt everything is OK, thanks a lot! The only nuance - after
>>>>>> > >> > creating a network or subnet in manageiq, you need to manually
>>>>>> > >> > update the state after which you can see these items in the
>>>>>> > >> > list. Is there any way to automate this process? Also, maybe
>>>>>> you
>>>>>> > >> > can help me: when I create a router, I get an error. Unable to
>>>>>> > >> > create a Network Router "test": undefined method `[] 'for nil:
>>>>>> > >> > NilClass and in the logs at this point next" 2018-02-19 11:
>>>>>> 22:
>>>>>> > >> > 19,391 root ip_address missing in the external gateway
>>>>>> > >> > information. Traceback (most recent last call last): File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/handlers/base_handler.py", line
>>>>>> > >> > 131, in _handle_request method, path_parts, content)
>>>>>> > >> >   File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/handlers/selecting_handler.py",
>>>>>> > >> > line 175, in handle_request return self.call_response_handler
>>>>>> > >> > (handler, content, parameters) File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/handlers/neutron.py", line 36,
>>>>>> in
>>>>>> > >> > call_response_handler return response_handler (ovn_north,
>>>>>> > >> > content, parameters) File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/handlers/neutron_responses.py",
>>>>>> > >> > line 205, in post_routers router = nb_db.add_router
>>>>>> > >> > (received_router) File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>>> line
>>>>>> > >> > 57, in wrapper validate_rest_input (rest_data)
>>>>>> > >> >   File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>>> line
>>>>>> > >> > 530, in validate_add_rest_input
>>>>>> > >> > RouterMapper._validate_external_gateway_info (rest_data) File
>>>>>> > >> > "/usr/share/ovirt-provider-ovn/ovndb/ovn_north_mappers.py",
>>>>>> line
>>>>>> > >> > 565, in _validate_external_gateway_info message.format (key =
>>>>>> > >> > RouterMapper.REST_ROUTER_IP_ADDRESS) RestDataError "
>>>>>> > >> > Swears at the missing external ip address of the router. The
>>>>>> > >> > question is how to set it?
>>>>>> > >> >
>>>>>> > >> > 2018-02-16 19:22 GMT+03:00 Dominik Holler <dholler at redhat.com
>>>>>> >:
>>>>>> > >> >
>>>>>> > >> > > Hi Alexey,
>>>>>> > >> > > For the provider ovirt-provider-ovn created by engine-setup
>>>>>> the
>>>>>> > >> > > automatic synchronization of networks of cluster with this
>>>>>> > >> > > provider as default network provider is activated by
>>>>>> > >> > > engine-setup.
>>>>>> > >> > >
>>>>>> > >> > > Please find [1] if you want to activate this feature for
>>>>>> other
>>>>>> > >> > > providers, too. Additional information about controlling the
>>>>>> > >> > > synchronization are available in [2].
>>>>>> > >> > >
>>>>>> > >> > > Please find my question below.
>>>>>> > >> > >
>>>>>> > >> > > [1]
>>>>>> > >> > >  https://bugzilla.redhat.com/attachment.cgi?id=1397090
>>>>>> > >> > >
>>>>>> > >> > > [2]
>>>>>> > >> > >   http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/
>>>>>> > >> > > open_stack_network_provider/attributes/auto_sync
>>>>>> > >> > >
>>>>>> > >> > > On Fri, 16 Feb 2018 10:00:46 +0200
>>>>>> > >> > > Alona Kaplan <alkaplan at redhat.com> wrote:
>>>>>> > >> > >
>>>>>> > >> > > > Hi Dominik,
>>>>>> > >> > > >
>>>>>> > >> > > > Can you please help Alexey?
>>>>>> > >> > > >
>>>>>> > >> > > > Thanks,
>>>>>> > >> > > > Alona.
>>>>>> > >> > > >
>>>>>> > >> > > > On Feb 16, 2018 09:48, "Aliaksei Nazarenka"
>>>>>> > >> > > > <aliaksei.nazarenka at gmail.com> wrote:
>>>>>> > >> > > >
>>>>>> > >> > > > Hello!
>>>>>> > >> > > > I read this - "
>>>>>> > >> > > > Dominik Holler 2018-01-25 10:45:09 EST
>>>>>> > >> > > >
>>>>>> > >> > > > Currently, the property is only available in rest-api and
>>>>>> not
>>>>>> > >> > > > available in webadmin. For backward compatibility, the
>>>>>> > >> > > > property is set to 'disabled' by default in rest-api and
>>>>>> > >> > > > webadmin. If you think the property should be available in
>>>>>> > >> > > > webadmin, please create a bug with a proposed default value
>>>>>> > >> > > > to track this."
>>>>>> > >> > > >
>>>>>> > >> > > > and i understand this feature (auto add ovn network in
>>>>>> > >> > > > ovirt) of now. How can i do to on it? I read all comments,
>>>>>> > >> > > > but strangely - most of the files either do not exist for
>>>>>> me
>>>>>> > >> > > > or are in other places and
>>>>>> > >> > >
>>>>>> > >> > > Can you help me finding this comments?
>>>>>> > >> > >
>>>>>> > >> > > > already have the current version. Could you tell me
>>>>>> > >> > > > specifically where this function is turned on? I will
>>>>>> > >> > > > repeat, I use Ovirt engine
>>>>>> > >> > > > 4.2.2.1-0.0.master.20180214165528.git38ff5af.el7.centos
>>>>>> > >> > > >
>>>>>> > >> > > >
>>>>>> > >> > > >
>>>>>> > >> > > > 2018-02-15 18:03 GMT+03:00 Alona Kaplan
>>>>>> > >> > > > <alkaplan at redhat.com>:
>>>>>> > >> > > > > Currently, AFAIK there is no request to add this
>>>>>> > >> > > > > functionality to manageiq. You're welcome to open a bug
>>>>>> to
>>>>>> > >> > > > > request it. Anyway, you can easily attach ovn networks to
>>>>>> > >> > > > > vms using ovirt.
>>>>>> > >> > > > >
>>>>>> > >> > > > > On Feb 15, 2018 16:11, "Aliaksei Nazarenka"
>>>>>> > >> > > > > <aliaksei.nazarenka at gmail.com> wrote:
>>>>>> > >> > > > >
>>>>>> > >> > > > >> Is it planned to add this functionality?
>>>>>> > >> > > > >>
>>>>>> > >> > > > >> 2018-02-15 17:10 GMT+03:00 Alona Kaplan
>>>>>> > >> > > > >> <alkaplan at redhat.com>:
>>>>>> > >> > > > >>>
>>>>>> > >> > > > >>>
>>>>>> > >> > > > >>> On Thu, Feb 15, 2018 at 4:03 PM, Aliaksei Nazarenka <
>>>>>> > >> > > > >>> aliaksei.nazarenka at 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.nazarenka at gmail.com>:
>>>>>> > >> > > > >>>>
>>>>>> > >> > > > >>>>> ovirt-provider-ovn-1.2.7-0.201
>>>>>> 80213232754.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
>>>>>> > >> > > > >>>>> <alkaplan at redhat.com>:
>>>>>> > >> > > > >>>>>>
>>>>>> > >> > > > >>>>>>
>>>>>> > >> > > > >>>>>> On Thu, Feb 15, 2018 at 3:36 PM, Aliaksei Nazarenka
>>>>>> > >> > > > >>>>>> < aliaksei.nazarenka at 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.nazarenka at 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
>>>>>> > >> > > > >>>>>>>> <alkaplan at redhat.com>:
>>>>>> > >> > > > >>>>>>>>
>>>>>> > >> > > > >>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>
>>>>>> > >> > > > >>>>>>>>> On Thu, Feb 15, 2018 at 1:54 PM, Aliaksei
>>>>>> > >> > > > >>>>>>>>> Nazarenka < aliaksei.nazarenka at gmail.com> wrote:
>>>>>> > >> > > > >>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>> Error - 1 Minute Ago
>>>>>> > >> > > > >>>>>>>>>> undefined method `orchestration_stacks' for
>>>>>> > >> > > > >>>>>>>>>> #<ManageIQ::Providers::Redhat:
>>>>>> > >> :InfraManager:0x00000007bf9288>
>>>>>> > >> > > > >>>>>>>>>> - 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.nazarenka at 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.nazarenka at 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
>>>>>> > >> > > > >>>>>>>>>>>> <alkaplan at redhat.com>:
>>>>>> > >> > > > >>>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>>>> 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.nazarenka at gmail.com>
>>>>>> > >> > > > >>>>>>>>>>>>> wrote:
>>>>>> > >> > > > >>>>>>>>>>>>>> Good afternoon!
>>>>>> > >> > > > >>>>>>>>>>>>>> I read your article -
>>>>>> > >> > > > >>>>>>>>>>>>>> https://www.ovirt.org/develop/
>>>>>> > >> > > > >>>>>>>>>>>>>> release-management/features/ne
>>>>>> twork/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
>>>>>> > >> > > > >>>>>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>>
>>>>>> > >> > > > >>>>>>>>>
>>>>>> > >> > > > >>>>>>>>
>>>>>> > >> > > > >>>>>>>
>>>>>> > >> > > > >>>>>>
>>>>>> > >> > > > >>>>>
>>>>>> > >> > > > >>>>
>>>>>> > >> > > > >>>
>>>>>> > >> > > > >>
>>>>>> > >> > >
>>>>>> > >> > >
>>>>>> > >>
>>>>>> > >>
>>>>>> > >
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


-- 
Mor Kalfon
RHV Networking Team
Red Hat IL-Raanana
Tel: +972-54-6514148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180222/b4074096/attachment.html>


More information about the Users mailing list