Commit Graph

42 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
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
Eric Fried af0e814d62 Bump pypowervm minimum to 1.1.15
The referenced bug is fixed in pypowervm 1.1.15.  Without the fix,
PowerVM device detach during destroy (and therefore PowerVM CI) is
broken.

Change-Id: I105e4b7001236d262998322273dcdd8e90d0b8c5
Depends-On: https://review.openstack.org/564275
Closes-Bug: #1766692
2018-04-25 21:32:07 +00:00
Eric Fried 6249706488 Bump pypowervm minimum to 1.1.13
...for [1] and [2].

[1] https://review.openstack.org/#/c/555309/
[2] https://review.openstack.org/#/c/552172/

Change-Id: Ie23f2b0877778a11daeb1534a349ed7fb2a7b91a
2018-04-01 15:40:09 -05:00
OpenStack Proposal Bot 2625b24f0c Updated from global requirements
Change-Id: I2fb128079ad06ae41ad38b1a927d23d1a17fb7a2
2018-03-14 05:47:09 +00:00
OpenStack Proposal Bot 7ed953a8ab Updated from global requirements
Change-Id: I9d840592c1b578f14c016c74c1ec7b3f7269ff88
2018-03-10 13:31:35 +00:00
OpenStack Proposal Bot 2f7d2bf8a1 Updated from global requirements
Change-Id: Id5c0216df653aadde60a0245f40a7be1ebd4d16f
2018-01-16 12:34:36 +00:00
OpenStack Proposal Bot 3477a8feb5 Updated from global requirements
Change-Id: Ic9cbda96bde15767d88e1d811697e00a6eab8d81
2018-01-09 02:23:19 +00:00
OpenStack Proposal Bot 8ebe2869bc Updated from global requirements
Change-Id: I061e31a6006f6dd552bdbdd6dce9047706ba4a4b
2017-12-19 01:31:28 +00:00
OpenStack Proposal Bot 07eb280a5b Updated from global requirements
Change-Id: I9f1fbc9513e97d70d3ae5c3a5187304aa44dd2d9
2017-11-29 09:08:33 +00:00
OpenStack Proposal Bot f2de4441e3 Updated from global requirements
Change-Id: I743cdbed85c4597419db4d3c78acd4a130f571e3
2017-11-16 11:16:39 +00:00
OpenStack Proposal Bot 33017312cc Updated from global requirements
Change-Id: Ie840a8da8176e3f376bf9434990b67f41dd4df62
2017-11-13 10:24:33 +00:00
OpenStack Proposal Bot f0db350243 Updated from global requirements
Change-Id: Ia55772ff6514839060b0a4a6ceb37efe83370bfd
2017-09-13 00:10:33 +00:00
OpenStack Proposal Bot b1e053f4ef Updated from global requirements
Change-Id: Ieb6aeacb1070dc831f02ac39bd6d171f6e13bc62
2017-08-24 05:55:59 +00:00
OpenStack Proposal Bot 4f2ef146a8 Updated from global requirements
Change-Id: Ie0a7b2d36d650d8ad24c53c8341e40ad5fd633e8
2017-07-21 05:23:08 +00:00
OpenStack Proposal Bot 4199b916e1 Updated from global requirements
Change-Id: If4b28ddfa3659185d70e2003beffcc4dac667f54
2017-06-15 16:30:10 +00:00
OpenStack Proposal Bot 30dd7ff121 Updated from global requirements
Change-Id: I2bc1882c6909b616316974c58f73a360baab0f5f
2017-05-07 17:35:18 +00:00
OpenStack Proposal Bot ce1ded7762 Updated from global requirements
Change-Id: I3f8954089aa7a26f99c068cb6b6c5dd2d70a6933
2017-04-12 04:17:59 +00:00
OpenStack Proposal Bot 7074273017 Updated from global requirements
Change-Id: I5cc0d0a890b85d5854188fa0290a6da58d127586
2017-04-11 19:14:55 +00:00
OpenStack Proposal Bot 19d4bf633a Updated from global requirements
Change-Id: Ib89b6cb578175b93258126ba03c000b86eca9612
2017-04-05 20:49:53 +00:00
OpenStack Proposal Bot 6b66e03bdb Updated from global requirements
Change-Id: Iee6f1e539058343661fbf4ce1ceecf6b274db191
2017-03-28 21:34:15 +00:00
Tony Breeds c6f4b41b57 Manual sync with openstack/requirements repo
This is in preperation for setting up the repo to auto sync via the
proposal-bot.

Change-Id: I0b4818f3eb0b9bace9ee61e7f855fd070aee684b
Depends-On: Ife1ee6f04f60a8de03f14713ec1dcf82edf140ce
2017-03-22 22:18:27 +00:00
Adam Reznechek 4e4ccf0104 Update to match latest global-requirements
Update requirements to the levels defined in OpenStack
global-requirements on 2016-1-10.

Change-Id: I2818c74817c6ab54c8a73661c8ef50c1d165a080
2017-01-10 17:22:25 -06:00
Adam Reznechek c6d94844b8 Add tox_install.sh for pypowervm upper-constraints workaround
With the recent addition of pypowervm to upper-constraints, installs
of nova-powervm are now by default enforcing the version set there.
Since the master branch of nova-powervm depends on the develop
version of pypowervm, this causes installs to fail.

This changeset adds a wrapper script (tox_install.sh) that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.

Change-Id: Id8e117bc6a7b1b224a9e86e9b29821627adb51db
2016-11-16 18:05:56 +00:00
Drew Thorstensen 3bf7c05998 Update the requirements to be in line with global
This change set updates the requirements to bring it in line with the
global-requirements from the core OpenStack.  It also removes the
netifaces dependency.  That is no longer required.

Change-Id: Ide5c5dbf85e9c2cd80182656f4bb505365c9962f
2016-06-20 11:28:51 -04:00
Eric Fried 7b5e8a7f09 Cap amqp requirement
Per bug https://bugs.launchpad.net/oslo.messaging/+bug/1586840, the most
recent amqp version is not backward compatible, and breaks various
things along the oslo_messaging chain.  This manifests in nova-powervm
as an import failure for 'vine'.

This problem is resolved by updating the amqp requirement to align with
global-requirements per If7e130a70f31a2eb1d9df6b5f46f88c90880e254.

Change-Id: I022da2aefc222da863cf7f4e07c1adcd2c63f41d
Partial-Bug: 1586840
2016-06-01 10:13:16 -05:00
Eric Fried ad55705a80 Fix package reference in version code
The package version file erroneously contained quotes here:

version_info = pbr.version.VersionInfo('__package__')

This caused docs builds using setuptools at or beyond 20.2 to fail with:

pkg_resources.RequirementParseError: Invalid requirement, parse error at
"'__packag'"

This change set remedies the line to refer to __package__ (a builtin
variable which resolves to the package name) rather than the literal
string '__package__':

version_info = pbr.version.VersionInfo(__package__)

...and updates the requirements file to use a setuptools version at or
beyond 16.0 to align with openstack's global requirements.

Change-Id: Iff8d31526ce485277530da9ab90bd6fbe2d31ecf
Closes-Bug: 1585027
2016-05-26 13:47:21 +00:00
Drew Thorstensen 640c5f5c1d Updating the requirements
The global requirements have changed again.  This change set brings it
in line with the others.

The global requirements removed the python binding level for the
mock library.  This change reflects that update.

Change-Id: Id1882206b9b109dea42db407aadb66249f5069ce
2016-03-01 12:53:44 -05:00
Eric Fried bc31751f45 Work around docs build fail: downgrade setuptools
For reasons as yet not understood, the docs build is failing with:

Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    pbr=True)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py",
line 198, in run
    setup_command.BuildDoc.run(self)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/sphinx/setup_command.py",
line 158, in run
    freshenv=self.fresh_env)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py",
line 107, in __init__
    confoverrides or {}, self.tags)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/sphinx/config.py",
line 229, in __init__
    execfile_(filename, config)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/sphinx/util/pycompat.py",
line 105, in execfile_
    exec code in _globals
  File "conf.py", line 59, in <module>
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pbr/version.py",
line 457, in version_string
    return self.semantic_version().brief_string()
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pbr/version.py",
line 452, in semantic_version
    self._semantic = self._get_version_from_pkg_resources()
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pbr/version.py",
line 431, in _get_version_from_pkg_resources
    requirement = pkg_resources.Requirement.parse(self.package)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2818, in parse
    req, = parse_requirements(s)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2762, in parse_requirements
    req = packaging.requirements.Requirement(line)
  File
"/home/efried/Neo/nova-powervm/.tox/docs/local/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.py",
line 94, in __init__
    requirement_string[e.loc:e.loc + 8]))
pkg_resources._vendor.packaging.requirements.InvalidRequirement: Invalid
requirement, parse error at "'__packag'"

Downgrading setuptools works around the issue.  We'll do this to get the
build moving until we can figure out the right long-term solution.

Change-Id: I60d95487f53c14d3088ce2c157181adf65d5faac
2016-03-01 09:55:04 -06:00
Drew Thorstensen 8298927776 Add in OVS VIF Driver Framework
This change set adds a new vif driver.  This new vif driver is to be
used in conjunction with the ovs_neutron_agent.  Hybrid vif plugging is
not supported at this time.

This change set assumes that an OVS is running local to the nova-compute
service.

Change-Id: I54d3d4644de55ba4adf43edf034731c4879eaba6
2016-02-26 08:33:58 -05:00
Drew Thorstensen 5848833533 Update requirements level
Bring nova-powervm up to the new global-requirements for OpenStack.

Change-Id: I07bbae22170dfdf54267a13c29cc22b74396d907
2016-02-09 13:55:50 -05:00
Drew Thorstensen 804fdf420c Rebase the requirements levels
The global requirements have recently been updated.  This change set
updates the nova-powervm requirements to match the core
global-requirements levels.

Change-Id: I0321a717ab3dad9a82f1089afd274b1aec2d6b0a
2015-07-09 15:31:55 -04:00
Kyle L. Henderson eac2203bdb Refactor to use oslo.log library
Convert to use oslo.log library.  This is needed because of a
recent commit to nova that moves all of nova to use oslo.log.

Change-Id: Ied76e5184134759a450982e23aaa0167d42ca7d7
2015-02-23 09:53:58 -06:00
Drew Thorstensen 902c2585e1 Convert spawn over to TaskFlow
Initial migration of the current spawn method over to a TaskFlow based
infrastructure.  Handles failure mid way through the spawn flow and
should roll back properly now.

Does not include media updates or any other migrations to TaskFlow.

Change-Id: I990008542c40ac8d10fc9ba698623e696f134b2d
2015-01-21 08:18:28 -06:00
Drew Thorstensen 095e1c183b Initial Load of Nova PowerVM Project
Initial work to enable the Nova PowerVM project in git.

The work done here provides:
 - .gitignore - Indicate which files not to track within Git.
 - .gitreview - Input to the git-review command on how to send to
                Gerrit.
 - .testr.conf - Conf file input for the testr command (UT)
 - CONTRIBUTING.rst - Information on how to contribute.
 - HACKING.rst - Information on what needs to be done for updates.
 - LICENSE - The license for the project
 - README.rst - Information on what this project is.  Currently this is
                the blueprint.
 - openstack-common.conf - Required openstack configuration for all
                           projects
 - setup.cfg - Input to the setup.py on how to execute certain actions.
 - setup.py - Used for build of the project.
 - requirements.txt - Required packages (and levels) to run the code.
 - test-requirements.txt - Required packages (and levels) in addition
                           to the requirements, that indicates what is
                           needed to run the UT.
 - tox.ini - The input for the tox commands.

In addition, a base set of packages for the agent and unit tests were
loaded in.

Change-Id: Iaa186e449e7e0f75dc06a033d024a23d7faa0267
2014-10-21 15:03:58 -05:00