Tuesday, 2017-06-27

*** caowei_ has joined #openstack-zun00:21
*** caowei has quit IRC00:24
*** caowei_ is now known as caowei00:24
*** zhurong has quit IRC00:45
*** kevzha01 has joined #openstack-zun01:25
*** kevzha01 is now known as kevinz01:25
*** Shunli has joined #openstack-zun01:26
openstackgerritMerged openstack/zun-ui master: Fix translate tag  https://review.openstack.org/47731101:38
*** kiennt has joined #openstack-zun01:53
*** hongbin has joined #openstack-zun02:17
*** hongbin_ has joined #openstack-zun02:18
*** hongbin_ has quit IRC02:19
*** hongbin_ has joined #openstack-zun02:19
*** hongbin has quit IRC02:22
*** hongbin_ has quit IRC02:22
*** hongbin has joined #openstack-zun02:22
*** zsli_ has joined #openstack-zun02:25
openstackgerritShu Muto proposed openstack/zun-ui master: Fix image pull action  https://review.openstack.org/47745802:27
*** zsli__ has joined #openstack-zun02:27
*** Shunli has quit IRC02:27
*** zsli_ has quit IRC02:31
openstackgerritfeng.shengqin proposed openstack/zun master: Validate security groups at zun-api  https://review.openstack.org/47511102:33
openstackgerritBin Zhou proposed openstack/zun master: PCI passthrough device modeling  https://review.openstack.org/47591302:33
*** lakerzhou has joined #openstack-zun02:34
openstackgerritMerged openstack/zun-ui master: Imported Translations from Zanata  https://review.openstack.org/47747502:41
hongbinhi all, team meeting will start in about 15 minutes at #openstack-meeting channel02:45
*** lakerzhou has quit IRC02:48
hongbinhi all, team meeting is live now at #openstack-meeting03:00
*** zsli__ has quit IRC03:02
*** zsli_ has joined #openstack-zun03:02
*** adisky__ has joined #openstack-zun03:17
hongbinzsli_: mind giving me a paste for the error you saw?03:59
zsli_un/servicegroup/zun_service_periodic.py:4003:59
zsli_2017-06-26 17:11:33.623 ERROR zun.compute.manager [req-9f4006f8-8533-42d6-8a9d-7bea5731da96 admin admin] Unexpected exception: Docker internal error: 500 Server Error: Internal Server Error ("failed to create endpoint zun-sandbox-efae9dd7-75aa-4897-927e-26f0409c0c6e on network afb2459d-a5a0-45c7-9c30-eaec2d403233-df6ffdb34f20496692d221f2f2f7faaf: remote: Neutron net associated with identifier kuryr.net.uuid.lh:3a784f711e0eaf4673f883f93e4d5d76,kuryr.net03:59
zsli_.uuid.uh:69baf057f8902f9da24f13ea38fce27c doesn't exist.").: DockerError: Docker internal error: 500 Server Error: Internal Server Error ("failed to create endpoint zun-sandbox-efae9dd7-75aa-4897-927e-26f0409c0c6e on network afb2459d-a5a0-45c7-9c30-eaec2d403233-df6ffdb34f20496692d221f2f2f7faaf: remote: Neutron net associated with identifier kuryr.net.uuid.lh:3a784f711e0eaf4673f883f93e4d5d76,kuryr.net.uuid.uh:69baf057f8902f9da24f13ea38fce27c doesn't03:59
zsli_exist.").03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager Traceback (most recent call last):03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager   File "/opt/stack/zun/zun/compute/manager.py", line 99, in _do_container_create03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager     image=sandbox_image)03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager   File "/opt/stack/zun/zun/container/docker/driver.py", line 557, in create_sandbox03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager     return sandbox['Id']03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager   File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager     self.gen.throw(type, value, traceback)03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager   File "/opt/stack/zun/zun/container/docker/utils.py", line 40, in docker_client03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager     raise exception.DockerError(error_msg=six.text_type(e))03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager DockerError: Docker internal error: 500 Server Error: Internal Server Error ("failed to create endpoint zun-sandbox-efae9dd7-75aa-4897-927e-26f0409c0c6e on network afb2459d-a5a0-45c7-9c30-eaec2d403233-df6ffdb34f20496692d221f2f2f7faaf: remote: Neutron net associated with identifier kuryr.net.uuid.lh:3a784f711e0eaf4673f883f93e4d5d76,kuryr.net.uuid.uh:69baf057f8902f9da24f13ea38fce27c doesn't exist.").03:59
hongbinzsli_: fyi, you could use this one for paste: http://paste.openstack.org/03:59
zsli_2017-06-26 17:11:33.623 TRACE zun.compute.manager03:59
zsli_i debugged the problem03:59
zsli_seems kuryrlib-network send the add tag request to neutron.04:00
hongbinzsli_: ok, how neutron response it?04:01
zsli_I also seen the neutron get the request, but cannot find the kuryr.net.uuid tag in db.04:01
hongbini see04:01
hongbincould you list it manually?04:01
zsli_then add tag failed, kuryrlibnetwor cannot find the proper network by tag.04:01
mkraiIs our gate also broken with this error?04:01
zsli_yes, the network did not get the tag set.04:01
mkraigate seems to work fine04:02
hongbinyes, our gate was broken by a neutron tag issue in before04:02
zsli_hongbin: paste link here http://paste.openstack.org/show/613769/04:02
hongbinzsli_: you have the kuryr log as well?04:03
zsli_no, all log in the stdout.04:03
hongbinzsli_: also, could you type: "pip freeze" and paste the output to me as well04:04
hongbinok04:04
zsli_hongbin:http://paste.openstack.org/show/613770/04:05
zsli_hongbin: neutron update tag returned on this line https://github.com/openstack/neutron/blob/master/neutron/services/tag/tag_plugin.py#L12104:09
zsli_no tag updated to neutron db.04:09
hongbinzsli_: you might hit this bug: https://bugs.launchpad.net/zun/+bug/169489704:10
openstackLaunchpad bug 1694897 in neutron "neutron tag xxx.xxx doesn't work correctly" [Low,Fix released] - Assigned to Ihar Hrachyshka (ihar-hrachyshka)04:10
hongbinzsli_: and your neutron server looks quite old, it might not pick up the fix yet04:12
zsli_OK. i will rebase the patch and try again.04:12
zsli_thanks hongbin.04:12
hongbinzsli_: np, perhaps, you could try the step in the bug, to see if you can reproduce it04:13
hongbin$ neutron tag-add --resource-type network --resource private --tag first.second04:13
hongbin$ neutron net-show private04:13
zsli_ok. seem the same bug.04:13
hongbinok04:13
hongbinyes, then possibly, you hit this bug04:14
zsli_checked my devstack neutron code. it's 2017.3.1604:14
*** zsli_ has quit IRC04:14
hongbinok04:14
*** zsli_ has joined #openstack-zun04:14
hongbinmkrai: you have a docker issue?04:15
zsli_thanks hongbin, will ping you later if there still problems.04:15
hongbinzsli_: sure04:15
hongbinmkrai: sorry, i have to leave now, ping me later or open a bug if you want, i will get back to it04:17
*** hongbin has quit IRC04:22
*** zhurong has joined #openstack-zun04:36
*** diga has quit IRC04:56
*** shu-mutou-AWAY is now known as shu-mutou05:12
*** kiennt has quit IRC05:43
*** kiennt has joined #openstack-zun05:55
openstackgerritKevin Zhao proposed openstack/zun master: Remove the items for disable neutron  https://review.openstack.org/47776506:07
openstackgerritMerged openstack/zun-ui master: Fix image pull action  https://review.openstack.org/47745806:16
openstackgerritKien Nguyen proposed openstack/zun master: Fix missing import _  https://review.openstack.org/47776706:17
*** kiennt has quit IRC06:41
openstackgerritShu Muto proposed openstack/zun-ui master: Clean up doc/ and releasenotes/  https://review.openstack.org/47779407:33
*** egonzalez has joined #openstack-zun07:41
openstackgerritKevin Zhao proposed openstack/zun master: Add websockify to requirements  https://review.openstack.org/47780207:47
openstackgerritShu Muto proposed openstack/zun-ui master: Clean up doc/ and releasenotes/  https://review.openstack.org/47779407:51
caoweihongbin: hi08:05
kevinzcaowei: I guess hongbin is sleeping :-)08:14
caoweihaha08:15
openstackgerritShu Muto proposed openstack/zun-ui master: Improve docs build  https://review.openstack.org/47781308:18
caoweikevinz: can you help me?  http://paste.openstack.org/show/613795/08:23
kevinzcaowei: OK I will try to help, but I'm not familiar with Kuryr  :-)08:25
kevinzcaowei: btw if you want to ping hongbin, I think in the morning he is always online08:27
caoweithanks08:30
*** kzaitsev_ws has joined #openstack-zun08:37
zsli_caowei: could you paste the neutron-server log, seems the neutron port bind failed.08:46
zsli_I just solved a problem like it, due to the neutron ovs-agent start up failed as there missed ovsdbapp lib.08:47
caoweihttp://paste.openstack.org/show/613801/08:47
zsli_cd neutron, and pip install -r requirements.txt and restart the neutron ovs-agent service.08:48
zsli_the problem sovled.08:48
*** diga has joined #openstack-zun08:50
zsli_caowei: Refusing to bind port 37714950-7141-4e8f-a241-5facfb9f845c to dead agent08:50
zsli_could you check if the ovs-agent is alive、08:50
caowei[root@kollaallinone kuryr]# neutron agent-list08:50
caoweineutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.08:50
caowei+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+08:50
caowei| id                                   | agent_type         | host          | availability_zone | alive | admin_state_up | binary                    |08:50
caowei+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+08:50
caowei| 8fe1defa-d400-4411-8a17-f8d09d6bf2cf | L3 agent           | kollaallinone | nova              | :-)   | True           | neutron-l3-agent          |08:50
caowei| 9cea4508-4375-41e2-86d7-4fdab99d78e7 | Metadata agent     | kollaallinone |                   | :-)   | True           | neutron-metadata-agent    |08:50
caowei| d7d2b2a1-83d7-42d7-85cd-35f02d97dbaf | Open vSwitch agent | kollaallinone |                   | xxx   | True           | neutron-openvswitch-agent |08:50
caowei| fbb7a260-1556-4fbe-a29e-040238d038f3 | DHCP agent         | kollaallinone | nova              | :-)   | True           | neutron-dhcp-agent        |08:50
caowei+--------------------------------------+--------------------+---------------+-------------------+-------+----------------+---------------------------+08:50
zsli_seems the ovs-agent is not ok.08:51
zsli_restart it and try again? check the log if there is error?08:51
openstackgerritfeng.shengqin proposed openstack/zun master: Use default value about filters in object  https://review.openstack.org/47783608:55
caoweizsli_:   neutron-openvswitch-agent.log  http://paste.openstack.org/show/613802/08:57
zsli_caowei:could you check if the ovs-dbserver is alive?09:00
zsli_seems agent command timeout, ovs-dbserver not alive.09:00
zsli_make sure ovs-dbserver and ovs-vswitchd is alive.09:01
*** kevzha01_ has joined #openstack-zun09:02
egonzalezcaowei, are you using kolla? when was the last time updated the repo? have properly configured etcd on each compute node docker systemd service?09:05
*** kevinz has quit IRC09:06
caowei[root@kollaallinone _data]# ps -ef|grep docker09:10
caoweiroot       877     1  0 6月26 ?       00:11:05 /usr/bin/dockerd --cluster-store=etcd://192.168.151.6:2379 --cluster-advertise=192.168.151.6:237509:10
*** zsli_ has quit IRC09:11
*** Shunli has joined #openstack-zun09:11
caoweiegonzalez: I looked at the patches that you modified09:11
egonzalezcaowei, missing -H tcp://<DOCKER_SERVICE_IP>:2375 -H unix:///var/run/docker.sock09:12
egonzalezto allow remote connection into docker api09:12
*** zsli_ has joined #openstack-zun09:15
*** zsli_ has quit IRC09:16
*** Shunli has quit IRC09:17
caoweiegonzalez:  [root@kollaallinone docker]# ps -ef|grep docker09:19
caoweiroot     25600     1  5 09:18 ?        00:00:01 /usr/bin/dockerd -H tcp://192.168.151.6:2375 --cluster-store=etcd://192.168.151.6:2379 --cluster-advertise=192.168.151.6:237509:19
caoweiegonzalez: change  done09:20
egonzalezcaowei, that should work if etcd is running on each compute node, guess yes since kuryr docker network is created global09:20
egonzalezcaowei, do kuryr images have openvswitch and bridge-utils packages installed?09:21
*** Shunli has joined #openstack-zun09:21
Shunlicaowei: hexchat disconnected just now09:22
Shunlidid your problem get sovled?09:22
Shunlicaowei: time to leave, ttyl.09:24
*** Shunli has quit IRC09:27
*** shu-mutou is now known as shu-mutou-AWAY09:29
caoweiegonzalez: (kuryr)[root@kollaallinone /]# rpm -qa|grep openvs09:31
caoweiopenvswitch-2.6.1-4.1.git20161206.el7.x86_6409:31
caowei(kuryr)[root@kollaallinone /]# rpm -qa|grep brid09:31
caoweibridge-utils-1.5-9.el7.x86_6409:31
caowei(kuryr)[root@kollaallinone /]#09:31
openstackgerritfeng.shengqin proposed openstack/zun master: Optimize msg when exception  https://review.openstack.org/47784909:32
openstackgerritVan Hung Pham proposed openstack/zun master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47785009:32
*** kiennt has joined #openstack-zun09:33
egonzalezcaowei, still not working allowing remote api to docker?09:34
caoweiegonzalez: I have manually merged your patch.09:34
egonzalezcaowei, are already merged in master09:35
caoweiyes ,  [root@kollaallinone ~]# ps -ef|grep docker09:36
caoweiroot      1195     1  1 09:26 ?        00:00:05 /usr/bin/dockerd -H tcp://192.168.151.6:2375 -H unix:///var/run/docker.sock --cluster-store=etcd://192.168.151.6:2379 --cluster-advertise=192.168.151.6:237509:36
egonzalezcaowei, i mean, still not working kuryr/zun ?09:38
caoweiyes09:38
caoweiegonzalez: I re-create the network, try it09:40
egonzalezcaowei, let you know that network should not have dhcp enabled09:42
caoweiegonzalez: http://paste.openstack.org/show/613795/09:43
caoweiegonzalez: This is my configuration.09:43
*** kevzha01_ is now known as kevinz09:46
caoweiegonzalez: Can not enable dhcp agent?09:52
egonzalezcaowei, as been told by kuryr people not09:52
egonzalezcaowei, try disabling dhcp in the subnet09:52
egonzalezcaowei, are you using centos/ubuntu source or binary?09:53
caoweiegonzalez: source09:54
egonzalezcaowei, will try with centos source now09:54
caoweiegonzalez: yes,  centos source09:55
*** kiennt has quit IRC10:02
egonzalezcaowei, give me some minutes to deploy with that config, i'm copying commands to show you my config10:04
*** caowei has quit IRC10:14
*** caowei has joined #openstack-zun10:14
*** caowei has quit IRC10:15
openstackgerritfeng.shengqin proposed openstack/zun master: Use default value about filters in object  https://review.openstack.org/47783610:47
*** kevinz has quit IRC11:15
openstackgerritfeng.shengqin proposed openstack/zun master: Optimize _get_security_group_id  https://review.openstack.org/47789511:22
openstackgerritfeng.shengqin proposed openstack/zun master: Drop duplicated exception handle code from docker commit  https://review.openstack.org/47790211:54
*** janki has joined #openstack-zun12:17
openstackgerritOpenStack Proposal Bot proposed openstack/zun-ui master: Updated from global requirements  https://review.openstack.org/47812712:25
*** janki has quit IRC12:34
openstackgerritbhavani proposed openstack/python-zunclient master: switch to openstackdocstheme  https://review.openstack.org/47813312:44
*** diga has quit IRC13:20
*** lakerzhou has joined #openstack-zun13:22
*** lakerzhou has quit IRC13:27
*** lakerzhou has joined #openstack-zun13:44
*** hongbin has joined #openstack-zun13:47
*** lakerzhou has quit IRC14:02
*** lakerzhou has joined #openstack-zun14:18
*** lakerzhou has quit IRC14:27
*** lakerzhou has joined #openstack-zun15:18
*** lakerzhou has quit IRC15:44
*** egonzalez has quit IRC16:00
*** kzaitsev_ws has quit IRC16:39
*** lakerzhou has joined #openstack-zun16:58
*** lakerzhou has quit IRC17:29
*** lakerzhou has joined #openstack-zun18:31
*** adisky__ has quit IRC19:10
*** lakerzhou has quit IRC19:11
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Re-enable osc tempest tests  https://review.openstack.org/47702720:15
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Re-enable osc tempest tests  https://review.openstack.org/47702720:15
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Remove unused code from zunclient/common/apiclient  https://review.openstack.org/47703220:18
openstackgerritHongbin Lu proposed openstack/zun master: Minor refactor of get_security_group_ids  https://review.openstack.org/47770522:01
openstackgerritHongbin Lu proposed openstack/zun master: Refactor create/delete sandbox code  https://review.openstack.org/47831623:04
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Make sandbox container optional  https://review.openstack.org/47163423:08
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Make sandbox container optional  https://review.openstack.org/47163423:09
*** hongbin has quit IRC23:11
*** vikasc has quit IRC23:26

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