Thursday, 2017-08-31

*** jiaopengju has joined #openstack-karbor00:40
*** zhurong has joined #openstack-karbor00:49
*** liujiong has joined #openstack-karbor01:42
openstackgerritchenying proposed openstack/karbor master: Spec: Add Quotas to Karbor  https://review.openstack.org/49657902:50
*** gouthamr has quit IRC03:49
*** zhurong has quit IRC04:29
*** zhurong has joined #openstack-karbor04:48
openstackgerritchenying proposed openstack/karbor master: Implement Karbor REST API microversions  https://review.openstack.org/49946506:15
*** chenying has quit IRC06:45
*** chenying has joined #openstack-karbor07:09
jiaopengjuhi, I have a question about status_poll in karbor. I found that we use ‘_get_volume_status’, ‘get_image_status’ etc to poll the resource status with the specify client(never renew it). In some user cases, the client token may be expired, so the status poll will fail. Should we see this as a bug or just modify the auth expire time in keystone?07:11
openstackgerritMerged openstack/karbor master: Fix restore security group error  https://review.openstack.org/49879507:12
openstackgerritMerged openstack/karbor master: Add project_id in neutron operations  https://review.openstack.org/49879407:12
yuvaljiaopengju: have you encountered that?07:13
jiaopengjuyuval: yes, I’m doing integration with freezer. When I doing backup a cinder volume with using freezer plugin, it cost a long time, so the freezer client expired and throws 401 error07:14
jiaopengjuyuval: so I must renew it every time07:15
jiaopengjuyuval: I think freezer client is same as glance client, cinder client etc07:16
yuvalwe once spoke about renewing tokens or getting tokens with very long timeout07:17
yuvaljiaopengju: let me check, one minute07:17
*** zhonghua has quit IRC07:21
*** zhonghua has joined #openstack-karbor07:22
chenyinghi yuval jiaopengju I have submitted the patch about API microversions for karbor. welcome to  review them. : )07:26
yuvalchenying: already have07:26
chenyingI implement API microversions for karbor refer to the microversions implementation of manila and cinder projects.07:27
jiaopengjuchenying: I will review it later07:27
chenyinghi yuval I have noticed your comment about API microversions. Why I introduce microversions to karbor? -- Now the karbor has been deployed to huawei public cloud. So thera are also multiple cases like nova cinder projects have ,need microversions to resolve. REST API backwards incompatible. Older clients/API with new cloud.07:59
chenyingyuval: IMO, introducing microversions doesn't mean encourage developers to break the API with microversion.08:01
*** chenying has quit IRC08:08
*** chenying has joined #openstack-karbor08:14
chenyingyuval: I agree with your partial view about microversions. It will bring complexity to existed API change. We need try to limit and avoid these changes.08:14
yuvalchenying: I don't understand you first sentence (Now the karbor has been...)08:15
*** openstackgerrit has quit IRC08:17
chenyingyuval: Now the pike version of karbor have been deployed to huawei public cloud. In the future, the karbor will be upgraded to new version of karbor.08:22
chenyingyuval:  Top services and UI interfacing with karbor have the usecase of REST API backwards incompatible.08:25
chenyingyuval: As I know, some dr service also use karbor service as the control plane service. So the version upgrade of karbor service also bring about the usecase of  API backwards incompatible.08:30
chenyingyuval: So what's your view about these usecases.08:40
*** chenying has quit IRC08:50
*** zhonghua has quit IRC08:50
*** chenying has joined #openstack-karbor08:51
*** zhonghua has joined #openstack-karbor08:51
*** liujiong has quit IRC08:53
chenyingping yuval08:57
yuvalchenying: ok, I understand, but why microversions and not bump the major version?09:01
jiaopengjuyuval: ‘we once spoke about renewing tokens or getting tokens with very long timeout’ ——— are there any results?09:04
chenyingyuval: I am not sure that bumping the major version is a must.    It is a big change for Karbor API.09:06
chenyingyuval So what's your oppions about it?09:06
*** jiaopengju has quit IRC10:15
yuvalchenying: which changes to the API are you talking about? Breaking changes (change, remove existing API) or adding new API routes?10:35
chenyingyuval:  which changes to the API are you talking about? ---- you mean that the api change about  bumping the major version?10:59
yuvalchenying: no. I'm asking why bumping major version is not enough, and why we need microversions11:00
chenyingyuval:  I mean that possible breaking changes (change, remove existing API) about karbor API.11:02
yuvalchenying: that's not what microversions are for11:02
yuvalchenying: that's major versions11:02
chenyingyuval:  how to solve the the backwards compatible of breaking changes.11:04
yuvalchenying: support old major versions11:04
chenyingyuval: Does it means that if there are some breaking changes about API, we need bump a new major version?  The possible breaking changes about API go with every development cycle.11:10
*** openstackgerrit has joined #openstack-karbor11:28
openstackgerritchenying proposed openstack/karbor master: Add kubernetes client to Karbor  https://review.openstack.org/49877911:28
chenyingyuval so your oppion?11:35
*** jiaopengju has joined #openstack-karbor11:41
yuvalchenying: yes, we need to bump major if we break api12:03
chenyingyuval: I see. I will think it carefully.12:05
chenyingyuval: I have another question about show_resource method of pod protectable.12:06
chenyingyuval Although we have the uid of pod resource from the k8s cluster. But the k8s only expose a get pod API with the parameter pod name.12:07
chenyingyuval: def read_namespaced_pod(self, name, namespace, **kwargs):12:08
chenyingyuval: But the parameter of show_resource method is resource_id.12:09
chenyingyuval: I am thinking about fill the Resource id with the pod name?12:10
chenyingyuval: Do you have any idea about it?12:11
*** jiaopengju has quit IRC13:07
*** jiaopengju has joined #openstack-karbor13:11
*** zhurong has quit IRC13:14
*** gouthamr has joined #openstack-karbor13:18
*** jiaopengju has quit IRC13:40
*** jiaopengju has joined #openstack-karbor13:53
openstackgerritPengju Jiao proposed openstack/karbor master: [WIP]Add freezer protection plugin for karbor  https://review.openstack.org/49968515:32
*** jiaopengju has quit IRC15:35
*** zhonghua2 has joined #openstack-karbor18:00
*** zhonghua has quit IRC18:02
*** gouthamr has quit IRC22:08
*** dimak has quit IRC23:28
*** dimak has joined #openstack-karbor23:29
*** yamamoto_ has joined #openstack-karbor23:31
*** yamamoto_ has quit IRC23:31
*** yamamot__ has joined #openstack-karbor23:31

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