In order to avoid conflict with the in-tree nova.virt.powervm driver,
the namespace of out-of-tree ('ext'ernal) driver is being change to
Recently the PowerVM live migration object merged into Nova proper via
This removes the need for the PowerVM driver to have its own live
migration object, allowing us to remove a bunch of code and hacks around
This change fixes the scenario where performing a package
install (e.g. pip) was failing because the package config
in setup.cfg was causing the egg to be generated incorrectly.
This change set does some driver clean up. It does the following:
- Move the mgmt_uuid into the mgmt.py file. It stores it once on first
call as it will not change over the life of the driver process.
- Change the calls to use this new attribute
- Updates the owner of the driver
- Removes the host_uuid from the get_instance_wrapper (which wasn't
used, but had a lot of things contorting to pass the host_uuid
- Change the disk connection to remove the connection dictionary.
Recent nova commit 8eb03de1eb83a6cd2d4d41804e1b8253f94e5400 removed the
mechanism by which nova-powervm was loading its ComputeDriver from out
With Change-Id: I78c0ca85cb6ee2e370214a89a203f6f099748930 we can now add
to the nova.virt namespace from the nova-powervm package.
This change set restores the ability to load the driver by creating a
thin shim into nova.virt.powervm.driver, passing through all public
symbols from nova_powervm.virt.powervm.driver.
Nova now sends the LiveMigrateData objects exclusively to
pass data between compute managers and conductor during live
migration. Since dicts are no longer supported the conversion
to objects must be done to continue to support live migration.
A previous change set added the object support to the nova-powervm
project. This change set adds the hack (as the nova core team described
to the PowerVM team on Feb 24th in IRC) that enables operators to use a
custom conductor that supports the PowerVM live migrate object.
A sample nova_powervm configuration file can be generated with
the oslo tooling via:
oslo-config-generator --namespace nova_powervm > sample.conf
The output file will contain all the nova_powervm configuration
options. The file can be edited and then copy-n-pasted into the
full nova.conf file.
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
- .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
- openstack-common.conf - Required openstack configuration for all
- 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