summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-19Add test case for nodes api.HEADmasterzxgao
Change-Id: I49ef9f7aa76fbac55a8c73f62459d8a5cb2a06c8 Closes-Bug: 1809085 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Code-Review+2: wanghao <sxmatch1986@gmail.com> Workflow+1: wanghao <sxmatch1986@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 19 Dec 2018 09:36:21 +0000 Reviewed-on: https://review.openstack.org/626112 Project: openstack/mogan Branch: refs/heads/master
2018-12-19Add test case for availability zone api.zxgao
Change-Id: I75d95b0a576c6320f402591b709e985feb176ed8 Closes-Bug: 1809059 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Code-Review+2: wanghao <sxmatch1986@gmail.com> Workflow+1: wanghao <sxmatch1986@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 19 Dec 2018 03:06:36 +0000 Reviewed-on: https://review.openstack.org/626064 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Merge "add test for quota update when quota no exist"Zuul
2018-12-18Merge "Add save aggregate metadata test case"Zuul
2018-12-18Merge "Add api app unit test"Zuul
2018-12-18Merge "Add server nic unit tests"Zuul
2018-12-18Add rpc call testRui Yuan Dou
Change-Id: I36a2cc66fe70c4fc7ba978a9ef27e2ea1f6be0d7 Closes-Bug: #1808962 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: Tue, 18 Dec 2018 11:19:43 +0000 Reviewed-on: https://review.openstack.org/625873 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add server nic unit testsRui Yuan Dou
Change-Id: I0ac7cbba90f19c133ee01b79bb2966f540d54982 Closes-Bug: #1808952 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: Tue, 18 Dec 2018 11:23:46 +0000 Reviewed-on: https://review.openstack.org/625857 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Merge "Add server_group related db exception tests."Zuul
2018-12-18Merge "add test for get_one() when server_uuid not found"Zuul
2018-12-18add test for quota update when quota no existzhaodan
Closes-Bug: #1808940 Change-Id: Ib4ad6138edc49b334a7a2da1c7864d874bf9a0eb 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: Tue, 18 Dec 2018 11:26:59 +0000 Reviewed-on: https://review.openstack.org/625835 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add server_group related db exception tests.zxgao
Change-Id: Ib270840d667088d9edecf88440eecdad97ac7b86 Closes-Bug: 1808936 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: Tue, 18 Dec 2018 09:10:10 +0000 Reviewed-on: https://review.openstack.org/625830 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add save aggregate metadata test caseRui Yuan Dou
Change-Id: I8a63c033043e0e4f92b3f080ab5cabc4a85f1841 Closes-Bug: #1808933 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: Tue, 18 Dec 2018 11:26:58 +0000 Reviewed-on: https://review.openstack.org/625826 Project: openstack/mogan Branch: refs/heads/master
2018-12-18add test for get_one() when server_uuid not foundzhaodan
Closes-Bug:#1808918 Change-Id: I265defee39a8c5795f3d23c617af00bc1d5c3c96 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: Tue, 18 Dec 2018 09:08:10 +0000 Reviewed-on: https://review.openstack.org/625814 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add unit test of db about updating a not exist server.zxgao
Change-Id: I2d20d575e90c36b2bef3a781f4f1f1bda4bd93a5 Closes-Bug: 1808922 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: Tue, 18 Dec 2018 08:21:17 +0000 Reviewed-on: https://review.openstack.org/625813 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add api app unit testRui Yuan Dou
Change-Id: Ie9e9b0fa39c672c430234172cf213eaca191aa1e Closes-Bug: #1808921 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: Tue, 18 Dec 2018 11:26:02 +0000 Reviewed-on: https://review.openstack.org/625812 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Add unit test of api about trying to get a not exist flavor.zxgao
Change-Id: I02a5c27fd68ad762d35aba40dda9176fae680ef8 Closes-Bug: 1808914 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: Tue, 18 Dec 2018 06:45:39 +0000 Reviewed-on: https://review.openstack.org/625794 Project: openstack/mogan Branch: refs/heads/master
2018-12-18Fix context hook unit test error.zxgao
Change-Id: I8559b62c2b485d385626253cfcca4ecda2ecaa7f Closes-Bug: 1808900 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: Tue, 18 Dec 2018 03:39:59 +0000 Reviewed-on: https://review.openstack.org/625772 Project: openstack/mogan Branch: refs/heads/master
2018-06-01Replace Chinese punctuation with English punctuationinspurericzhang
Curly quotes(Chinese punctuation) usually input from Chinese input method. When read from english context, it makes some confusion. Change-Id: Ibca2c0a6236de383097267272f151f30aa4afe74 Notes (review): Code-Review+2: Tao Li <litao3721@126.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 12 Jun 2018 01:43:20 +0000 Reviewed-on: https://review.openstack.org/571660 Project: openstack/mogan Branch: refs/heads/master
2018-05-09Trivial: Update pypi url to new urlXiaojueGuan
Change-Id: Ib46fce05f4fa5f09ba2149e09b599ffe4b1f09ce Notes (review): Code-Review+1: Vu Cong Tuan <tuanvc@vn.fujitsu.com> Code-Review+2: Tao Li <litao3721@126.com> Workflow+1: Zhenguo Niu <Niu.ZGlinux@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 26 May 2018 10:39:43 +0000 Reviewed-on: https://review.openstack.org/565448 Project: openstack/mogan Branch: refs/heads/master
2018-03-27Merge "Updated from global requirements"Zuul
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