[openstack-dev] [Zun]Use 'uuid' instead of 'id' as object ident in data model
Hi team, I need your advice on this patch[1], which aims to implement etcd DB data model and API for 'ResourceClass' object. As you may know, in mysql implementation, mysql will generate a 'id' field, which is an unique and auto increase integer. The 'id' is also used as 'primary key' or 'foreign key' in mysql[2]. However, in etcd implementation, etcd will NOT generate this 'id' itself, so I intend to use the 'uuid' attribute of the object instead of 'id', and modify the DB API method to use 'uuid' as object ident instead of 'id', like[3]. Personally I feel using 'uuid' is more reasonable because 'id' is a specific field in DB like mysql, seems it does not have actual meaning in data model, right? An alternative way Hongbin suggested is to generate an unique 'id' like mysql by ourselves and insert the 'id' into etcd data model. But he said he's OK with the idea to replace 'id' with 'uuid' if it does not break anything. What's your opinion on this issue? Thanks in advance! [1]https://review.openstack.org/#/c/434909/ [2]https://github.com/openstack/zun/blob/c0cebba170b8e3ea5e62e335536cf974bbbf08ec/zun/db/sqlalchemy/models.py#L200 [3]https://github.com/openstack/zun/blob/c0cebba170b8e3ea5e62e335536cf974bbbf08ec/zun/db/etcd/api.py#L209 <https://github.com/openstack/zun/blob/c0cebba170b8e3ea5e62e335536cf974bbbf08ec/zun/db/etcd/api.py#L209> Best Regards, Wenzhi Yu (yuywz) __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Zun] Propose a change of the Zun core team membership
+1 from me! Kevin has made significant contribution to Zun, he deserves this! Best Regards, Wenzhi Yu(yuywz) > 在 2017年1月24日,下午5:12,Shuu Mutou <shu-mu...@rf.jp.nec.com> 写道: > > +1 for both. > > regards > Shu > > >> -Original Message- >> From: Pradeep Singh [mailto:ps4openst...@gmail.com] >> Sent: Tuesday, January 24, 2017 11:58 AM >> To: OpenStack Development Mailing List (not for usage questions) >> <openstack-dev@lists.openstack.org> >> Subject: Re: [openstack-dev] [Zun] Propose a change of the Zun core team >> membership >> >> +1, welcome Kevin. I appreciate your work. >> >> On Tuesday, January 24, 2017, Yanyan Hu <huyanya...@gmail.com >> <mailto:huyanya...@gmail.com> > wrote: >> >> >> +1 for the change. >> >> >> 2017-01-24 6:56 GMT+08:00 Hongbin Lu <hongbin...@huawei.com >> <javascript:_e(%7B%7D,'cvml','hongbin...@huawei.com');> >: >> >> >> Hi Zun cores, >> >> >> >> I proposed a change of Zun core team membership as below: >> >> >> >> + Kevin Zhao (kevin-zhao) >> >> - Haiwei Xu (xu-haiwei) >> >> >> >> Kevin has been working for Zun for a while, and made >> significant contribution. He submitted several non-trivial patches with >> high quality. One of his challenging task is adding support of container >> interactive mode, and it looks he is capable to handle this challenging >> task (his patches are under reviews now). I think he is a good addition >> to the core team. Haiwei is a member of the initial core team. Unfortunately, >> his activity dropped down in the past a few months. >> >> >> >> According to the OpenStack Governance process [1], we >> require a minimum of 4 +1 votes from Zun core reviewers within a 1 week >> voting window (consider this proposal as a +1 vote from me). A vote of -1 >> is a veto. If we cannot get enough votes or there is a veto vote prior to >> the end of the voting window, this proposal is rejected. >> >> >> >> [1] >> https://wiki.openstack.org/wiki/Governance/Approved/CoreDevProcess >> <https://wiki.openstack.org/wiki/Governance/Approved/CoreDevProcess> >> >> >> >> Best regards, >> >> Hongbin >> >> >> >> >> >> __ >> >> OpenStack Development Mailing List (not for usage >> questions) >> Unsubscribe: >> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> <http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> >> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack- >> dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> >> >> >> >> >> >> >> -- >> >> Best regards, >> >> Yanyan > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Zun] Propose a change of Zun core membership
+1, welcome Pradeep! > 在 2016年12月4日,下午10:49,Qiming Teng写道: > > +1 to both. > > On Wed, Nov 30, 2016 at 11:37:59PM +, Hongbin Lu wrote: >> Hi Zun cores, >> >> I am going to propose the following change of the Zun core reviewers team: >> + Pradeep Kumar Singh (pradeep-singh-u) >> - Vivek Jain (vivek-jain-openstack) >> >> Pradeep was proven to be a significant contributor to Zun. He ranked first >> at the number of commits, and his patches were non-trivial and with high >> quality. His reviews were also very helpful, and often prompted us to >> re-think the design. It would be great to have him in the core team. I would >> like to thank Vivek for his interest to join the core team when Zun was >> found. However, he became inactive in the past a few months, but he is >> welcomed to re-join the core team as long as he becomes active again. >> >> According to the OpenStack Governance process [1], we require a minimum of 4 >> +1 votes from Zun core reviewers within a 1 week voting window (consider >> this proposal as a +1 vote from me). A vote of -1 is a veto. If we cannot >> get enough votes or there is a veto vote prior to the end of the voting >> window, this proposal is rejected. >> >> [1] https://wiki.openstack.org/wiki/Governance/Approved/CoreDevProcess >> >> Best regards, >> Hongbin > > > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Zun] Propose a change of Zun core team
+1 for both 2016-10-20 Best Regards, Wenzhi Yu (yuywz) 发件人:Hongbin Lu <hongbin...@huawei.com> 发送时间:2016-10-20 05:18 主题:[openstack-dev] [Zun] Propose a change of Zun core team 收件人:"OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org> 抄送: Hi team, I am going to propose an exchange of the core team membership as below: + Shubham Kumar Sharma (shubham) - Chandan Kumar (chandankumar) Shubham contributed a lot for the container image feature and active on reviews and IRC. I think he is a good addition to the core team. Chandan became inactive for a long period of time so he didn’t meet the expectation of a core reviewer anymore. However, thanks for his interest to join the core team when the team was found. He is welcomed to re-join the core team if he become active in the future. According to the OpenStack Governance process [1], we require a minimum of 4 +1 votes from Zun core reviewers within a 1 week voting window (consider this proposal as a +1 vote from me). A vote of -1 is a veto. If we cannot get enough votes or there is a veto vote prior to the end of the voting window, this proposal is rejected and Shubham is not able to join the core team and needs to wait 30 days to reapply. [1] https://wiki.openstack.org/wiki/Governance/Approved/CoreDevProcess Best regards, Hongbin__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [devstack][CI] Etcd server setuped in devstack script can not be reached in CI unit tests
Hi all, I intended to use etcd as data store for Zun project. So I installed docker and started a docker container with an etcd server running in it using devstack script. The etcd server listens on 127.0.0.1:2379 for client requests. And per CI log [1] the container had been started successfully and functioned well (I added some test code and etcd server is available on 127.0.0.1:2379). But during the execution of unit test cases, the connection to 127.0.0.1:2379 became inavailable [2], all the cases tried to connect to etcd server failed. I did some investigation and found that the test cases were running in an isolated network environment (maybe within an container?). So the etcd server can not be reached via 127.0.0.1:2379 during test run. I intended to configure etcd server to listen on an IP address which can be reached from the test envrionment, but I realized that even if I did that, it's not easy to query that IP address in test cases. An alternative method is to forward the request sent to 127.0.0.1:2379 of test environment to corresponding socket of the environment inwhich the etcd container is running. Now I have no idea how to deal with this issue, please help me out! Thanks in advance! [1]http://paste.openstack.org/show/586299/ [2]http://paste.openstack.org/show/586310/ 2016-10-19 Best Regards, Wenzhi Yu (yuywz)__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Zun][Higgins] Proposing Sudipta Biswas and Wenzhi Yu for Zun core reviewer team
Thanks Hongbin and Team! I will keep on going :) 2016-08-21 Best Regards, Wenzhi Yu (yuywz) 发件人:Hongbin Lu <hongbin...@gmail.com> 发送时间:2016-08-19 21:51 主题:Re: [openstack-dev] [Zun][Higgins] Proposing Sudipta Biswas and Wenzhi Yu for Zun core reviewer team 收件人:"OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org> 抄送: Hi all, Thanks for your vote. According to the feedback, Sudipta and Wenzhi have been added to the core team [1]. Best regards, Hongbin On Sat, Aug 13, 2016 at 5:44 PM, Fei Long Wang <feil...@catalyst.net.nz> wrote: +1 On 12/08/16 19:22, taget wrote: +1 for both, they would be great addition to zun team. On 2016年08月12日 10:26, Yanyan Hu wrote: Both Sudipta and Wenzhi have been actively contributing to the Zun project for a while. Sudipta provided helpful advice for the project roadmap and architecture design. Wenzhi consistently contributed high quality patches and insightful reviews. I think both of them are qualified to join the core team. -- Cheers & Best regards, Fei Long Wang (王飞龙) -- Senior Cloud Software Engineer Tel: +64-48032246 Email: flw...@catalyst.net.nz Catalyst IT Limited Level 6, Catalyst House, 150 Willis Street, Wellington -- __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [magnum] Support for bay rollback may break magnum API backward compatibility
Hi folks, I am working on a patch [1] to add bay rollback machanism on update failure. But it seems to break magnum API backward compatibility. I'm not sure how to deal with this, can you please give me your suggestion? Thanks! [1]https://review.openstack.org/#/c/343478/ 2016-07-27 Best Regards, Wenzhi Yu (yuywz)__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [devstack] How to enable SSL in devStack?
Thanks for your reply, Andrey. I tried set USE_SSL=True but still got the same error: 2016-07-20 01:29:21.446 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-07-20 01:29:21.446 | Could not determine a suitable URL for the plugin. Please see the detailed log here: http://paste.openstack.org/show/538761/ Here is my local.conf: http://paste.openstack.org/show/538762/ 2016-07-20 Best Regards, Wenzhi Yu (yuywz) 发件人:Andrey Pavlov <andrey...@gmail.com> 发送时间:2016-07-19 16:46 主题:Re: [openstack-dev] [devstack] How to enable SSL in devStack? 收件人:"OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org> 抄送: just add USE_SSL=True to your localrc before run stack.sh Regards, Andrey. On Tue, Jul 19, 2016 at 10:17 AM, Wenzhi Yu (yuywz) <wenzhi...@163.com> wrote: > Hi folks, > > I want to configure the openstack endpoints to use SSL in devStack. > > I searched on internet and found some posts like [1] and tried the > configuration in the post, but devStack script failed with error messages > like: > "Discovering versions from the identity service failed when creating the > password plugin. Attempting to determine version from URL. Could not > determine a suitable URL for the plugin." > [1]https://ask.openstack.org/en/question/45348/devstack-with-ssl/ > > So how to enable SSL in devStack? Can anyone please give me some guidance? > Thanks! > > 2016-07-19 > > Best Regards, > Wenzhi Yu (yuywz) > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Kind regards, Andrey Pavlov. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [devstack] How to enable SSL in devStack?
Hi folks, I want to configure the openstack endpoints to use SSL in devStack. I searched on internet and found some posts like [1] and tried the configuration in the post, but devStack script failed with error messages like: "Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. Could not determine a suitable URL for the plugin." [1]https://ask.openstack.org/en/question/45348/devstack-with-ssl/ So how to enable SSL in devStack? Can anyone please give me some guidance? Thanks! 2016-07-19 Best Regards, Wenzhi Yu (yuywz)__ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev