Commit Graph

375 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2a2d8ee410 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:58 +00:00
Zuul 4b442e039a Merge "Add a Apache-2.0 License to the base dir" 2018-09-28 07:31:18 +00:00
Dirk Mueller 6f713eae2e Add a Apache-2.0 License to the base dir
This adds it to the sdist'ed tarball which is used
for packaging efforts to include a license in the
resulting binaries.

Change-Id: I146fbbd518fc1393c66d18ae8c0569d48a98f6d0
2018-09-27 07:40:16 +00:00
huang.zhiping 57b9ebb14e fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ie5b0294a912f1bcd8015197eacd9ac0f48e2cd14
2018-09-27 07:40:02 +00:00
jichenjc 41494b0fe2 Fix uuidsentinel
use following instead of directly get from nova
from oslo_utils.fixture import uuidsentinel

Change-Id: I2f710cb2ce406f043c9fecb7adc4c7c23c6b6930
2018-09-26 22:55:14 +08:00
Doug Hellmann ec4125f767 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I10fb69b9a1b2182c5151cc75aa8ab96eb95faf56
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 11:52:26 -04:00
jichenjc e26ae01680 Enhance doc
1) remove comparison between zvm driver and other drivers
2) add support matrix for more info

Change-Id: Iba94b132a8f7b72ce1a6f20c8021d2dd449dc2d5
2018-02-12 11:14:29 +08:00
nafei yang 5bf2b8b875 Fix instance delete bug
Since zvmsdk store all instance in DB in uppercase, so change to
check it in upper case too.

Change-Id: I54f2b346f3d5f17578afa8c342f83045689290f6
2018-01-18 17:02:25 +08:00
SharpRazor b44d5d70e1 Add token configuration item
Change-Id: I6d1092d24ff98e1d81b2f1a1c86d480f529d3887
2018-01-11 11:04:00 +08:00
Sean McGinnis 1edd1bfb46 Remove mox from requirements
Mox was listed in test-requirements, but it is not actually
used anywhere. Since we are trying to remove this package
from OpenStack, removing from requirements so it does not
look like it is being used.

Change-Id: I89c9e3ddd054b0d2ecc2ecb0f9a05ffe1bbc706a
2018-01-09 15:34:25 -06:00
SharpRazor 6e0d114546 set up ca file configuration in drver
add 3 items in configuration file:zvm_ssl_enabled, zvm_verify_enabled
and zvm_ca_file.

Change-Id: I1adc33882689513865bb850618e558a09810ccfe
2018-01-09 11:54:43 +08:00
Huang Rui 77e5cfa112 Add reboot instance driver method
Soft reboot invokes zvm cloud connector guest_reboot while hard
reboot invokes guest_reset.

Change-Id: I6689e67e9caec554e0582358cea11f01f181bd06
2018-01-08 10:11:16 +08:00
nafei yang ddbcd6cfac Snapshot support
Change-Id: If56531e366b21368984eb5ba14af661dc4892876
2018-01-04 10:06:12 +08:00
Huang Rui 56ce25c969 fix typos when call guest soft stop
The correct API name should be "guest_softstop" in driver.power_off
method.

Change-Id: Ide9b29b53179df8192f441d784a97ed9eaa7fecd
2017-12-27 11:17:38 +08:00
Huang Rui 73eb5e857d update zvm_connector_url to URIopt
Change-Id: I7a582838f4bc61b2e309854dc2efbc91da226b1e
2017-12-22 10:52:20 +08:00
Huang Rui fab7a6c77e Add vm power action driver methods and get console output
Add vm power actions support including: power on, power off,
pause, unpause and get vm console output via smut backend.

Change-Id: Id032dea9dce6c157367f2320a4a373ff862fe10b
2017-12-20 18:10:16 +08:00
Huang Rui 369b0b1674 switch from xcat backend to smut backend
zvm cloud connector has dropped xcat backend support. Swtich to
smut backend instead.

Change-Id: Ie09070f4ff43db4c244305378352f34809c9be74
2017-12-15 18:09:24 +08:00
jichenjc 9704803789 Adopt changes for upstream 511879
https://review.openstack.org/#/c/511879 modify the virt driver
param, we need make similar changes

Change-Id: I9eb57f93ccef8ca669ae012c6c1dda920488d937
2017-10-19 01:18:40 +08:00
Huang Rui f47a2f73d8 fix zvm driver.get_info
zvm driver.get_info was affected by the change:
https://review.openstack.org/#/c/471146/

In nova master, nova.virt.hardware.InstanceInfo should pass power
state when init the object.

Change-Id: I1adec39c943518f3f1bd791ad877e8abdf1f8c11
2017-09-11 16:53:26 +08:00
jichenjc 5132925953 Modify some wording about introduction
Change-Id: I3bb2693b9ec2d07cca72054a9ea41f218c635e00
2017-08-30 20:08:57 +08:00
jichenjc 77a39d8632 Add zuul status and flow
Change-Id: I9b2a6397e8718bcc368da3d44864bc73061d8bb0
2017-08-29 20:36:39 +08:00
jichenjc 2355bb6280 Adjust topo information and CI doc
Change-Id: I2d6b8c919d80558cd1f5af4abebb46a38799c2fa
2017-08-29 14:24:47 +08:00
jichenjc 4183ea5a76 Adjust document to reflect latest update
zvm driver switch to cloudlib4zvm (zvm cloud connector) now
and the doc need to be updated.

Change-Id: I885e8c11c237d5ca03754a1f96e23fee1ac9ca3e
2017-08-19 15:09:51 +08:00
jichenjc 4e283994bd Add doc for additional CI information
CI and basic introduction was added

Change-Id: Iee06fc2c7f2a7a2e4cb4721f7b49934fcf9db834
2017-08-19 12:50:53 +08:00
jichenjc be4a16a300 Remove generate conf file temply
Remove generate conf file temply

Change-Id: I6898132019d5a8f34a5fc923d48ac764d529501e
2017-08-18 21:10:54 +08:00
jichenjc cc771fd9d1 eventlet support
Change-Id: I0846ed088613373f13378d8744735e74a9573da1
2017-08-18 14:19:05 +08:00
Huang Rui 6fea79d689 switch to sdk
zvmsdk is a library that enables zvm cloud management.
This patch switch from calling xcat client directly to importing
zvmsdk to call zvmsdk API, to manage zvm host and virtual machines.

Change-Id: I74406a618a4a8b2d80a905c56621c1acd46f1c08
2017-08-22 10:14:23 +08:00
libing 9887de79eb Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I97f9b445cb572adf936d0171bcda1e0f8724b367
2017-06-12 11:10:26 +08:00
jichenjc 9b7eb5310b pin sphinx = 1.5.6
per https://github.com/sphinx-doc/sphinx/issues/3754

Change-Id: If0fd528140b80aba21567aa72d84d22a93aff7d8
2017-05-23 05:16:23 +08:00
Jenkins 10a8411cb5 Merge "Add z/VM requirements for doc" 2017-05-08 07:25:47 +00:00
Jenkins 42fe2b91d0 Merge "Add active engine guide" 2017-05-08 07:25:41 +00:00
Jenkins 79e6b97a7d Merge "Add image guide for image requirements" 2017-05-08 07:24:52 +00:00
Jenkins e7689e2062 Merge "Add additional doc for topo" 2017-05-08 07:24:45 +00:00
jichenjc df5add1e14 avoid raise error log when update image failed
as in nova side we tried to update image property and this is
always allowed by default, we thought it's an error, but actually
it's acceptable since next time we will do that again.

Change-Id: I82f538aaad8882a5b96c3cec1f4781bd91c5944b
2017-05-05 21:05:08 +08:00
jichenjc c17d2a93e4 Add z/VM requirements for doc
Partial-implement-blueprint nova_doc

Change-Id: Ia463f35eb08b43346deb858b3b58e7aab387740d
2017-05-05 20:22:17 +08:00
jichenjc 09ff8e5646 Add active engine guide
add active engine (conf4z and cloud-init) guide

Partial-implement-blueprint nova_doc

Change-Id: If2fa9e9c3aa82eb298cdec90425ea018e0d9e529
2017-05-05 19:11:03 +08:00
Jenkins 66a40cef68 Merge "Add doc enhancement for arch picture as topo" 2017-05-03 07:42:41 +00:00
Jenkins a50acb875d Merge "Add more info into README" 2017-05-03 07:42:36 +00:00
Jenkins 16fe34c178 Merge "Add doc for contributing" 2017-05-03 07:42:12 +00:00
jichenjc 94b47c40f9 Add image guide for image requirements
Partial-implement-blueprint nova_doc

Change-Id: I34bce105c9dfbcb165b2b1561bb431db89e01818
2017-04-29 18:44:20 +08:00
jichenjc 28785ee1c0 Add additional doc for topo
Partial-implement-blueprint nova_doc

Change-Id: Ic600aadb37dce0c04d14fc9d92388a87338226ea
2017-04-29 18:17:12 +08:00
jichenjc 5d0a448c40 Add doc enhancement for arch picture as topo
Partial-implement-blueprint nova_doc

Change-Id: Iee50152da5c8bb43ad81521512cba6519097c253
2017-04-29 06:07:18 +08:00
jichenjc e81da07191 Fix log debug error
log debug lead to TypeError now, we need use dict mode

Change-Id: Ib40c7a65a6c09154f36fe8c80a74c230811c4c45
2017-04-28 20:50:25 +08:00
Jenkins 905f047cbd Merge "honor zvm_default_admin_userid" 2017-04-28 08:36:29 +00:00
Jenkins 2ee6503290 Merge "deprecate zvm_user_default_password" 2017-04-28 08:36:22 +00:00
jichenjc 39b3743ec9 Add doc for contributing
Add doc for contributing

Change-Id: I7b4ea0cf9e04ad1b486323d7ed3af79da5b1d67f
2017-04-28 15:03:17 +08:00
jichenjc 6e7ad7a719 Add more info into README
Add more info into README

Change-Id: I93eaf952c96a6c2783199ac26bf2f96d09f4d3ac
2017-04-28 14:57:31 +08:00
Yi Chun Huang 788bd4749d Will not reraise error out when destroying a failed instance
Reraising an error would interrupt the process of removing
resources from the failed instance, and then make some resources
keep being occupied even after the instance has been deleted.

Change-Id: Id79eb4d58618987d9ae5e98a66f8339c423b4c4d
2017-04-07 16:01:59 +08:00
jichenjc 32b35e7e42 honor zvm_default_admin_userid
we need do some changes according to zvm_default_admin_userid
zvm_default_admin_userid will be the primary conf options from
then on.

part of blueprint:add_zvm_default_admin_userid

Change-Id: I666262895acdf3b8972f6ac0a5a3a6f228836d6f
2017-03-26 05:18:37 +08:00
jichenjc 6e9210d7c1 deprecate zvm_user_default_password
zvm_user_default_password is not secure and we will use LBYONLY to
replace it and deprecate zvm_user_default_password.

part of blueprint:add_zvm_default_admin_userid

Change-Id: Ife905eb4499ccb7bbbdd8bbba75fc425e560606e
2017-03-26 05:18:31 +08:00