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.
Change-Id: I3afd2b7bef51db113212fde039cb32e902d6f81a
(cherry picked from commit 9bb1592fba)
An instance object should have the os and version information so
that a volume can be attached to it when it's inactive.
Change-Id: I232f743a446dbfcaaf3794df02c084515bdd45fe
We use one WWPN to do boot-from-volume, but SVC driver always
returns a WWPN list from Newton. So we have to remove the
redundant ones.
Change-Id: I6c43eb8f057c79b3f9f75a8532608e5f42e924b1
(cherry picked from commit d61e0d0879)
we should raise nova exception so during build, nova
compute know it's a invalid image and stop retry
Change-Id: Id106d2c70fd12ffbd924ab20cd4022a3a9899f17
(cherry picked from commit b5831e1148)
This patch is for VM migrated from liberty, some of them can't setup IUCV,
so use SSH to make communication. We should keep the status as original VM.
Change-Id: I052ab748f61b1c05dbe8780e368b2d62aadaee60
(cherry picked from commit fda8be04dd)
The hostname of the instance is not set correct when booting from
volume. It's caused by redundant data in network_metadata in
instance_metadata, so the data will be cleaned.
Change-Id: Id6c847cae4442fa70f2de212c22968973f139601
When boot from volume, image_meta has no id or other properties
it will cause the error like bug 1657 described. Submit this patch
to solve it.
Change-Id: Ie513ad7003b391d7012df946c3b660ae127aca1c
Nova conductor live-migrate task utilize nova.objects.migrate_data
objects to maintain parameters through the whole live migration
process. The lagacy dict type of migrate data is no longer
supported.
Fix the un-supported migrate data error in this change.
Change-Id: If04287726aec4be11432db7410b71b13c6291783
1) the code in the dist.py correct a display format of content in
ifcfg-xxx file to let user easy to grep and show the file content
in one line.
2)the code in driver.py fixed the bug that image name can not be
unicode.For example,when type 'tabdump osimage',if the image name is
chinese 中文 whose unicodes are '\u4e2d\u6587',it will show like this:
"rhel7-s390x-netboot-????????_0c794bba_4804_49e7_9e2f_c8ab56050b72"...
there are messy codes in the line.
we try to replace the question marks with the unicode of 中文,like:
"rhel7-s390x-netboot-4e2d6587_0c794bba_4804_49e7_9e2f_c8ab56050b72"...
if user want to know the real name,they can use steve's code to transfer
unicode to the text.
Change-Id: I26a538df00fb008b0d8ed9051f2c84a7b3c3364c
The command we used before does not suitable for all case, so use
chpasswd to make sure it works for all distros.
Change-Id: Ibfba18b4942bbe7a36183585ad4818435b40b181
There is no info about bad response returned, need
add additional info about it .
Change-Id: I8fc3fbd43eefb69ecf4f1109e20e77cbc0809a50
(cherry picked from commit 9dba867de3)
sometimes we get console log from low layer and this
is normal to contain 'warning' keyward, we need ignore
this routine to avoid too much logs in compute log
Change-Id: I661dd49e194adcf8e6d30b035f104254c6d916df
(cherry picked from commit ef62c73022)
need to adjust the param usage (instance and userid param)
in _reconfigure_networking function
Change-Id: I11e72ca3ae8abab6b1dcc7d69794641f61ba825d
(cherry picked from commit 700137a691)
Remove misleading URL, should point to xCAT documentation, or other user
manual. Fix several typo.
Change-Id: I422dda1e223f17414a971ae27f5e65d52bd3940a
(cherry picked from commit 9b3f22daaa)
in migration process ,if flavor size is 0g, we will get image information
and this is an object, we need transform it to dict.
Change-Id: Ia7abf8f74c78541c167ddb0bb67de66c4be3210e
Add IUCV function to replace ssh communicate between xcat and VMs.
Remove size check from snapshot in driver.py
Change-Id: I7e89eeaa529f2837d774c9979699f0d8954c7511
instance_exists function expect an instance object input (from
compute layer) , but existing function expect an instance name
which is a string, so we need update this.
Change-Id: I032343aa3dc12d23ac5b21232e4f381a0cc4fa20
we should let driver raise exception if power on command failed,
otherwise, we will wait for instance to be reachable which
will cost additional time and hide the root cause.
Change-Id: I259b589f1223766863eac5346fc7c7d30ecefd8c
(cherry picked from commit 643d35a5c1)
Support volume active attachment/detachment functions for Ubuntu.
Change-Id: I425af31755130f77f509b207a9f66f655bece396
(cherry picked from commit 5bd0e60e6d)
_check_power_stat should be used instead of _get_power_stat
Change-Id: Iaca0a6cda231d671e5b82bade91bff3cdbff2548
(cherry picked from commit 9764e5802e)
If the newly deployed instance is not reachable within the timeout
period, have xCAT collect diagnostics before removing deployment-related
artifacts like the directory entry.
Change-Id: I542caecd35ed62cf7bf1116d8c78812653c2ccc4
Implements: RAS
(cherry picked from commit 0a874da451)
when loop check failed, means network has some problem, need
raise exception so the follow on actions wont' be executed.
Change-Id: If547f679d6dcbb7a8133da05f51cb19a0999473e
(cherry picked from commit dd28dd960e)
if nic info not ready, need stop the loop check instead of
make wrong decision (NIC is not ready yet at that time)
so another loop check will be scheduled and do the whole
check again, dump vswitch info first then check NIC setting.
Change-Id: I1b70387f9e13899886ab0106aaa311edca8c1ff7
The base code was checking the wrong type, which was fixed.
It also lacked tracing for error paths, which has been added.
Implements: RAS
Change-Id: I50ce0b0e20e4f2c25da6a4ed2952f45e0f6301e9
The community logic can not return eligible device names for
volume attaching, neither detect duplicate device names, when it's
running in IBM zvm environment. IBM zvm driver should handle it
by itself.
Change-Id: Ief8adb50e56e424beee8c0beb842996d188da4fc
use cpumempowerstat to get info instead cpumem, so only one
local call will be performed and enhance performance
Change-Id: I839fda0a822f5e6307c71656f9733711bb202b2b