618 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
b8db5c0af7 Updated from global requirements
Change-Id: I2ea2cca9e9ce833d6661e1eda4fcebe2f3528bbf
2018-03-15 07:43:42 +00:00
OpenStack Proposal Bot
fbd282f7d2 Updated from global requirements
Change-Id: I2e9662617252b9a37ccb214a36a8fc63a0590541
2018-03-13 07:19:20 +00:00
Zuul
682e36d664 Merge "Windows SMBFS: allow mounting vhd/x images" 2018-03-12 21:02:53 +00:00
OpenStack Proposal Bot
75af502461 Updated from global requirements
Change-Id: I0114cd724a51a0897131afad24a8132a7d502c93
2018-03-10 13:40:06 +00:00
Lucian Petrut
c6f804b063 Windows FC: fix disk scan issues
This change will ensure that the connector attempts to retrieve
the according disk paths by using its SCSI VPD unique id when not
included in the mappings reported via the HBA API.

At the same time, if multipath is requested, we're ensuring that the
disk was already claimed by the MPIO service before reporting it back
to the caller in order to avoid situations in which the disk suddenly
disappears.

Depends-On: I86d953d000e6d0244e8e8f2aaf2cbd76305cb63b

Closes-Bug: #1694671

Change-Id: I0cb96c46ca75be3836981852e22437db63910f96
2018-02-20 15:40:57 +00:00
Zuul
e3b969dfd1 Merge "Windows: fix connectors 'disconnect_volume' signature" 2018-02-13 10:29:51 +00:00
Zuul
1b6d30e112 Merge "s390x fc: Fix device path for Ubuntu with ds8k" 2018-02-13 10:29:51 +00:00
Luong Anh Tuan
df8e0fe027 Enable hacking-extensions H204, H205
This patch enable extensions:
-[H204] Use assert(Not)Equal to check for equality.
-[H205] Use assert(Greater|Less)(Equal) for comparison.

Change-Id: I89efcab9993fcbb187249e32712fe00b86715e3a
2018-02-07 16:06:03 +00:00
Zuul
2c076f96b0 Merge "Update reno for stable/queens" 2018-02-03 18:52:40 +00:00
OpenStack Proposal Bot
47f74d42f7 Updated from global requirements
Change-Id: Ib265868dd20eab5b6004f1e742e544549d62dccc
2018-01-27 21:47:41 +00:00
e774cb9e09 Update reno for stable/queens
Change-Id: I5430107290eb99885bcdc7c2b090bbf8fee404f5
2018-01-24 18:02:21 +00:00
Andreas Scheuring
f28bd8ea85 s390x fc: Fix device path for Ubuntu with ds8k
The device path to a block device on Ubuntu using a ds8k LUN
differs from the device path for other storage systems.

This patch adds the new device path as third possibility.

Change-Id: I92f1e5a2c7203af6c01c4742067ced16a840eb04
2018-01-22 10:49:40 +01:00
Patricia Domingues
7dd2076a98 adding iSER connector for PPC64
Power architecture supports iSCSI Extensions for RDMA (iSER) protocol.

Change-Id: I819473cf5df6d626fb4e8e60376339afcacbd695
2018-01-18 12:16:00 -06:00
Patricia Domingues
76e5a36b77 adding VERITAS_HYPERSCALE connector for PPC64
Change-Id: I918b7a0ad4ded1fa84ff09e031fc675d65f62a3d
2018-01-18 14:07:20 +00:00
OpenStack Proposal Bot
1760d0f463 Updated from global requirements
Change-Id: Ifc38a4e51999600876cde313eef05d14246ff15a
2018-01-18 03:21:01 +00:00
Zuul
fbdb1777c2 Merge "Remove the unnecessary pv_list assign during LVM object init" 2018-01-18 01:53:43 +00:00
Patricia Domingues
6fb1e79f56 adding VZSTORAGE connector for PPC64
Change-Id: Ifd452f6b857678ecf1d1331fa0a29f2b28ed92c5
2018-01-17 21:21:02 +00:00
Zuul
a5c79e385f Merge "Update supported transports for iscsi connector" 2018-01-16 20:02:15 +00:00
OpenStack Proposal Bot
c4ed763329 Updated from global requirements
Change-Id: I30933d182943b4d74d2ee90a94ec5a2d14ebe3c1
2018-01-16 12:45:11 +00:00
Jack Lu
cfe5b19fad Update supported transports for iscsi connector
In the case that a compute host with multiple NICs can be connectted to
iscsi storage network, we expect the storage traffic only be
transimitted via storage NIC. This need to define an custom iface and set the
iface.net_ifacename value to the storage interface name.

Unfortunately, the current iscsi connector does not support to use a
custom iface. The _validate_iface_transport will change it to default.
After add tcp to the supported_transports, it is possible to use a
custom iface.

Please get the details as below:
1. CMP001 has three NICs: NIC1 is for management network, NIC2 is
for tenant network, and NIC3 is for storage network. NIC3 can access
storage device via layer 2 network. And NIC1 can access storage device
too, but it can only access via layer 3 network. We hope all the storage
traffic only be transimitted via NIC3, because they are in the same
layer 2 network.
2. Get the NIC3 MAC:
   fa:16:3e:79:fd:63
3. Add new iscsi iface:
   # iscsiadm -m iface --op=new -I tcp.fa:16:3e:79:fd:63
   # iscsiadm -m iface -I tcp.fa:16:3e:79:fd:63 --op=update
              -n iface.hwaddress -v fa:16:3e:79:fd:63
4. Edit nova.conf, and change iscsi_iface value:
   iscsi_iface = tcp.fa:16:3e:79:fd:63
5. Restart nova compute service:
   # systemctl restart openstack-nova-compute

Without this change, _validate_iface_transport will change the
custom iface tcp.fa:16:3e:79:fd:63 to default due to it cannot find tcp
transport.

According to this change, we should have a corresponding change to the
nova docs, here is change to nova
https://review.openstack.org/#/c/524443/

Change-Id: I85a62cb6e7f8d8982e97e792d647d38ce5641060
Closes-Bug:#1722432
2018-01-16 15:01:53 +08:00
Zuul
956678b4c0 Merge "Fixing FC scanning" 2018-01-15 21:58:36 +00:00
wang yong
c1bd361b93 Remove the unnecessary pv_list assign during LVM object init
The pv_list of LVM object actually wanted to be a list of dict of
physical volumes' info, but in the routine of creating a new vg,
we assign a list of physical volumes' name to it, which is unnecessary,
and also confuse people.

Change-Id: I5f74200e6df954258f261a30e9f5a5b56c6def2f
2018-01-11 00:59:31 +00:00
Eric Harney
effd16e33e Remove requirement on oslo.serialization
This is unused.

Change-Id: I7afbdd8529d3b9b13112f937749058b6e720124d
2.2.0
2018-01-05 11:14:30 -05:00
Zuul
993d833209 Merge "Recover node.startup values after discovering" 2018-01-03 19:50:46 +00:00
melissaml
2dcc01f3d5 Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)

Change-Id: I3f54fdbe876b2dd052d15c90dfafecd8baa03c45
2018-01-03 17:26:29 +08:00
Zuul
0e1e7d5958 Merge "set vg_thin_pool_size to float type" 2017-12-31 14:39:40 +00:00
Zuul
6f6c23fe58 Merge "Add the StorPool brick connector" 2017-12-29 01:16:32 +00:00
OpenStack Proposal Bot
6835b885dc Updated from global requirements
Change-Id: I3d851f3f774336db6af8e31e8893dc50cf5853fc
2017-12-19 02:05:57 +00:00
Lucian Petrut
4789b3d124 Windows SMBFS: allow mounting vhd/x images
The Windows SMBFS connector returns VHD/x image paths exposed by
the Cinder SMBFS volume driver.

This is fine for Nova, which will just use those image paths when
attaching volumes to instances.

The issue is that during backups/migrations, Cinder expects a raw
disk path, opening it and attempting to read volume data.

This change adds an argument to the connector init method, allowing
a raw disk path to be explicitly requested. If this argument is set,
we'll mount the image and bring the disk offline, returning the
raw disk path. This will allow direct IO operations to be performed
against the volume.

Related-Blueprint: windows-smb-backup

Change-Id: I20f791482fb0912772fa62d2949fa5becaec5675
2017-12-15 13:23:57 +02:00
Lucian Petrut
603d036ff9 Windows: fix connectors 'disconnect_volume' signature
The Windows connectors do not include the 'device_info' argument
in the 'disconnect_volume' method.

This wasn't an issue for Nova as the Hyper-V driver doesn't pass
this argument, yet Cinder does pass it, which will lead to an
exception.

This change adds the missing argument, defaulting to "None" so that
it won't break the Nova Hyper-V driver.

Change-Id: Iaf8b57c97afc393862a61a7338a35f008b65c8c1
Closes-Bug: #1738390
2017-12-15 13:23:57 +02:00
Andreas Jaeger
56d034ab10 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I43828f47711118eba8d835222586db4faac93180
2017-12-02 16:51:51 +00:00
Rikimaru Honjo
3266fb51a5 Recover node.startup values after discovering
os_brick updates node.startup values from default value to
"automatic" when it creates iscsi connection.
But existing target's node.startup values will be reverted from
"automatic" to default value in creating iscsi connection process
if multipath is used.
When using multipath with a discovery type of backend, the
"iscsiadm -m discovery -t sendtargets -p ..." command will recreate
all target information of specified node.[1] node.startup value wil
be reverted to default value of existing targets by recreating.
As a result, "automatic" targets and default value targets will be
mixed on the host.

So this patch recovers node.startup values after discovering.

[1]
This behavior was explained in following page:
https://github.com/open-iscsi/open-iscsi/issues/58

Change-Id: I30b736ae3b916f77fc0778f5364c5f6ed6fecc60
closes-bug: #1670237
2017-12-01 23:23:22 +00:00
Peter Penchev
6faa0d3d35 Add the StorPool brick connector
Allow clients to attach and detach Cinder volumes stored on
a StorPool cluster.

Change-Id: I33cfd7ab9a1d201f6c49357cacb4a809453b7201
Implements:	blueprint brick-add-storpool-driver
2017-12-01 23:06:15 +02:00
Zuul
a5c60d94d8 Merge "Make close on cryptsetup volumes idempotent" 2017-11-29 20:57:04 +00:00
wanghongxu
aa8cccd1bc set vg_thin_pool_size to float type
lvsize is type of str, we need a float type.

Change-Id: I2ade0ae1f788f75078b65f701ee051d0f13adbb3
Closes-Bug: #1715041
2017-11-28 09:58:50 +08:00
Peter Penchev
63b45f5e2a Fix a typographical error in a release notes entry.
Change-Id: I488983c29c2f9d6ffaee44286acdd00747e81c4d
2017-11-27 14:36:49 +02:00
Zuul
5fb632f96a Merge "Make close on luks volumes idempotent" 2017-11-21 16:22:25 +00:00
Zuul
55aab946b5 Merge "Always set ignoreskipactivation on snapshot creation" 2017-11-21 12:48:05 +00:00
Zuul
a4d7e4e9e5 Merge "Remove setting of version/release from releasenotes" 2017-11-20 09:33:27 +00:00
Zuul
dc3baaa4cc Merge "Updated from global requirements" 2017-11-19 18:53:51 +00:00
Matthew Booth
cedf281c73 Make close on cryptsetup volumes idempotent
When recovering from the failure of a compute host, Nova can call
close on an encryptor whose state Nova can't be certain of, but which
hasn't been created. This change makes the close operation idempotent,
which allows recovery to be more robust.

Related-bug: #1724573
Change-Id: I9f52f89b8466d03699cfd5c0e32c672c934cd6fb
2017-11-18 00:19:42 +00:00
Zuul
40685d6bc0 Merge "Adding NVMEoF for initiator CLI" 2017-11-17 21:54:43 +00:00
Matthew Booth
657ba45375 Make close on luks volumes idempotent
When recovering from the failure of a compute host, Nova can call
close on an encryptor whose state Nova can't be certain of, but which
hasn't been created. This change makes the close operation idempotent,
which allows recovery to be more robust.

Related-bug: #1724573
Change-Id: I31d72357c89db53a147c2d986a28c9c6870efad0
2017-11-17 14:47:32 +00:00
Sean McGinnis
63c220e8d3 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release values.
We've found that most projects now require the service package to be
installed in order to build release notes, and this is entirely due to
the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

Change-Id: I0ca29d19436422a382bce8c23bba24a6e677c434
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
2017-11-16 10:52:54 -06:00
Rawan Herzallah
905e73129b Adding NVMEoF for initiator CLI
Added os-brick changes to support NVMEoF for initiator CLI.
A New connector, NVMe connector, is added to handle initiator callsi for
connecting and disconnecting volumes to instances using nvme-cli over
RDMA.

Implements: blueprint nvme-over-fabirc-nova
Needed-By: I67a72c4226e54c18b3a6e4a13b5055fa6e85af09
Needed-By: I7cacd76c63e0ad29eb2d448ce07fbb5176f62721
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: I83697d6b46248edbe0a0ef3b76829b28ed5c048c
2017-11-16 14:39:34 +00:00
OpenStack Proposal Bot
e8fa8fd7d3 Updated from global requirements
Change-Id: Ia68bad671c55ac56a0b13649741139b1f6c65e6c
2017-11-16 11:19:54 +00:00
Gorka Eguileor
4ee404466d Fixing FC scanning
Current FC tries to limit the scanning range by detecting the target and
channel, unfortunately this code has a good number of implementation
issues:

- Matching uses local WWNN instead of target's WWPN.
- Not using a shell to run the command, so the * glob won't expand.
- Not using -l on grep command to list file names instead of contents.
- Not making the search case insensitive.

This patch fixes all these issues by using the target's WWPNs instead
-taking into account FC Zone/Access control information if present- and
supporting both possible connection information formats for the WWPNs
(single value or list of values).

Rescan tests have been modified to adhere to unit tests best practices,
where each test case only tests the specific code in the method under
test and mocks everything else.

Closes-Bug: #1664653
Closes-Bug: #1684996
Closes-Bug: #1687607
Change-Id: Ib539f6a3652bab4399c30cd90f326829e839ec02
2017-11-15 12:32:07 +01:00
OpenStack Proposal Bot
d5a69a49fc Updated from global requirements
Change-Id: Ie5f1960ab0dd2e67221fc6c22ccae673b106d929
2017-11-13 10:26:05 +00:00
Dirk Mueller
99f67090bc Always set ignoreskipactivation on snapshot creation
There seem to be different defaults in distros so we
enforce the flag to be set.

Change-Id: Ia166ee66e9983a54241e8b609202f58569552fab
2017-11-08 16:53:03 +11:00
Zuul
c1f1786307 Merge "Remove legacy connector constants" 2017-10-27 00:46:23 +00:00