Commit Graph

19 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
Matthew Edmonds 7c47d01bb2 More py3.x support
The Stein supported runtimes proposal [1] has chosen py36 over py35
due to the communities move to testing on Ubuntu 18.04, where py36
is the default runtime. We update tox.ini and setup.cfg accordingly.

We also add a py37 option to the tox.ini to facilitate future-looking
tests per the resolution on keeping up with Python 3 releases [2].

The py35 option will eventually need to be removed from tox.ini, but
this keeps it for now in order to allow time for folks to transition.

[1] https://review.openstack.org/611080
[2] https://review.openstack.org/613145

Change-Id: Id77fbd969bee5a6f3636be13362a2b89cb5888e8
2018-12-11 13:06:43 -05:00
Matthew Edmonds 046a56773b Update setup.cfg metadata
The metadata for nova-powervm did not reflect that this is now an
official OpenStack project, and was inconsistent with the
corresponding metadata for networking-powervm and ceilometer-powervm.
This corrects that.

Change-Id: Ide1ebacb731b54edb7dd624790d9677262effde3
2018-12-04 10:45:24 -05:00
Stephen Finucane b0256a71b2 docs: Modernize build process
Update the state of the art build process (TM), featuring an all new
theme, new requirements and much more.

Change-Id: I5d8724786361a820016cc02d8985f2438a1f9d57
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-06-29 16:21:54 +01:00
Matthew Edmonds 3b95db9dea update translations for queens
Update translations for the Queens release.

Note: this is being cherry-picked from stable/queens to master
instead of the other way around. The translations were actually done
based on queens, so that is where they were originally merged. In
hindsight, they should also be merged in master so that it has the
latest translations as well, so we should have followed the normal
process of merging in master first, but too late for that now.

Change-Id: I0622d237a53114929d56cfb46bbb7d60887099d6
(cherry picked from commit e62fae699d)
2018-04-19 08:52:54 -04:00
Arundhati Surpur fcd6f1e0b8 Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: Ie2571e8778533e7f7601293ee2cfdac4acf8780e
2017-07-20 17:10:18 +05:30
Eric Fried eedae5b0d4 Change namespace to nova.virt.powervm_ext
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
nova.virt.powervm_ext.

Change-Id: I9c8ad22be448a724b4a62d560a0cf3021da1b9eb
2017-01-10 17:34:36 +00:00
Drew Thorstensen 45d7d74dee Remove the PowerVM Live Migration Object
Recently the PowerVM live migration object merged into Nova proper via
review: https://review.openstack.org/#/c/391284/

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-Id: Ic61eefc0086c5b3954a8986d0fb9699d039f25f9
2016-12-05 16:37:04 -05:00
adreznec ff7b5314b0 Fix package setup configuration
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.

Change-Id: I416fb19448ec53734a42e88de750556b62edf724
2016-07-28 15:01:36 -05:00
Drew Thorstensen e493bbe1e3 Driver cleanup work
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
   around).
 - Change the disk connection to remove the connection dictionary.

Change-Id: I5efd642e84fc48578ac721ca55914260a579666b
2016-07-07 10:52:04 -04:00
Eric Fried fe9bec248e Shim compute driver in nova.virt namespace
Recent nova commit 8eb03de1eb83a6cd2d4d41804e1b8253f94e5400 removed the
mechanism by which nova-powervm was loading its ComputeDriver from out
of tree.

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.

Change-Id: I8ff5154edfcef6fa83686b2ae046512ce7d6d628
Partial-Bug: 1575335
2016-04-28 14:55:52 -05:00
Chhavi Agarwal c3ce18868e Conductor changes to register nova-powervm objects
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.

Change-Id: I2517d543cc66696a43b2cdb160e2452653f402f1
Closes-Bug: #1551954
2016-03-23 08:11:39 -04:00
Kyle L. Henderson 537514c744 Enable oslo-config-generator to generate a sample
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.

Change-Id: Iacc3a3ec9e7b00275ba192b5b9b07e346da6fbbf
2016-01-19 07:01:45 -06:00
Drew Thorstensen 462357a9a0 Update the setup.cfg to point to python 3.4
This change set updates the python config to 3.4.  Also provides a home
page for the project.

Change-Id: I741fa5b287781851bcd13abb906173c95f233fcb
2015-11-10 11:01:32 -05:00
Kyle L. Henderson 2e5dfe7881 Get 'cover' working and remove pypy
Change nova-powervm to nova_powervm so 'cover' works.
Added a test case to improve coverage.
Removed pypy from environment list.

Change-Id: I337f2e8b762349f16ec8e6cd9489688970969486
2014-10-29 16:55:50 -05:00
Henderson, Kyle L. (Kyle L) 00db7b7924 Merge "Migrate to nova_powervm folder" 2014-10-23 09:33:02 -05:00
Drew Thorstensen ed6474f93a Migrate to nova_powervm folder
Python does not support a dash in the package name.  This changeset
migrates the package to 'nova_powervm' to make it work properly.

Change-Id: I590d83a14b8b7ab4acc94b31fc6cbc49a5132ce2
2014-10-23 09:18:05 -05:00
Drew Thorstensen eaad2c22e1 Updated Python Versions
Target the Python 2.7 and Python 3.3 versions to match the community
strategic levels.

Change-Id: I38f646a095ba1b2f5b898fffe6c6a3b53d7b0715
2014-10-21 15:27:42 -05: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