summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-27Merge "Updated from global requirements"HEADmasterZuul
2018-03-26Updated from global requirementsOpenStack Proposal Bot
Change-Id: Idf746bbd328b342b0e088e34db0e829b1525e4a8 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Mar 2018 08:24:40 +0000 Reviewed-on: https://review.openstack.org/552342 Project: openstack/mogan Branch: refs/heads/master
2018-03-22add lower-constraints jobDoug Hellmann
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Iee3102f1e28a1349cae3e5afa3ece210d46b86d8 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com> Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Mar 2018 08:21:37 +0000 Reviewed-on: https://review.openstack.org/555882 Project: openstack/mogan Branch: refs/heads/master
2018-03-10Updated from global requirementsOpenStack Proposal Bot
Change-Id: Id4b257f0207f18190a053fffae9c2a3f50bc267f Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 12 Mar 2018 04:13:52 +0000 Reviewed-on: https://review.openstack.org/551507 Project: openstack/mogan Branch: refs/heads/master
2018-03-01Merge "Updated from global requirements"Zuul
2018-03-01Merge "Modify grammatical errors"Zuul
2018-02-14Updated from global requirementsOpenStack Proposal Bot
Change-Id: Iaa4a68ac550a1f422588cea10ec5a4d12230b1f3 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 01 Mar 2018 09:23:02 +0000 Reviewed-on: https://review.openstack.org/544268 Project: openstack/mogan Branch: refs/heads/master
2018-02-09fix misspelling of 'return'pangliye
Change-Id: Ibaca0172e23db35a0a6c18ee7f3bc5564271d050 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 27 Feb 2018 02:50:31 +0000 Reviewed-on: https://review.openstack.org/542614 Project: openstack/mogan Branch: refs/heads/master
2018-02-09Merge "fix the typo mistake"Zuul
2018-02-08Merge "Zuul: Remove project name"Zuul
2018-02-08Merge "Add manageable server information into system metadata"Zuul
2018-02-06fix the typo mistakeMaoyangLiu
it's need 'a' here not 'an' Change-Id: I71a800aa32f13a4d550f01dc9fcd3773f2268854 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Tao Li <litao3721@126.com> Code-Review+2: Tao Li <litao3721@126.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 09 Feb 2018 03:15:39 +0000 Reviewed-on: https://review.openstack.org/541215 Project: openstack/mogan Branch: refs/heads/master
2018-02-06Modify grammatical errorschengebj5238
Change-Id: Id3b8b950cd4df5b9af4c6721d1c4f645a6de0759 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 01 Mar 2018 09:18:11 +0000 Reviewed-on: https://review.openstack.org/541209 Project: openstack/mogan Branch: refs/heads/master
2018-02-05Zuul: Remove project nameJames E. Blair
Zuul no longer requires the project-name for in-repo configuration. Omitting it makes forking or renaming projects easier. Change-Id: Ia5e76b19416e6a67ee87f246951b60755f7f1388 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 08 Feb 2018 10:28:13 +0000 Reviewed-on: https://review.openstack.org/540946 Project: openstack/mogan Branch: refs/heads/master
2018-02-05Merge "remove re-auth logic for ironic client"Zuul
2018-02-05Merge "[api-ref] Unify the format of the error response code in files"Zuul
2018-02-05Add manageable server information into system metadatawanghao
Now when Mogan manage the baremetal node from driver, Mogan didn't know it is a managed server. We need add this information "managed_server=True" to system metadata for internal use. So this patch will finish two jobs: 1. Implements the system metadata in Mogan 2. Add manageable server information into system metadata Co-Authored-By: Xinran WANG <xin-ran.wang@intel.com> Change-Id: I89947796e120d89ec56f8f5daeb9774cf15b6bd0 Implements: blueprint system-metadata Closes-Bug: #1727913 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Workflow+1: Tao Li <litao3721@126.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 08 Feb 2018 06:56:00 +0000 Reviewed-on: https://review.openstack.org/515585 Project: openstack/mogan Branch: refs/heads/master
2018-02-05Merge "server group unit testing a bit wrong"Zuul
2018-02-01Updated from global requirementsOpenStack Proposal Bot
Change-Id: Ief71c8cf98bebca2c6664df7a4af599223e0520c Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 02 Feb 2018 05:48:09 +0000 Reviewed-on: https://review.openstack.org/534270 Project: openstack/mogan Branch: refs/heads/master
2018-01-29[api-ref] Unify the format of the error response code in filesshangxiaobj
Unify the format of the error response code in server_networks.inc and server_states.inc to make them same with the others. They may be missed when changing. Change-Id: Id8c13b80f51ee2e9eb53345993a431f9020223fb Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 05 Feb 2018 07:28:37 +0000 Reviewed-on: https://review.openstack.org/538727 Project: openstack/mogan Branch: refs/heads/master
2018-01-25remove re-auth logic for ironic clientyufei
We are using keystone session to build ironic client now, keystone session support to re-auth for expired token, so we don't need to re-auth again in client wrapper. This logic is removed from nova in Ifbb6e19d4e2811ebaafc4e5899e46b13b4520f62. Change-Id: Id319a01c8745b466aaf77b9087ffb2f3fd1e5533 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 05 Feb 2018 10:15:52 +0000 Reviewed-on: https://review.openstack.org/537812 Project: openstack/mogan Branch: refs/heads/master
2018-01-16Updated from global requirementsOpenStack Proposal Bot
Change-Id: I193715f7f7cadc497c8640f28cadb9b59b80280d Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Jan 2018 12:20:16 +0000 Reviewed-on: https://review.openstack.org/533888 Project: openstack/mogan Branch: refs/heads/master
2017-12-25server group unit testing a bit wrongliuluyang
the function of create_test_server_group should be used instead create_test_aggregate Change-Id: I383bc563d369144a5f918064309b73e7984b61ab Closes-Bug: #1736331 Notes (review): Code-Review+1: Dongdong Pei <peidongdong121@163.com> Code-Review+1: zhangxi <1275544132@qq.com> Code-Review+1: Dong Liu <willowd878@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+1: Ethan <caotianran@awcloud.com> Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 05 Feb 2018 04:06:28 +0000 Reviewed-on: https://review.openstack.org/525486 Project: openstack/mogan Branch: refs/heads/master
2017-12-23Merge "Use openstack-tox-functional"Zuul
2017-12-21Fix the misspelling of "availability"Guoqiang Ding
Change-Id: I8c1a982f467ac42bf197c9d1d6f11871501401be Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 22 Dec 2017 02:37:30 +0000 Reviewed-on: https://review.openstack.org/529584 Project: openstack/mogan Branch: refs/heads/master
2017-12-19Updated from global requirementsOpenStack Proposal Bot
Change-Id: I1e8ee2bf538dfb3d64e229a8a3890233a253d5b6 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 19 Dec 2017 02:37:29 +0000 Reviewed-on: https://review.openstack.org/523744 Project: openstack/mogan Branch: refs/heads/master
2017-12-16Use openstack-tox-functionalAndreas Jaeger
Instead of a custom job, use the common openstack-tox-functional job which is zuul v3 native. Change-Id: I3b5f99a7ebf9a4a69f179912931046487cb88e21 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 23 Dec 2017 02:33:48 +0000 Reviewed-on: https://review.openstack.org/528506 Project: openstack/mogan Branch: refs/heads/master
2017-11-24Add versioned notifications of rebuild server actionliusheng
This change add the implememtation of versioned notifications of server rebuild action. - Add notification for server.rebuild.end event - Add notification for server.rebuild.error event - Add notification for server.rebuild.start event Change-Id: If168a95dc090f18e6464a03e5ceec9978b2c2df2 Notes (review): Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Code-Review+1: liuluyang <1120773382@qq.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Dec 2017 02:50:27 +0000 Reviewed-on: https://review.openstack.org/522244 Project: openstack/mogan Branch: refs/heads/master
2017-11-23Merge "Remove 'locked' from server object"Zuul
2017-11-20Merge "Add admin_password support"Zuul
2017-11-20Merge "Do not use “-y” for package install"Zuul
2017-11-20Merge "Ensure root_gb always in patch params to avoid ValidationError"Zuul
2017-11-16Updated from global requirementsOpenStack Proposal Bot
Change-Id: I5f519572eb132912816e108ec168d1a1613099fd Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 20 Nov 2017 09:23:32 +0000 Reviewed-on: https://review.openstack.org/519787 Project: openstack/mogan Branch: refs/heads/master
2017-11-15Merge "Add port group mode to manageable servers"Zuul
2017-11-14Updated from global requirementsOpenStack Proposal Bot
Change-Id: Ia62d3c78d81d2493dcca2555b712eacc4fed7084 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 14 Nov 2017 08:05:03 +0000 Reviewed-on: https://review.openstack.org/519115 Project: openstack/mogan Branch: refs/heads/master
2017-11-10Updated from global requirementsOpenStack Proposal Bot
Change-Id: I660fceb9c8e8842ba697af52684edd22449967ae Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 10 Nov 2017 15:02:57 +0000 Reviewed-on: https://review.openstack.org/517482 Project: openstack/mogan Branch: refs/heads/master
2017-11-07Do not use “-y” for package installVu Cong Tuan
According to "code conventions" [1], do not use "-y" option. Instead, use apt-get install package, yum install package, or zypper install package. [1] https://docs.openstack.org/doc-contrib-guide/writing-style/ code-conventions.html Change-Id: Idb0c9c0cc64b28b12c7b511bc8985c829a8a5984 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 20 Nov 2017 09:29:01 +0000 Reviewed-on: https://review.openstack.org/518236 Project: openstack/mogan Branch: refs/heads/master
2017-11-02Ensure root_gb always in patch params to avoid ValidationErrorzhangjl
Accoring [1], the root_gb is required when validating the node properties. While, in latest mogan codes [2], root_gb is optional. Then, the ValidationError would occured when creating baremetal server with mogan. To fix this problem, ensure root_gb always in patch params. [1]: https://github.com/openstack/nova/blob/master/nova/virt/ironic/patcher.py#L61 [2]: https://github.com/openstack/mogan/blob/master/mogan/baremetal/ironic/driver.py#L159-L161 Change-Id: I99f7a0408c234649fc81482f82018c74781f7a26 Closes-Bug: #1729533 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 20 Nov 2017 09:29:00 +0000 Reviewed-on: https://review.openstack.org/517235 Project: openstack/mogan Branch: refs/heads/master
2017-11-01Merge "Zuul: add file extension to playbook path"Zuul
2017-10-31Merge "Following up patch of bbbe964ff4e19232ce3dd326fbd3f04f0781f5b1"Zuul
2017-10-31Add admin_password supportXinran
Mogan should support to inject an admin password into a bare metal server. DocImpact APIImpact Change-Id: Id3487b7aea699353aedd49a51d9a5a2e250943b9 Implements: bp admin-password-support Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 20 Nov 2017 09:29:01 +0000 Reviewed-on: https://review.openstack.org/511198 Project: openstack/mogan Branch: refs/heads/master
2017-10-30Complete the comments for pagination support.Xinran
Change-Id: I96aa4b7b4ea3be4d387d600a9fd23969657bdc1e Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 31 Oct 2017 04:13:43 +0000 Reviewed-on: https://review.openstack.org/516171 Project: openstack/mogan Branch: refs/heads/master
2017-10-29Zuul: add file extension to playbook pathJames E. Blair
Zuul now supports including the file extension on the playbook path and omitting the extension is now deprecrated. Update references to include the extension. Change-Id: Ib94b271c2f7aed7644b7cb9ea8dd7f76dda3c79f Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+1: zhangjl <luoyan_cn@outlook.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 01 Nov 2017 11:11:20 +0000 Reviewed-on: https://review.openstack.org/516103 Project: openstack/mogan Branch: refs/heads/master
2017-10-28Merge "Pagination support for server list API"Zuul
2017-10-28Following up patch of bbbe964ff4e19232ce3dd326fbd3f04f0781f5b1Zhenguo Niu
This merges db migrations file into one, will not add new migration scrips until we are offical. Change-Id: Ibd70c05e42a6b8ad63f3818e385bc347b9ff8afa Notes (review): Code-Review+1: Tao Li <litao3721@126.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 31 Oct 2017 10:21:11 +0000 Reviewed-on: https://review.openstack.org/515997 Project: openstack/mogan Branch: refs/heads/master
2017-10-28Merge "Add db api layer for CRUD operations"Zuul
2017-10-28Remove 'locked' from server objectZhenguo Niu
locked_by can be used to check the lock status, there's no need to keep locked field. Change-Id: I3761ab710cf67d56163a39add4c51ee48f940a36 Closes-Bug: #1727944 Notes (review): Code-Review+1: wanghao <sxmatch1986@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Code-Review+1: liuluyang <1120773382@qq.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 23 Nov 2017 06:30:50 +0000 Reviewed-on: https://review.openstack.org/515667 Project: openstack/mogan Branch: refs/heads/master
2017-10-27Add port group mode to manageable serversZhenguo Niu
Mode of the port group is useful when listing manageable servers. Change-Id: I5a13aa953e40d49f2d136c7d80de11975b796548 Closes-Bug: #1727895 Notes (review): Code-Review+1: wanghao <sxmatch1986@gmail.com> Code-Review+1: Xinran WANG <xin-ran.wang@intel.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Code-Review+2: liusheng <liusheng2048@gmail.com> Workflow+1: liusheng <liusheng2048@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 15 Nov 2017 10:21:03 +0000 Reviewed-on: https://review.openstack.org/515565 Project: openstack/mogan Branch: refs/heads/master
2017-10-26Pagination support for server list APIXinran
We should support to return a list of servers according to users' requirements. In this patch, marker, limit, sort_key and sort_dir were added in server list API. - marker is used to display a list of servers after marker - limit is used to determinate the maximum number of servers to display - sort_key is used to sort the returned server list by specified key value - sort_dir is used to select a sort direction DocImpact APIImpact Change-Id: Id70e965794c82a0a29e53d4364f65b0f39042c7c Closes-Bug: #1726665 Notes (review): Code-Review+2: Zhenguo Niu <Niu.ZGlinux@gmail.com> Code-Review+2: ShaoHe Feng <shaohe.feng@intel.com> Workflow+1: ShaoHe Feng <shaohe.feng@intel.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 28 Oct 2017 16:55:05 +0000 Reviewed-on: https://review.openstack.org/514506 Project: openstack/mogan Branch: refs/heads/master
2017-10-23Merge "Add multi-tenancy networking local.conf setting"Zuul