| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-cyborg - 2020-06-18 | |||
| 03:24:17 | Yumeng | agree. | |
| 03:25:45 | Yumeng | ok,good. let's go to next topic. | |
| 03:25:51 | Yumeng | Release schedule and storyboard update http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015486.html | |
| 03:26:59 | Yumeng | Does anyone wants to bring up anything about the milestones or storyboard? | |
| 03:28:30 | Yumeng | hi shaohe_feng | |
| 03:28:44 | shaohe_feng | Yumeng: morning | |
| 03:30:20 | Yumeng | shaohe_feng: do you wanna Attribute API be implemented? I not yet created a story, just worrying about if we can finish. | |
| 03:30:54 | shaohe_feng | We can create one | |
| 03:31:37 | wangzhh | I can take it. :) | |
| 03:31:52 | shaohe_feng | great, thanks. wangzhh | |
| 03:31:58 | Yumeng | wangzhh: cool! thanks | |
| 03:32:10 | wangzhh | Haha Noop | |
| 03:32:59 | wangzhh | Any context before? And do we need a proposal first? | |
| 03:33:39 | shaohe_feng | wangzhh: yes. | |
| 03:33:51 | shaohe_feng | one scenarios is that: | |
| 03:34:20 | Yumeng | wangzhh: yes,I think a spec is necessary since it is a API change. | |
| 03:34:38 | wangzhh | Yumeng: Yep | |
| 03:34:53 | shaohe_feng | the FPGA driver discovery the resource, report them to cyborg DB and placement. | |
| 03:34:56 | brinzhang | need to bump a microversion | |
| 03:35:53 | shaohe_feng | but the function may change, we can get the function id, it is machine readable | |
| 03:36:31 | shaohe_feng | we want to set a alias for it to make it human readable. | |
| 03:37:05 | shaohe_feng | so we want to a attribute API for us to do it. | |
| 03:38:18 | wangzhh | It makes sense. shaohe_feng. | |
| 03:38:28 | Yumeng | REF: https://etherpad.opendev.org/p/cyborg-victoria-goals from L200 | |
| 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 | Yumeng | brinzhang: not sure if that's the case. I didn't delete anything in commit message. | |
| 03:48:30 | shaohe_feng | https://github.com/openstack/cyborg/blob/6dab512af226677c9065f85f264a691f3aeb6eab/cyborg/common/utils.py#L200 | |
| 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 | # a list. (It could also happen with a real auth if the endpoint isn't | |
| 03:55:43 | Yumeng | shaohe_feng: do you know what does efried's note mean? # NOTE(efried): Id9bd19cca68206fc64d23b0eaa95aa3e5b01b676 may also do the | |
| 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 | openstack | Launchpad bug 1707995 in Glance Client "Can't use versioned endpoints" [Low,Triaged] | |
| 04:05:22 | shaohe_feng | Yumeng: https://bugs.launchpad.net/python-glanceclient/+bug/1707995 | |