[Zun] Address already belongs to a bound Neutron port Error

Hongbin Lu hongbin034 at gmail.com
Sun Apr 7 01:05:25 UTC 2019


On Sat, Apr 6, 2019 at 7:09 PM Navdeep Uniyal <navdeep.uniyal at bristol.ac.uk>
wrote:

> Dear Hongbin,
>
> Thank you for your help and support (highly appreciate it). I am able to
> resolve the issue as you correctly mentioned, it was due to the version
> mismatch. I am able to run containers now.
>
> May I ask you to please point me to the right direction for the horizon
> and heat integration with zun -Rocky (if available).
>

For Horizon, here is the document:
https://github.com/openstack/zun-ui#manual-installation . Basically, you
need to install Horizon and enable the Zun dashboard plugin. For Heat, Zun
resources are built-in so you will have it out of the box.


>
>
>
> Kind Regards,
>
> Navdeep
>
>
>
> *From:* Hongbin Lu <hongbin034 at gmail.com>
> *Sent:* 05 April 2019 19:01
> *To:* Navdeep Uniyal <navdeep.uniyal at bristol.ac.uk>
> *Cc:* Openstack <openstack at lists.openstack.org>
> *Subject:* Re: [Zun] Address already belongs to a bound Neutron port Error
>
>
>
> According to the pip freeze output, you have installed newer version of
> zun, not the rocky version, and you are using rocky version of kuryr
> libnetwork, which explained why you have this error. Would you look into
> this issue further? Let us know if anything we can help.
>
>
>
> On Fri., Apr. 5, 2019, 4:27 a.m. Navdeep Uniyal <
> navdeep.uniyal at bristol.ac.uk> wrote:
>
> Dear Hongbin,
>
> Attached are the logs of both the commands.
>
> Thank you,
> Regards,
>
> Navdeep
>
>
>
> *From:* Hongbin Lu <hongbin034 at gmail.com>
> *Sent:* 05 April 2019 01:56
> *To:* Navdeep Uniyal <navdeep.uniyal at bristol.ac.uk>
> *Cc:* openstack at lists.openstack.org
> *Subject:* Re: [Zun] Address already belongs to a bound Neutron port Error
>
>
>
> Navdeep,
>
>
>
> Would you provide the following as well:
>
>
>
> * The output of "pip freeze"
>
> * The log of zun-compute (sudo journalctl -u zun-compute >
> zun-compute.log)
>
>
>
> Best regards,
>
> Hongbin
>
>
>
> On Thu, Apr 4, 2019 at 9:21 AM Navdeep Uniyal <
> navdeep.uniyal at bristol.ac.uk> wrote:
>
> Hi Hongbin,
>
> Thank you for your reply.
> Following are the log errors I am getting:
>
> LogFile:
> 2019-04-04 12:59:04.718 42324 INFO werkzeug [-] 127.0.0.1 - - [04/Apr/2019
> 12:59:04] "POST /IpamDriver.RequestAddress HTTP/1.1" 500 -
>
> 2019-04-04 13:16:34.652 42324 DEBUG kuryr_libnetwork.controllers [-]
> Received JSON data {u'Address': u'10.68.48.137', u'Options':
> {u'com.docker.network.endpoint.macaddress': u'fa:16:3e:20:9d:2c'},
> u'PoolID': u'b130d090-9b7f-4c68-9f45-775a18bbb649'} for
> /IpamDriver.RequestAddress ipam_request_address
> /usr/local/lib/python2.7/dist-packages/kuryr_libnetwork/controllers.py:1646
>
> 2019-04-04 13:16:35.113 42324 ERROR kuryr_libnetwork.utils [-] Unexpected
> error happened: Requested ip address {'subnet_id':
> u'e684a17b-6b17-4ea2-bbc9-752a21304dcc', 'ip_address': u'10.68.48.137'}
> already belongs to a bound Neutron port:
> 045ff1a5-d20c-4299-9ffd-9c676af398b0: AddressInUseException: Requested ip
> address {'subnet_id': u'e684a17b-6b17-4ea2-bbc9-752a21304dcc',
> 'ip_address': u'10.68.48.137'} already belongs to a bound Neutron port:
> 045ff1a5-d20c-4299-9ffd-9c676af398b0
>
>
>
> Journald:
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]: Traceback (most recent
> call last):
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:   File
> "/usr/lib/python2.7/dist-packages/flask/app.py", line 1813, in
> full_dispatch_request
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:     rv =
> self.dispatch_request()
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:   File
> "/usr/lib/python2.7/dist-packages/flask/app.py", line 1799, in
> dispatch_request
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:     return
> self.view_functions[rule.endpoint](**req.view_args)
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:   File
> "/usr/local/lib/python2.7/dist-packages/kuryr_libnetwork/controllers.py",
> line 1740, in ipam_request_address
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:     existing_port,
> fixed_ip, req_mac_address)
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:   File
> "/usr/local/lib/python2.7/dist-packages/kuryr_libnetwork/controllers.py",
> line 542, in _update_existing_port
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]:     existing_port['id']))
>
> Apr 04 13:16:35 bedminster kuryr-server[42324]: AddressInUseException:
> Requested ip address {'subnet_id': u'e684a17b-6b17-4ea2-bbc9-752a21304dcc',
> 'ip_address': u'10.68.48.137'} already belongs to a bound Neutron port:
> 045ff1a5-d20c-4299-9ffd-9c676af398b0
>
>
>
>
>
> Kind Regards,
>
> Navdeep
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190406/88a8dffb/attachment.html>


More information about the openstack-discuss mailing list