Earlier  
Posted Nick Remark
#openstack-cyborg - 2020-06-18
03:39:31 wangzhh Yumeng, Cool
03:40:00 Yumeng Thanks wangzhh.
03:40:12 Yumeng and Added a new community goal:http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015459.html
03:40:50 Yumeng I will investigate if we need do something and talk about it later.
03:41:04 shaohe_feng (y)
03:41:20 wangzhh Let me make a proposal this week.
03:41:37 Yumeng just wants to mention in case anyone is interested.
03:41:40 shaohe_feng good (y)
03:42:02 Yumeng cool.
03:42:31 Yumeng last topic
03:42:33 Yumeng #topic review patches
03:42:59 brinzhang https://review.opendev.org/#/q/status:open+project:openstack/cyborg+branch:master+topic:unittest.mock
03:43:00 Yumeng We will hit the milestone1 tomorrow. So pls review and merge patches planned for mileston1 including 'remove OPAE dependency' patches and ussuri legacy patches.(patch topics include: devstack-remove-opae, unittest.mock, drop_future_imports, drop_mock,reset_conf, tox etc.)
03:43:13 brinzhang These patch ready to go
03:43:24 Yumeng yes mock patches are ready to W+1
03:43:55 brinzhang https://review.opendev.org/#/c/735562/
03:43:58 Yumeng alo https://review.opendev.org/#/q/status:open+project:openstack/cyborg++topic:devstack-remove-opae
03:44:00 Yumeng also
03:44:23 brinzhang Yumeng: the remove opae patch, is it necessary backport to train?
03:44:39 shaohe_feng Hi all There is a issue about glance API in cyborg.
03:44:40 brinzhang IMO, backport to ussuri is enough
03:45:24 xinranwang_ I agree to backport to U
03:45:39 shaohe_feng I want to get the image information from glance and download it for program.
03:46:04 shaohe_feng but I find the keystone adapter can not help to get the glance endpoint
03:46:24 Yumeng ok. I'm fine with to u release.
03:46:32 brinzhang Yumeng: and the backport pach need use cherry-pick, I found you dont do that, or I missed some thing?
03:46:53 Yumeng I did cherry-pcik to Ussuri.
03:47:21 brinzhang but you lost the (cherry picked from commit 7ee7de1ec9f546f7ff45b51f74e54a52ad6083f7) in commit message
03:47:23 Yumeng but not cherry-pick to train because train is quite different, there is conflict.
03:47:35 brinzhang it should keep in commit message
03:47:59 shaohe_feng https://github.com/openstack/cyborg/blob/6dab512af226677c9065f85f264a691f3aeb6eab/cyborg/common/utils.py#L185
03:48:09 shaohe_feng ^ I can not get endpoint here.
03:48:30 shaohe_feng https://github.com/openstack/cyborg/blob/6dab512af226677c9065f85f264a691f3aeb6eab/cyborg/common/utils.py#L200
03:48:30 Yumeng brinzhang: not sure if that's the case. I didn't delete anything in commit message.
03:48:45 shaohe_feng ^ I also can not get endpoint here.
03:49:03 brinzhang Yumeng: I cherry-picked again, and it's ok now, the same patach
03:50:00 Yumeng ok. great.
03:50:11 Yumeng thanks.
03:50:18 brinzhang np
03:50:34 shaohe_feng File "/opt/stack/cyborg/cyborg/common/utils.py", line 213, in get_endpoint
03:50:43 shaohe_feng "Could not find requested endpoint for any of the following "
03:50:51 shaohe_feng keystoneauth1.exceptions.catalog.EndpointNotFound: Could not find requested endpoint for any of the following interfaces: ['internal', 'public']
03:50:59 brinzhang shao_feng: which patch?
03:51:16 shaohe_feng brinzhang the upstream code
03:51:29 shaohe_feng we used it test for our FPGA
03:51:38 shaohe_feng program
03:52:07 shaohe_feng we need to get the glance endpoint before download image
03:52:11 shaohe_feng but it failed
03:52:21 shaohe_feng the information is above
03:52:37 shaohe_feng so what's wrong?
03:52:55 shaohe_feng do we need extra config for glance?
03:53:27 brinzhang you can paste you progress in http://paste.openstack.org/, and you can try to talk with alex_xu, may can get some help
03:54:57 brinzhang after you paste the progress, I will look into
03:55:43 Yumeng shaohe_feng: do you know what does efried's note mean? # NOTE(efried): Id9bd19cca68206fc64d23b0eaa95aa3e5b01b676 may also do the
03:55:43 Yumeng # a list. (It could also happen with a real auth if the endpoint isn't
03:55:45 brinzhang I dont similar this scenario for you test error now :(, sorry shaohe_feng
03:58:37 Yumeng is shaohe_feng still around?
03:58:40 shaohe_feng yes
03:58:53 shaohe_feng I have read efried note
03:59:23 shaohe_feng the glance image handle the endpoint is different from others
03:59:41 shaohe_feng it will join version twice
04:00:00 shaohe_feng such as: /image/v2/v2/balabala
04:00:48 Yumeng sounds interesting..
04:01:34 shaohe_feng the first time efried write a special code to get endpoint for image
04:01:56 shaohe_feng if error, it will try another way to get the endpoint
04:02:05 Yumeng shaohe_feng: does this need a real image to test? can we test this with fake image and fake driver?
04:02:20 shaohe_feng these two logic I have past in above
04:02:39 Yumeng aha. cool.
04:02:46 shaohe_feng https://github.com/openstack/cyborg/blob/6dab512af226677c9065f85f264a691f3aeb6eab/cyborg/common/utils.py#L185
04:02:55 shaohe_feng https://github.com/openstack/cyborg/blob/6dab512af226677c9065f85f264a691f3aeb6eab/cyborg/common/utils.py#L200
04:03:11 shaohe_feng ^ Yumeng, you can have a look at it
04:03:19 brinzhang I remember download image need to steps, should combine the glance api, but I am not sure
04:03:28 shaohe_feng the logic it not complex.
04:04:02 shaohe_feng Yumeng let me find the bug description about image
04:05:22 shaohe_feng Yumeng: https://bugs.launchpad.net/python-glanceclient/+bug/1707995
04:05:22 openstack Launchpad bug 1707995 in Glance Client "Can't use versioned endpoints" [Low,Triaged]
04:05:34 shaohe_feng ^ it is here
04:05:54 shaohe_feng But it think it is not the root cause fro my issue.
04:06:20 shaohe_feng not sure
04:06:31 shaohe_feng I can not get the endpoint from keystone adaptor
04:06:53 shaohe_feng maybe I need dive into it
04:07:07 shaohe_feng just want to know anyone know it
04:07:25 Yumeng ok. I will take a look. but I don't have an real env to test the program. :(
04:07:40 shaohe_feng or who introduce glance API into cyborg
04:07:52 shaohe_feng may know better about it.
04:08:30 Yumeng maybe you can also discuss with shogo. he may know something.
04:09:23 Yumeng I will also take a look at this issue. ^^
04:09:50 Yumeng just ping in wechat, so that we all can see that.
04:10:13 Yumeng ops. we seems run out of time.
04:10:28 Yumeng #topic AOB
04:11:11 Yumeng shaohe_feng: or ML is better? glance guys can see it and discuss
04:11:44 shaohe_feng ok
04:11:50 shaohe_feng Yumeng thanks
04:11:52 Yumeng is there anything else for today?
04:12:18 Yumeng if nothing else let's wrap up today's meeting. Thank you all.
04:12:19 Yumeng bye
04:12:29 Yumeng #endmeeting
04:12:31 openstack Meeting ended Thu Jun 18 04:12:29 2020 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
04:12:32 openstack Minutes: http://eavesdrop.openstack.org/meetings/openstack_cyborg/2020/openstack_cyborg.2020-06-18-03.01.html
04:12:33 openstack Minutes (text): http://eavesdrop.openstack.org/meetings/openstack_cyborg/2020/openstack_cyborg.2020-06-18-03.01.txt

Earlier   Later