Friday, 2017-05-26

*** Shunli has joined #openstack-zun00:18
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Add image-list and pull to osc  https://review.openstack.org/46786100:53
*** yuanying_ has joined #openstack-zun01:01
*** yuanying has quit IRC01:02
*** yuanying_ has quit IRC01:30
*** yuanying has joined #openstack-zun01:34
openstackgerritMerged openstack/python-zunclient master: Client support for service-enable/disable  https://review.openstack.org/46002601:35
openstackgerritmiaohb proposed openstack/python-zunclient master: Client support for service force-down  https://review.openstack.org/46307701:48
*** zhurong has joined #openstack-zun01:51
openstackgerritOpenStack Proposal Bot proposed openstack/zun master: Updated from global requirements  https://review.openstack.org/46825101:59
*** hongbin has joined #openstack-zun02:25
Shunli@hongbin, there?02:29
hongbinShunli: hey02:29
Shunlihttps://review.openstack.org/#/c/467915/02:29
Shunliyou prefer to change to 2.0 API and not compatible with API before 2.0?02:30
Shunli?02:30
hongbinShunli: checking the comments02:30
hongbinShunli: it version of docker-py is decided by the requirement i think02:31
hongbinShunli: therefore, right now, the version is 1.x02:31
hongbinShunli: unless you install by ignoring the requirements.txt, which is not hte practice02:32
ShunliSo, you prefer to change requirements to docker-py >2.0, and change the related API call in zun?02:32
hongbinShunli: I think changing requirements to docker (2.0) is hte only way to go if we want to do the upgrade02:34
hongbinShunli: otherwise, there is no way to do the version upgrade (if hte requiremnt doesn't change, the version is unchanged)02:34
hongbinShunli: my point is the version declared in requirement totally decided hte version of hte docker client, so it seems there is no need to use if ... else ... to handle different version02:35
hongbinbecause there is only one version at a point of view02:36
Shunlifor now docker-py=1.x, it maybe 1.x or 2.0.02:36
hongbinhttps://github.com/openstack/zun/blob/master/requirements.txt#L3402:37
ShunliI think my patch just make the current code works fine with 2.0 API.02:37
Shunlisorry, I means the installed docker-py maybe 1.x or 2.002:38
hongbini don't think it is possible to install docker-py 2.0 right now02:38
hongbinsince the version in https://github.com/openstack/zun/blob/master/requirements.txt#L34 is 1.8.102:39
hongbinzun installation will pick docker-py 1.8.1 to install02:39
Shunliit's >=1.8/102:39
Shunli1.8.102:40
hongbinShunli: i see what you mean02:40
hongbinShunli: however, i think docker-py are all 1.x02:40
Shunlias my devstack shutdown, i restart it and then encoutered the problem.02:41
hongbinShunli: for docker 2.x, they renamed the package to "docker" (not "docker-py")02:41
hongbinsudo pip install -c /opt/stack/requirements/upper-constraints.txt -e /opt/stack/zun02:41
hongbinthe above command is what zun used to do the installation02:42
hongbini guess it will correct the version back to 1.x02:42
ShunliI checked the docker-py version.02:42
hongbini see02:43
Shunlithere is two, one is docker and version=2.3.0, one is docker-py and version=1.10.602:43
hongbin$ sudo pip freeze | grep docker docker-py==1.10.602:43
hongbini see02:44
hongbini don't have 2.3.0 so i didn't see the problem02:44
hongbinShunli: ok, if you want to keep both version, i won't disagree with it02:45
Shunli1.10.6 seems is a broken package on my en.02:45
hongbini see02:45
Shunlii guess the code called 2.3.0 docker package now02:45
hongbinyes, i want to drop 1.10.6 as well02:45
hongbinShunli: could you put docker into the requirement.txt as well?02:46
ShunliOK. I think we can compatible with 1.x and 2.x before we complete the 2.0 adopt BP.02:47
hongbinyes, i am fine with it02:47
Shunlisure.02:47
hongbinsounds good02:48
Shunliwhich docker version should we use now?02:48
hongbinShunli: thanks for bringing up the issue, sorry i didn't recognize it for a while02:48
hongbinthe version in hte reqiurement is the version we should use02:48
hongbinthat is docker-py >= 1.8.102:49
Shunliah, the 'docker' you mean is the py wrapper of the docker client, right、02:50
Shunlithe one client which package name is docker?02:50
*** vikasc has joined #openstack-zun02:50
hongbin"docker" was renamed from "docker-py"02:50
ShunliI miss understanding it to docker-engine.02:50
*** yuanying has quit IRC02:51
hongbinoh, it is not the docker daemin, it is the version of hte docker python client02:51
ShunliOK, i see.02:51
hongbinfor docker daemon, it is declared by the docker api version i think02:51
hongbinhttps://github.com/openstack/zun/blob/master/zun/conf/docker.py#L2202:52
hongbinit is 1.2302:52
Shunliack, thx02:52
hongbinnp02:52
*** yuanying_ has joined #openstack-zun02:55
*** XueFeng has joined #openstack-zun03:49
openstackgerritMerged openstack/zun-ui master: Add images panel into admin dashboard  https://review.openstack.org/46791603:53
*** hongbin has quit IRC04:04
*** zhurong has quit IRC04:07
openstackgerritMerged openstack/zun master: Updated from global requirements  https://review.openstack.org/46825104:41
*** zhurong has joined #openstack-zun04:45
*** yuanying_ has quit IRC04:57
*** yuanying has joined #openstack-zun04:57
*** janki has joined #openstack-zun05:04
*** yuanying has quit IRC05:23
*** goku has joined #openstack-zun05:29
*** yuanying has joined #openstack-zun05:29
*** himani has quit IRC05:35
*** himani has joined #openstack-zun05:47
*** yuanying has quit IRC06:02
*** yuanying has joined #openstack-zun06:05
*** shu-mutou-AWAY has quit IRC06:07
*** zhurong has quit IRC06:54
*** zhurong has joined #openstack-zun06:59
*** XueFeng has quit IRC07:17
*** egonzalez has joined #openstack-zun07:27
*** openstackgerrit has quit IRC07:48
*** Namrata has joined #openstack-zun08:06
*** Shunli has quit IRC08:10
*** Shunli has joined #openstack-zun08:11
*** openstackgerrit has joined #openstack-zun09:04
openstackgerritMerged openstack/zun master: Raise ImageNotFound when image not found in docker  https://review.openstack.org/46710709:04
*** zhurong has quit IRC09:19
*** Shunli has quit IRC09:27
*** caowei has joined #openstack-zun10:17
openstackgerritRajat Sharma proposed openstack/zun master: Replace assertEqual([], items) with assertEmpty(items)  https://review.openstack.org/46835810:55
*** Qiming has quit IRC11:01
*** Qiming has joined #openstack-zun11:06
*** caowei has quit IRC11:13
*** Qiming has quit IRC11:22
*** Qiming has joined #openstack-zun11:26
*** Qiming has quit IRC11:30
*** Qiming has joined #openstack-zun11:34
*** Qiming has quit IRC11:41
*** Qiming has joined #openstack-zun11:47
*** Qiming has quit IRC11:52
*** Qiming has joined #openstack-zun11:53
*** Qiming_ has joined #openstack-zun11:54
*** Qiming has quit IRC11:58
*** Namrata has quit IRC12:53
*** dims has quit IRC13:07
*** goku has quit IRC13:19
*** jwcroppe has quit IRC13:56
*** jwcroppe has joined #openstack-zun13:57
*** jwcroppe has quit IRC14:01
*** dims has joined #openstack-zun14:04
*** jwcroppe has joined #openstack-zun14:17
*** hongbin has joined #openstack-zun14:24
*** jwcroppe has quit IRC14:44
*** jwcroppe has joined #openstack-zun14:44
*** jwcroppe_ has joined #openstack-zun14:48
*** jwcroppe has quit IRC14:49
*** janki has quit IRC15:08
*** egonzalez has quit IRC15:35
*** janki has joined #openstack-zun15:46
*** jwcroppe_ has quit IRC17:50
*** janki has quit IRC18:43
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Add more tempest tests for container run  https://review.openstack.org/46821419:15
*** adisky_ has quit IRC19:29
*** jwcroppe_ has joined #openstack-zun19:39
*** catintheroof has joined #openstack-zun21:33
*** catintheroof has quit IRC21:39
openstackgerritHongbin Lu proposed openstack/zun master: Add more tempest tests for container run  https://review.openstack.org/46821422:38
*** hongbin has quit IRC23:21

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