Commit Graph

43 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
Marcin Wilk f1f9b000b0 Adding LPAR Detailed Settings section.
Change-Id: I127cfaacfb7f567e650ae5d62861ae28085c7fa4
2019-06-13 15:17:06 +02:00
Marcin Wilk 1cdb9641de Adding IBM i remarks section
Change-Id: I7da62b977dd3a3391086badca7d9042fcaaf50e9
2019-06-13 06:23:16 +00:00
amansi26 98630ef89e Fixing UT failure.
Change-Id: Ia733c160da57ab07149c48a3b886505c5c557d7c
2019-06-13 01:00:22 -04:00
Ian Wienand c6f71071ec Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4bb50d272d34e4ce0a17a53623972c325a53a47f
2019-03-24 20:34:47 +00:00
zhangdebo dadcea3a6b Fix typo
Change-Id: I756200cf737c2217f8cb70363fb16de5708ccf22
2018-10-02 03:40:32 -04:00
Eric Fried 1cdc863695 Spec: Device Passthrough
Deployers want to be able to attach accelerators to their VMs. Today in
Nova this is possible only in very restricted circumstances. The goal of
this blueprint is to enable generic passthrough of devices for consumers
of the nova-powervm driver.

blueprint: device-passthrough

Change-Id: Iba1757fe2e62611def4882aad45508a3a1f1dfb1
2018-07-20 16:59:16 -05:00
Eric Fried cce490f918 Make specs build
Move specs under the doc/source path so they're picked up by tox -e
docs. Fix rst errors. Make them show up in toctrees.

Change-Id: I96cb7a93b129d0839733e446b66ab19d05f91acc
2018-07-13 15:44:58 -05:00
Mike Perez 124e52062a Replace support matrix ext with common library
The code to generate a support matrix has been pulled into a common
library. Using this instead of duplicating code in various projects that
need it.

Change-Id: If01e440225fec2206e934ae7b0c6c2dce1266eab
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
2018-06-29 16:22:37 +01: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
Stephen Finucane 5b4d0f8226 doc: Remove cruft from conf.py
There was a lot of noise here that wasn't necessary. Strip it all.

Change-Id: Id8c413ea2cbc80bb5f05147e31574d4f7149a393
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-06-29 16:21:54 +01:00
Stephen Finucane 8a0a82fba9 doc: Fix broken build
Seems the gate wasn't running with 'warning-is-error' switched on.

Change-Id: Ib4498ff16ba82321fb568e3a97c8bb4d5060bec6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-06-29 16:20:02 +01:00
inspurericzhang c2718933ba Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Ic89fc78fe62267f95ac09e2c377f032a0313b5ba
2018-06-01 16:24:57 +08:00
Matthew Edmonds 18eca19d66 add iSCSI to support matrix
iSCSI support was added in Queens, but the support matrix was not
updated.

Change-Id: I3f2cc6e50bbbc4eb2a5ec488b94b75545f8896e2
Closes-Bug: #1749543
2018-02-14 11:33:14 -05:00
Taylor Jakobson 3b6dc03e12 Add the ability to extend FC vscsi volumes
The compute host does not need to do anything for the client to
see the extended size.

Change-Id: I56582d9e8846e319d9875b05fe2cd313c1a12c8d
2018-02-08 10:30:44 -06:00
Matthew Edmonds b676299541 Update support matrix to match nova
Nova has made some changes to the support matrix wording, added and
removed some sections, indicated cli commands that were previously
missing, etc. This attempts to update ours to match.

Change-Id: I3853cb4e511df25a512dfe16ddd9e6abf30552fb
2018-01-26 11:59:25 -05:00
Taylor Jakobson e23b43bac5 Add the ability to extend npiv volumes
The compute host does not need to do anything for the client to
see the extended size.

Depends-on: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
Change-Id: I94aa12d422fe6c38a3ab8f7e37489738c956fb6f
2018-01-24 16:01:00 -06:00
Taylor Jakobson 9d14c18c3b Add resize attached volume support for iSCSI
Add support for volumes attached with iSCSI to be
extended.
Change-Id: I5197ec2b2d83f221787983c60b62482c417338e9
Depends-on: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
2017-11-14 14:32:04 -06:00
Taylor Jakobson ec374ded96 Add extend volume support for fileio
When cinder resizes a volume, it sends an event to nova. This event
calls into the compute driver's "extend_volume" method. Calling the
pypowervm rescan_vstor is all that is needed for our driver.

Only kernel backstores are currently supported by the rescan_vstor
method.

Not all vios are guaranteed to have the storage mapped. Log an error
if the virtual disk was not found, but throw an error if no virtual
disks were found on any of the vios.

Switching the backstore from USER_QCOW to FILE_IO enables this change.
This adds support to extend size of a volume while it is attached to
a client VM.

Change-Id: I0f6f80df6ad0d87dcccc560509c4e31992e4c0ec
2017-11-14 13:21:09 -06:00
Hangdong Zhang dac4bcdd96 Update the documentation link for doc migration
BTW, update one URL of networking-powervm as well.

Change-Id: I684e4457d9baee25aa569b20f20e73474cf88578
2017-07-21 14:32:17 +08:00
Arundhati Surpur 10a43f48eb Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8
encoding in doc/source/conf.py

Change-Id: I723ec337d3f37d2fe537032c92042eb10d2f0c31
2017-07-20 17:19:29 +05:30
Matthew Edmonds 74f92e1397 Remove volume_group_vios_name
nova-powervm commit c64087adb0
removed the only code using CONF.localdisk.volume_group_vios_name
but neglected to remove the conf definition itself or the
references in devref. This change removes both since they no
longer apply.

Change-Id: I2bd2739c99d7fd12f9a111dec62286f04e345e6b
2017-06-16 14:22:39 +00:00
Taylor Jakobson 20f3a9a387 Add support for file-backed ephemeral disk
Adds support for file-backed ephemeral disk as a localdisk replacement
for lvm.
Supports both RAW and QCOW2 files. Resizing a file-backed instance is
not currently supported.

partially-implements: bp file-io-driver

Change-Id: I1fd499a776cc2e05246c1fc453151aa7bd712dc8
2017-05-22 16:10:53 -05:00
Jenkins a73a050b7f Merge "Use ConfigParser instead of SafeConfigParser in Python 3" 2017-03-10 16:35:18 +00:00
Taylor Jakobson b27ce8e287 Add imagecache information to devref
Mention the fact that images will be cached on the same VG as VMs,
and that the image_cache_manager_interval setting is used to
periodically remove cached images.

Change-Id: Icd3e806dcd02a9c89270e24a245eec862f319321
2017-02-16 10:34:22 -06:00
Luong Anh Tuan c70c1dc36e Use ConfigParser instead of SafeConfigParser in Python 3
The SafeConfigParser class has been renamed to ConfigParser in Python
3.2 [1]. The alias SafeConfigParser maybe removed in future versions of
Python 3. Use ConfigParser instead of SafeConfigParser in Python 3

[1] http://bugs.python.org/issue10627

Change-Id: I1403de0ccc554472333d6fa0fbb55cdc31dce05f
Closes-Bug: #1618666
2017-01-16 03:57:17 +00:00
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
Adam Reznechek 45d8209abb Document compute_driver setting in usage docs
Add docs specifying the correct compute_driver setting for nova.conf
in the usage docs.

Change-Id: I4359077dfcb3cb384823c0c7e696188753005c5b
2016-11-30 10:42:15 -06:00
Jenkins 77c8b1f6e4 Merge "devref usage: n-cpu must run from pvm_admin group" 2016-08-28 12:30:29 +00:00
Eric Fried 7eb6afdcfa devref usage: n-cpu must run from pvm_admin group
In order to function properly, the user account invoking the nova
compute process must belong to the pvm_admin group created by novalink.
This change set updates the devref usage doc to note this.

Change-Id: I844c4c9855f5a63f81f410e25fd6247948f08bea
Closes-Bug: 1613723
2016-08-26 15:55:42 -05:00
Sridhar Venkat 0e8fdcdf63 VIF driver implementation for SR-IOV
PvmVnicSriovVifDriver, a VIF driver for vNICs backed by SR-IOV VFs.  The
main plug method intercepts incoming vif requests and branches off to
this new vif driver if the vif type is 'pvm_sriov'.  The driver "plugs"
a new vNIC into the instance by:

- Building a new pypowervm.wrappers.iocard.VNIC object.
- Assigning backing devices from the pool of physical ports labeled
  according to the physical network name.
- Creating the VNIC on the PowerVM REST server as a child of the LPAR
  corresponding to the instance.

The unplug method locates the appropriate VNIC according to its MAC
address and deletes it from the PowerVM REST server.

Implements: bp/powervm-sriov-nova
Change-Id: I9b707e8c12c2124001089ac1a0f2ef28e5cc7478
2016-08-22 17:10:35 -05:00
Adam Reznechek c10348aeb4 Document PowerVM driver functions in support matrix doc
Add a copy of Nova's support matrix document within the docs for
nova-powervm. Within each section a powervm option has been added,
denoting whether or not each feature is currently supported.

This includes the base support matrix files as well as the library
and conf changes required to build it in the nova-powervm docs build.

Change-Id: I46511c61ce35164ec89098c6d876edb26ca8d261
2016-05-03 11:36:48 -05:00
kairoaraujo c80c843d8a Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.

Change-Id: Ic9c994dd044ac0c27194ba05634c826c6ca9e7ba
Closes-Bug: #1529836
2016-02-11 09:56:09 -02:00
venkatamahesh a63c825b5b use uppercase 'S' in word "OpenStack"
Change-Id: I8d3791afe71f90249135ad163fdac8f96f1d446c
2016-02-04 16:36:47 +05:30
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
adreznec c86e558fd1 Change pypowervm repo location
Update the pypowervm repo location in code and docs
for the pypowervm->powervm github org rename

Change-Id: I95a5593af76ed0b164ed60a9d14b82f3a808078a
2015-11-18 14:49:48 -06:00
venkatamahesh df6075a608 Change repository from stackforge to openstack
Change-Id: I3d88401da4245d24ed615b3cc3d40592b4284f66
2015-10-19 23:14:07 +05:30
Drew Thorstensen 15e400c8a4 Do not map to management partition for NPIV
NPIV based deploys attempted to put the client vFC adapters on to the
fabric by creating the WWPNs ahead of time and mapping them to the
management partition.  This created several issues and led to poor
performance.

There were issues around migration:
- Querying for a host could leave a stale adapter on the mgmt partition

There were issues with speed:
- Deploys could take over 120 seconds
- Migrations had additional delays

There were issues with some standard operations:
- Attaching a volume on a powered off VM required logging in the WWPNs

Subsequent analysis in Cinder showed that only some Cinder drivers had
this requirement.  Many could work without this.  Given the challenges
the code is removing the need to log in the WWPNs on the mgmt partition.
This resolves all of the above issues.

While it does limit some of the Cinder drivers when paired with NPIV,
ongoing work will be done to meet with the Cinder driver owners to see
if the requirements in their drivers can be relaxed.

For those that can not, the vSCSI Cinder Volume attach is also an option
and should provide the use cases that they need.

Change-Id: Id77650545ca4e0def9977f1c2572b9f13f451e0d
2015-10-14 21:34:15 -04:00
Drew Thorstensen 4ce1db1143 Provide minimum VIOS connection on vSCSI volumes
When the admin attempts to connect a volume, they may wish to specify a
minimum level of redundancy (how many Virtual I/O Servers it connects
to).  This change set provides the operator with the ability to set a
minimum number of VIOSes.

Change-Id: Id4d4ca945190f04436792cac12fa08f4412bc114
Closes-Bug: 1504037
2015-10-09 12:18:01 -04:00
Drew Thorstensen f7de66aac0 Dev-ref update
This change set provides a significant update to the nova-powervm
drivers dev-ref.

Rebases the documentation to reflect the development that has been done
over the last several months.  Updates the readme to reflect the
execution that has completed.

Removes the fake_driver that is not useful.

Change-Id: I1910db886df89f884f3c399d6aab1eebdf10b5e0
2015-10-08 15:09:42 -04:00
adreznec fb98952ba1 Support dynamic documentation versioning using pbr
- Add a version.py file to allow querying of the pbr version for the package
which is pulled from the git tags
- Use this when doing the sphinx docs generation

Change-Id: I13ead2edf5b79a6ef2aa33f1b25920f83adea34c
2015-08-25 20:41:54 +00:00
adreznec 02f9f51cef Update documentation framework, add base devref details
- Add base support for devref generation to the project
- Add basic level of documentation, with TODOs for future updates
- Generate as part of tox run

Change-Id: Ic7a07ba7de0090383c652503453bafcd422a3eaa
2015-08-25 08:42:21 -05:00
Drew Thorstensen 33e0a43bae Rebase for pypowervm/nova changes
The pypowervm API library and core nova recently had some changes.  This
change provides a rebase for those changes.  It updates:
 - Property support on the volume groups
 - Updating for flavor objects in Nova
 - Includes doc support for jenkins

Change-Id: Ia85db9414f3947e8f4274f24ce533254ed41fa86
2015-02-03 12:33:03 -06:00