Monday, 2017-07-31

*** kiennt has joined #openstack-zun00:31
*** hongbin has joined #openstack-zun00:43
*** zhurong has joined #openstack-zun00:45
*** Shunli has joined #openstack-zun00:50
*** kevzha01 has joined #openstack-zun01:35
*** kevzha01 is now known as kevinz01:36
openstackgerritMerged openstack/zun master: Make some config options work  https://review.openstack.org/48901201:44
*** caowei has joined #openstack-zun02:08
*** deep-book-gk has joined #openstack-zun02:16
*** deep-book-gk has left #openstack-zun02:18
*** shu-mutou-AWAY is now known as shu-mutou02:51
openstackgerritMerged openstack/zun-ui master: Fix invalid UTF-8  https://review.openstack.org/48899403:01
*** kiennt_ has joined #openstack-zun04:14
*** hongbin has quit IRC05:01
*** janki has joined #openstack-zun05:10
*** caowei has quit IRC05:23
*** zhurong has quit IRC05:29
*** c06 has joined #openstack-zun05:39
*** kiennt_ has quit IRC05:49
*** kiennt has quit IRC05:49
openstackgerritNamrata proposed openstack/zun master: Image pull policy support for zun pull Closes Bug: #1647434  https://review.openstack.org/48909305:50
openstackbug 1647434 in Zun "Implement image_pull policy for image clis" [Medium,In progress] https://launchpad.net/bugs/1647434 - Assigned to Namrata (sitlani-namrata)05:50
openstackgerritNamrata proposed openstack/python-zunclient master: Image pull policy support for zun pull  https://review.openstack.org/48909405:52
openstackgerritNamrata proposed openstack/zun master: Image pull policy support for zun pull  https://review.openstack.org/48909305:53
*** kiennt has joined #openstack-zun06:02
*** kiennt_ has joined #openstack-zun06:02
*** kiennt__ has joined #openstack-zun06:05
*** kiennt__ has quit IRC06:05
*** kiennt_ has quit IRC06:06
*** kiennt has quit IRC06:06
*** kiennt has joined #openstack-zun06:06
*** caowei has joined #openstack-zun06:15
openstackgerritMerged openstack/zun master: Remove unused requirement: greenlet  https://review.openstack.org/48892806:19
openstackgerritMerged openstack/zun master: Add missing configuration index  https://review.openstack.org/48856506:19
*** zsli_ has joined #openstack-zun06:40
openstackgerritNamrata proposed openstack/python-zunclient master: Image pull policy support for zun pull  https://review.openstack.org/48909406:41
*** Shunli has quit IRC06:43
*** zhurong has joined #openstack-zun06:47
openstackgerritcooldharma06 proposed openstack/zun master: Allow glance image name/id support  https://review.openstack.org/48738106:52
openstackgerritShunli Zhou proposed openstack/zun master: Add filter scheduler doc.  https://review.openstack.org/48910907:08
c06@hongbin: ^^ i did and submitted the patch as [WIP], help me in troubleshooting the unit test error. http://paste.openstack.org/show/616854/07:11
*** c06_ has joined #openstack-zun07:16
*** c06 has quit IRC07:19
*** c06_ is now known as c0607:21
kienntc06: You change to use _load_image. In this method, it call self.load_image only if driver = glance.07:22
kienntIn the unittest, image driver is driver, so load_image is never called. I think so.07:22
kienntOh, sorry, I see you change driver: glance too.07:23
kienntI will test it and hope I can help you.07:24
c06kiennt: ty. i think the call hierarchy like this. load_image(driver.py) -> _load_image(utils.py) -> dockerapi - load_image(). if you found any errors means kindly let me know07:25
c06kiennt: also _load_image(utils.py) doesn't return any values.07:28
kienntc06: I think I catched your trouble. Wait me a minute, I paste the explanation and solution to paste.openstack07:38
c06great and thank you, kiennt07:39
kienntc06: http://paste.openstack.org/show/616972/07:42
kienntThe unittest will be passed now.07:43
kienntBut if image['driver'] is not glance, now image will be loaded?07:44
*** egonzalez has joined #openstack-zun07:44
kiennts/now/no/g07:45
c06kiennt: i need to check that one07:45
c06means /s/now/no/g.. ???07:47
kienntOh, this one for correct the previous sentence (But if image['driver'] is not glance, now image will be loaded? --> But if image['driver'] is not glance, **no** image will be loaded?)07:48
kienntvim syntax :)07:48
c06kiennt: i thought it, i will check for without glance image ( image from docker hub)07:50
kienntc06: One more thing. You change to self.driver.load(image) in zun/compute/manager.py, image is returned from image_driver.pull_image()07:52
kienntBut image_driver.pull_image() will "return {'image': repo, 'path': out_path}, image_loaded"07:53
kiennthttps://github.com/openstack/zun/blob/master/zun/image/glance/driver.py#L11307:53
kienntor return {'image': repo, 'path': None}, image_loaded07:53
kiennthttps://github.com/openstack/zun/blob/master/zun/image/docker/driver.py#L7207:53
kienntIt mean, image = {'image': repo, 'path': None} without any driver key07:54
c06kiennt: zun run --name "cir2" cirros07:54
c06zun trying to check in glance repo if its not there means doing image_pull-> creating_container07:55
kienntc06: I mean the check if image['driver'] == 'glance' will be failed and may raise exception like KeyError. because image doesn't have key 'driver'07:57
c06kiennt: no it haven't and my container got created and running. docker repo also have cirros image. if you want i will paste the log outputs07:58
c06** cirros image downloaded (new one)07:58
c06kiennt: http://paste.openstack.org/show/616974/08:00
openstackgerritMerged openstack/python-zunclient master: Fixed description in README.rst  https://review.openstack.org/48894608:02
kienntc06, Wow, nice. I see, {'path': None, 'image': u'cirros', 'driver': 'docker'}. I will test your new patch when you push it.08:02
c06kiennt: i think, it mightbe only workaround, hongbin suggested the way.08:06
*** kevzha01_ has joined #openstack-zun08:11
c06kiennt: thanks for your help.. :)08:12
kienntc06: you are welcome08:15
*** kevinz has quit IRC08:15
*** shu-mutou is now known as shu-mutou-AWAY08:27
*** zhurong has quit IRC08:41
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Add <> for metavar info  https://review.openstack.org/48914709:20
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Reserve links info when showing image  https://review.openstack.org/48914909:27
*** zsli_ has quit IRC09:31
*** nicolasbock has joined #openstack-zun09:35
*** zhurong has joined #openstack-zun09:37
*** janki is now known as janki|meeting09:37
*** janki|meeting is now known as janki09:39
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Showing contain info after updating by osc command  https://review.openstack.org/48915809:54
*** kiennt has quit IRC10:01
openstackgerritMerged openstack/python-zunclient master: Autoremove container added to zun run client  https://review.openstack.org/41894310:24
*** kevzha01_ has quit IRC10:24
*** zhurong has quit IRC10:40
c06In docker/driver.py -> create(). image(parameter) not used inside the function. can i do trace and remove it..?10:48
*** zhurong has joined #openstack-zun10:52
openstackgerritcooldharma06 proposed openstack/zun master: Allow glance image name/id support  https://review.openstack.org/48738110:59
openstackgerritOpenStack Proposal Bot proposed openstack/zun-ui master: Imported Translations from Zanata  https://review.openstack.org/48918311:36
*** caowei has quit IRC11:38
*** mkrai has quit IRC12:00
*** catintheroof has joined #openstack-zun12:29
*** lakerzhou has joined #openstack-zun12:31
*** lakerzhou1 has joined #openstack-zun12:37
*** lakerzhou2 has joined #openstack-zun12:38
*** lakerzhou has quit IRC12:40
*** lakerzhou has joined #openstack-zun12:41
*** lakerzhou1 has quit IRC12:42
*** lakerzhou2 has quit IRC12:42
*** zhurong has quit IRC13:00
openstackgerritwangzhh proposed openstack/zun master: Imply compute node related Etcd API  https://review.openstack.org/48922213:36
*** c06 has quit IRC14:04
*** adisky__ has quit IRC14:16
*** janki has quit IRC14:17
*** coolsvap has quit IRC14:31
*** openstackgerrit has quit IRC14:33
*** mkrai has joined #openstack-zun14:40
*** hongbin has joined #openstack-zun14:52
*** lakerzhou has quit IRC14:58
*** lakerzhou has joined #openstack-zun15:10
*** lakerzhou has quit IRC15:21
*** openstackgerrit has joined #openstack-zun15:24
openstackgerritHongbin Lu proposed openstack/zun master: Move get_available_network to API layer  https://review.openstack.org/48311315:24
*** mriedem has joined #openstack-zun15:50
mriedemhongbin: did you see the reply on https://bugs.launchpad.net/nova/+bug/1707319 ?15:50
openstackLaunchpad bug 1707319 in OpenStack Compute (nova) "Security group doesn't apply to existing port" [Wishlist,Opinion] - Assigned to hongbin (hongbin034)15:50
hongbinmriedem: checking it out15:51
hongbinmriedem: i agree with his remark as well, it seems this is a controversial topic15:55
mriedemi'll push a patch to update the compute api reference15:56
mriedemsince that's not controversial15:56
hongbinok15:56
hongbinjust let me know if nova team want to abondon my patch for move it forward15:57
* hongbin is going to lunch16:02
*** egonzalez has quit IRC16:03
mriedemhongbin: yeah probably abandon the nova change, i -2'ed it since it's an API change that would require a microversion.16:05
*** mriedem has left #openstack-zun16:40
hongbinack17:43
*** harlowja has joined #openstack-zun18:11
openstackgerritHongbin Lu proposed openstack/zun master: Implement create with existing neutron port  https://review.openstack.org/48186118:46
*** catintheroof has quit IRC18:59
*** catintheroof has joined #openstack-zun19:00
*** catintheroof has quit IRC19:00
*** catintheroof has joined #openstack-zun19:01
*** nicolasbock has quit IRC19:33
*** catintheroof has quit IRC21:17
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Prepare for py35 tempest tests  https://review.openstack.org/48942522:33
*** hongbin has quit IRC23:11
*** catintheroof has joined #openstack-zun23:24
*** catintheroof has quit IRC23:43

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