Commit Graph

10 Commits

Author SHA1 Message Date
Takashi Kajinami 04e053c5cb Retire PowerVMStacker SIG: Remove Project Content
Depends-on: https://review.opendev.org/c/openstack/project-config/+/909535
Change-Id: Icb1894348ef7b1602a3181dad3162df6d6ad53af
2024-02-20 22:52:00 +09:00
VedaAnnayappa 1fe310f4be Fixing Unit Test Issues
Updating to 1.1.23 version of pypowervm and Fixing UT issues accordingly

Change-Id: I7291077407c818c712fb5c98952a15020191a2cc
2019-10-09 04:07:56 +00:00
VedaAnnayappa 5de7a5ebdc Updated Libraries:
Added/Updated the versions of libraris used to be in sync with
openstack-nova

Change-Id: I97907720925901b2c789d3da38fdd62772e0a6a8
2019-07-22 14:15:36 -04:00
amansi26 98630ef89e Fixing UT failure.
Change-Id: Ia733c160da57ab07149c48a3b886505c5c557d7c
2019-06-13 01:00:22 -04:00
Matthew Edmonds b4c08d283f Bump minimum psycopg2
The current minimum version of psycopg2 (2.6.2) does not work with
PostgreSQL 10.6. This is fixed [1] with version 2.7 so we are
bumping to that to work with newer PostgreSQL.

[1] 8b96bcddff

Change-Id: I20bde202791ff02e60362022fea3217081b89e25
2019-03-21 16:18:08 -04:00
Matt Rabe b3f9b9a5c2 Add the device_id parameter to discover_hdisk
LUA recovery, the job that tells the VIOS to discover a specific
hdisk, may find multiple disks at the same ITL. Without the device ID
LUA recovery will return an error when this happens.

For most volume backed storages the device ID is the base 64 encoded
value of the pg83 identifier. This change enables the passing of the
deviceID to discover_hdisk to avoid the multiple hdisks at the same
ITL error. It also bumps the pypowervm version for the device_id
support in discover_hdisk.

Change-Id: I86c273bf1d1c5753ce68ab51f6922c323d720cb2
2019-02-01 11:58:15 -05:00
Matt Rabe 362b705c16 Support secure_boot extra_spec in _format_flavor
This change enables the nova-powervm driver to accept the
'powervm:secure_boot' extra_spec and pass it down to pypowervm to
build the LPAR wrapper with.

Change-Id: I080065795778adee86c6cb37bcbf700a440d73b9
2018-09-18 11:07:49 -04:00
Matthew Edmonds b9338ee261 Use uuidsentinel from oslo.utils
A recent nova change [1] removing uuidsentinel (which is now found
in oslo.utils) broke our UTs. This changes our code to use
oslo.utils, fixing the issue.

[1] 8e1ca5bf34f924b9a23ddbcf31ae727a7dcacb20

Change-Id: Ic314f975c4206a73d2ddd3608181cddc43604f59
2018-09-12 14:01:23 -04:00
Matthew Edmonds 7bbdf98ee0 Bump pypowervm min 1.1.16
1.1.16 is required for a proposed change [1].

We also add a new lower-constraints.txt and start using that instead
of the one from nova so that we can indicate a more recent pypowervm
minimum. The file is otherwise identical to nova at this point.

[1] https://review.openstack.org/#/c/573837/

Change-Id: I133370a33afe5e3cababba187459ab28838582eb
2018-07-02 18:02:28 -04:00
Matthew Edmonds 4134cec6f6 Fix requirements and lower constraints
We were using the lower-constraints.txt file from nova, but this
was masking problems. The check job doesn't seem to work properly
when the lower-constraints.txt file is in a different project, not
running at least some of its tests. This was seen when copying the
same file into nova-powervm cause the job to start complaining.

This copies nova's lower-constraints.txt file into nova-powervm
and then addresses the aforementioned issues by:

1) removing amqp from requirements.txt. We do not appear to
really require this.
2) adding bashate to lower-constraints.txt. Nova does not require
this but we do.
3) adding python-swiftclient to lower-constraints.txt. Nova does not
require this but we do. Also moved python-swiftclient from
test-requirements.txt to requirements.txt since our usage is not
limited to tests.
4) removing python-subunit from test-requirements.txt. We do not
appear to really require this.

Change-Id: I100181821ed4ffe622ed5ebeff403093e9cc32b8
2018-07-02 17:56:27 -04:00