Commit Graph

350 Commits

Author SHA1 Message Date
OpenDev Sysadmins 53edafeb12 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
Huang Rui ef7a19d8f2 backport zvm driver from master to stable/pike
Change-Id: I5719cc77f39f5b85698a1ae07b3435a6c9ccd1f9
2018-07-09 14:33:08 +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
Jenkins 9a1ae9cbfd Merge "update doc to add 'images'" 2017-03-24 08:11:42 +00:00
Jenkins 703d56886a Merge "Add introduction info of zvm driver" 2017-03-24 08:11:33 +00:00
Huang Rui 2e3d781d86 Move nova zvm virt driver to separate namespace
Currently, nova zvm virt driver is in nova namespace. This result
in some troubles when generating config file, generating docs and
packaging.

All changes in this commit are trying to move nova zvm virt driver
code into new namespace - nova_zvm .

Change-Id: I5251069dfd24ff4e337e9308439415482eb2234c
2017-03-23 12:51:13 +08:00
Jenkins cee0d80f1b Merge "Updating instance_fcp_map correctly when boot-from-volume fails" 2017-03-22 05:01:57 +00:00
Jenkins 373ec4623e Merge "Add oslo.config>=3.22.0 into test requirements" 2017-03-21 09:06:54 +00:00
jichenjc 1a75fe1126 add support matrix of zvm driver
after this document, people is able to view what's supported and
what's not support.

part of blueprint: zvm_doc_update

Change-Id: Id1d57dd501e44c6e7c2a253378f269eebc1b507b
2017-03-21 16:31:08 +08:00
Yi Chun Huang 551d81809b Updating instance_fcp_map correctly when boot-from-volume fails
When boot-from-volume fails, its instance_fcp_map should be updated
correctly. Unfortunately, current code is wrong and will lead to an
error raised.

Change-Id: I7aa65d551b435e0600a40e652478a1fb775d5ca1
2017-03-21 15:56:12 +08:00
Jenkins c6e8ed061f Merge "Add configuration file" 2017-03-21 07:41:17 +00:00
jichenjc 47040b2601 Add configuration file
after this ,user is able to explore the configurations of
nova zvm driver supported.

part of blueprint:zvm_doc_update

Change-Id: Id58b5a5d9ebb7a9304e150e4c0471046ff6b1620
2017-03-21 15:19:03 +08:00
Jenkins 603aabbf82 Merge "Do not punch xcat key file to instance" 2017-03-21 01:46:21 +00:00
Jenkins a575b77d61 Merge "Update root_disk_units with CYL or BLK units" 2017-03-20 10:17:38 +00:00
Jenkins 106da7774e Merge "Add zvm_default_admin_userid conf option" 2017-03-20 10:10:33 +00:00
Jenkins 8ef9ecb427 Merge "Try to do unlock when delete userid failed" 2017-03-20 08:26:27 +00:00
Huang Rui 576861d24c Try to do unlock when delete userid failed
Right now, if delete userid failed due to image lock or device
lock, zvm driver has a looping call to check lock status with 10
minutes timeout.

Normaly, the image or device was locked by disk related actions
which could not be unlocked in short time. So turn to call
image_unlock_dm try to unlock it. Then try to delete the vm again.

Change-Id: I848d042231757d8673700e3db2b46f8fc9757596
2017-03-20 16:13:15 +08:00
nafei yang a6bd227ead Update root_disk_units with CYL or BLK units
Now the root_disk_units just has disk size in it. It doesn't have
units. So if customer specify a dismatch disk type, the driver
will not detect it until the create disk prompt the space is not
enough. This patch add units to root_disk_units, so it can give
customer clearly advise if error happens.

Change-Id: I1a31aa4bf77b774092fd04cc7174599252757538
2017-03-16 15:16:22 +08:00
jichenjc 6c1732220e Add oslo.config>=3.22.0 into test requirements
so we can preinstall before build doc in redthedocs

Change-Id: I9440af3aaa8ec679b9662ea316501eb351c5a7e9
2017-03-16 01:49:28 +08:00
jichenjc ed98cf8cda update doc to add 'images'
part of blueprint:zvm_doc_update

Change-Id: Icbaf3289616dc80a1c7250585901912e6843f7da
2017-03-15 21:27:39 +08:00
jichenjc c69fef5c05 Add introduction info of zvm driver
part of blueprint:zvm_doc_update

Change-Id: Ic7128f014bddc07b304af588ffe1eec97fa6f439
2017-03-15 20:37:53 +08:00
jichenjc 47c92666e5 Add zvm_default_admin_userid conf option
zvm_default_admin_userid will be added and user is able to
log on cloud created user through this ID.

the old zvm_user_default_password will be removed in the near future.

part of blueprint:add_zvm_default_admin_userid

Change-Id: I8938669af3103df2e6f51cee1de458a6be339154
2017-03-15 13:15:01 +08:00
jichenjc 680bec4226 Add init document for zvm driver
dd init document for zvm driver

Change-Id: I805981396955f4516cfbea415dc1ea777b026f6a
2017-03-15 05:34:55 +08:00
jichenjc 36895437c5 Add handle 503 error from REST layer
REST API layer might return 503 error, this means server is
temply not available, instead just fail, we can retry the work
as our REST calls are sync call, so no harm to retry it

as we can't retry forever, add a retry max count so that at
last we will still fail out.

Change-Id: I1e484265d241c87d2f0060f0aaef19cb6314ed4f
2017-03-13 21:21:06 +08:00
Huang Rui 4313136156 update requirements.txt
sync dependency versions with nova project

Change-Id: Ie0eb99ce0bd8eb81d4b389ea2e3697580e9c942e
2017-03-02 16:58:19 +08:00
Jenkins ca90ca4306 Merge "For SLES system, to keep the NIC setting persistent When boot a system with a NIC which is different from the master system, NIC qeth device will not be initialized when system re-ipl." 2017-02-27 06:17:59 +00:00
songqianxia 087bfe7599 Do not punch xcat key file to instance
After Newton sp1 release, not punch xcat key for new deployed VM.

Change-Id: I3d48cc38818b5a518f3a054c68703ed0543defbd
2017-02-23 16:50:51 +08:00
Jenkins c02a5096d9 Merge "Insert os_version into instance obj when boot-from-volume" 2017-02-23 08:25:46 +00:00