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
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
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
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
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
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
This is in preperation for setting up the repo to auto sync via the
proposal-bot.
Change-Id: I0b4818f3eb0b9bace9ee61e7f855fd070aee684b
Depends-On: Ife1ee6f04f60a8de03f14713ec1dcf82edf140ce
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
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
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
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
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
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
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
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
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
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
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