Commit Graph

106 Commits

Author SHA1 Message Date
OpenDev Sysadmins 0ca5698ca0 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:42 +00:00
OpenStack Proposal Bot 101f827403 Updated from global requirements
Change-Id: Ic1ecaa979ea39ab27165da5bd1283db8323c37c5
2017-05-15 23:35:49 +00:00
Prabhat Ranjan a77c6cc800 stable ocata uses master branch of nova
The tox environment downloads nova master even when stable/ocata
branch is checked out in nova-dpm. However in this case also
the stable version of the project should be used!

This patch also contain one more change

What another change?
Ans: In stable/ocata release we did not have "functional"
test enabled. So when we are trying to fix stable/ocata
with launchpad bug-1672438 then jenkins were failing because
we have enabled "functional" test now in pike cycle. So
inorder to not break jenkins for stable/ocata
we have added(enabled) "functional" test.

Closes-Bug: #1672438

Change-Id: Ibcac0eb71f8881b8fa7884e79af7526048192011
Signed-off-by: Prabhat Ranjan <pranjank@in.ibm.com>
2017-04-27 13:55:19 +05:30
OpenStack Proposal Bot 86f856b657 Updated from global requirements
Change-Id: I315e13a3cf41e04900f0d80cb6f808fbd42e3dcb
2017-03-09 18:19:41 +00:00
Markus Zoeller 4cec83fffe Add Ocata (1.0.0) release notes
We publish our docs on ReadTheDocs (RTD). We also want to use "reno"
as release notes tools. Reno has issues to determine the repo root
when it gets used in an RTD build (see bug 1661319).
The bug is solved in reno>2.0.3 but that will be released *after*
the Ocata release. This means we need an interim solution to have
release notes ready at the same time when the actual release is
happening. This change is this interim solution.

Change-Id: I90c5419b7338b312a469308a59501f3bd0ef02ba
Co-Authored-By: Sreeram Vancheeswaran <sreeram.vancheeswaran@in.ibm.com>
(cherry picked from commit a3e4d40811)
2017-02-23 09:16:25 +00:00
Andreas Scheuring f2432dfb9b Fix RTD not rendering bullets of toctree
RTD is not rendering the bullets of toctree items when the
oslosphinx extension containing the 'openstack' theme is used.
This patch is a circumvention until the issue has been fixed
in oslosphinx [1].

[1] https://bugs.launchpad.net/oslosphinx/+bug/1664976

Change-Id: Id78caa0022c2d1257a651712bdb14f126bf854fc
Closes-Bug: #1664863
2017-02-22 08:36:35 +00:00
Andreas Scheuring 1deb6ca8aa Add DPM Guest Image Tools
The guest image tools must be installed inside an operating system
to allow automated network configuration.

* autoconfigure_networking
  A systemd service that starts before cloud-init. It groups qeth
  devices to network interfaces that can be consumed by Linux.
  Therefore all devices listed in /proc/cmdline get configured with
  the provided portno in layer2 mode. The format of the data in the
  cmdline must be

        <devno>,<portno>[,<mac>];

* Setmac
  A udev rule and the corresponding script to change the MAC address
  of a network interface from within the guests operating system.
  This is done along the data provided via /proc/cmdline. The format
  of the data in the cmdline must be

        <devno>,<portno>,<mac>;

Note: The boot-os-specific-parameters property of a partition is used
to pass in data from Nova into the operation system. This data is
appended to /proc/cmdline.

Change-Id: Iea199b085aca34769128a8691e95e790a396ee80
(cherry picked from commit 2544312093)
2017-02-21 09:12:40 +00:00
OpenStack Proposal Bot 0e1a7adb45 Updated from global requirements
Change-Id: I1758421ed9d39bcf1ff236de3549b4d83bb401db
2017-02-20 22:31:33 +00:00
sreeteja fcd516a111 DPM Nova image creation docs
This describes the process to create an OpenStack image for the IBM
System z PRSM hypervisor in DPM mode.

closes-Bug: 1657719
Change-Id: Icc65fcbafc4889e3f147bae9cfadfc8890439fc4
2017-02-17 15:38:41 +00:00
Jenkins 21b06bcf2b Merge "Added content of Topology chapter." 2017-02-13 18:26:47 +00:00
Jenkins 4af1089917 Merge "Updated installation section." 2017-02-13 18:25:13 +00:00
OpenStack Proposal Bot 9e63f65e08 Updated from global requirements
Change-Id: I7a5a6e35277bd4ccc0bd580998377822ed5ad548
2017-02-13 09:39:18 +00:00
Jenkins 9d60bcaa52 Merge "Enable DHCP and routing on singlenode devstack" 2017-02-13 08:54:04 +00:00
Jenkins 788fbabc4f Merge "Use flat networks in devstack" 2017-02-13 08:53:59 +00:00
Jenkins 95365971bd Merge "Remove the nova-neutron singlenode local.conf" 2017-02-13 08:50:46 +00:00
Andreas Scheuring ece9dc2f00 Enable DHCP and routing on singlenode devstack
This patch extends the local.conf that the singlenode is able
to host an openstack dhcp server and openstack router.

Change-Id: I9e8623c006ac89552c42316ee889c16f4a7b5aa1
2017-02-10 11:55:21 +01:00
Jenkins 5bb972c02c Merge "Addressed minor comments on 'overhauled docs' change." 2017-02-10 09:26:52 +00:00
Andreas Maier 325d6237d8 Added content of Topology chapter.
Change-Id: If8510d58a27a4e2d9520d4e08d3f491223c15d0e
Partial-Bug: 1660689
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-10 10:14:04 +01:00
Andreas Maier 0247163cf3 Addressed minor comments on 'overhauled docs' change.
Details:
- Addressed the comments made on this change set:
  https://review.openstack.org/#/c/427346/4, as documented there.
- Changed TOC depth on main index page from 1 to 2.

Change-Id: I151d0605ce14a6771cee405d7b7f9661b15f27e4
Partial-Bug: 1660689
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-10 09:46:33 +01:00
Andreas Scheuring 2ec3804f89 Use flat networks in devstack
Patch [1] removed the VLAN support from networking-dpm. Now attaching
an instance to a VLAN network results in an error message. Therfore
we need to adapt the devstack local.confs (which created a VLAN
network by default).

[1] https://review.openstack.org/#/c/429546/

Change-Id: I2143ea4ad3d40aa922eae0d57ec3935259278b24
2017-02-10 09:10:31 +01:00
Andreas Scheuring 2a0ecefa14 Remove the nova-neutron singlenode local.conf
It is not applicable any more, as always a FC cinder backend
is required to launch an instance. This is covered by the local.conf
"local.conf.singlenode.nova_neutron_storage"

Change-Id: I434844e2423b6097b89e3f3521204f753dcbf420
2017-02-10 08:19:19 +01:00
Andreas Maier c73d6bd088 Updated installation section.
The installation section was updated to document an installation
from PyPI, using the upper constraints file of OpenStack.

There is now a table that maps package versions to OpenStack
releases.

Three different currency variants are described:
- recommended: Latest released fix level for a particular stable
  OpenStack release.
- Latest fix level in development, for a particular stable OpenStack
  release.
- For developers: Latest development level for OpenStack release in
  development.

Change-Id: I2e4cce2d694ea233dbdb5af9b73cebf83cb2228a
Partial-Bug: 1660689
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-09 13:55:56 +01:00
preethipy 8f77a97f69 Adding more testcases for driver.py missing functions
Change-Id: I15a5b5571295244598fda06d6f45bfdf1735056a
2017-02-09 18:17:38 +05:30
Jenkins e430d2f0fa Merge "Add nic information to partitions boot params" 2017-02-08 14:50:33 +00:00
Jenkins 582c013b26 Merge "Introduce list of ignored target wwpn for boot options" 2017-02-08 14:05:38 +00:00
Jenkins 85a7be2696 Merge "Overhauled the documentation" 2017-02-08 14:00:39 +00:00
Jenkins 17a8d4e585 Merge "Add version number to the documentation footer" 2017-02-08 12:59:03 +00:00
preethipy 94c9e6afdf Introduce list of ignored target wwpn for boot options
The implementation helps in providing an optional configuration
parameter target_wwpn_ignore_list which can be used by
administrator to manually list the target wwpns that has to be
ignored.

There are certain storage configuration types like nas/file module
connected storage ports which cannot be used for booting
from a required LUN. Of the entire list of target wwpns returned by
Storewize driver, the nas type of target wwpns have to be ignored.

Closes bug: 1662429

Change-Id: I6bc25f2d3ef0cb51aed4e02d870c3a19af8e7d77
2017-02-08 16:40:10 +05:30
Andreas Scheuring c9fda63d22 Add nic information to partitions boot params
In order to bring up networking in a dpm instance correctly,
additional data needs to be available from inside the instance.
As a config drive is not yet available, the DPM
'boot-os-specific-parameters' property is exploitet.
The set value will be appended to the instance kernels cmdine and be
available under /proc/cmdline

For each NIC the following information will be added to this
parameter:

  <devno>,<port-no>,<mac>;

Where the <port-no> will default to 0 until support has been added to
networking-dpm.

The 'boot-os-specific-parameters' value is limited to 256 chars.
Therefore a checking is introduced that throws an Exception if
the maximum limit of Ports/NICs is exceeded. The limit is 12
Ports/Nics per partition.

Implements: blueprint neutron-integration-set-mac
Change-Id: Ie6f9e1784219feffcefa5bda7194768b32b28a7c
2017-02-07 17:57:03 +01:00
Jenkins dee02ee2ca Merge "Destroy flow fixed for partition none case" 2017-02-07 16:05:28 +00:00
Tin Lam b35d7bd059 Add version number to the documentation footer
Currently, nova-dpm documentation does not have the version number
in the footer.  This patch set adds the version information to the
``doc/source/conf.py``.

Closes-Bug: #1662519
Change-Id: I00de3cadda730fb78303579142d82d1ed10c01fa
2017-02-07 16:04:37 +00:00
Andreas Scheuring 324bf8f3b3 Add vm.launch testcase
This was a leftover from another patchset. Adding a test
for the vm.launch method.

Change-Id: I19ab411f852a18c68f61688c43e8e6579b385748
2017-02-07 20:47:59 +05:30
preethipy 2e76bfa2aa Destroy flow fixed for partition none case
Destroy flow currenly fails as the partition object is None
and logging is trying to reference. The fix uses instance
variables when partition is None

Closes bug: 1662485

Change-Id: I8edfbebb3e986f42b57b799f72d505ede4adc385
2017-02-07 20:38:00 +05:30
Andreas Maier cf932be130 Overhauled the documentation
This change is supposed to improve the documentation that currently
exists, without adding much new content.

Details:

* Reorganized the main page into a common overview section, a
  section for users of the driver, and a section for contributors,
  and a section with links for quick access.
* Separated between the `README.rst` file and the introductory text
  on the main page, because the `README.rst` file stands on its own
  when shown on the Github code page, while the introductory text
  is part of the larger documentation. As a result, removed the
  `doc/source/readme.rst` file.
* Added an empty chapter for the topology to the overview section
  of the main page, instead of referencing the readme file.
* Cleaned up headings and file names somewhat.
* Added link targets to any major headings.
* Adapted the contributions page to the project, and added links
  for the Git repo and the Gerrit review page.

Change-Id: Id7a9a632984ad8945ca1dd347a7766601030a373
Partial-Bug: 1660689
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-07 15:47:55 +01:00
preethipy eb2bc80389 Attach HBA to partition
+ Spawn flow to attach HBA for a given partition using the
configuration of Storage adapter and port along with some validation
on configuration specified
+ Setting boot options as the first HBA adapter created. And
boot partition.

Closes bug: 1658158

Change-Id: I26ea7dad7fb59ee2e2d29c0c37f9c0e0d35a7aeb
2017-02-07 13:52:35 +05:30
preethipy 263c6b0cb2 INSTALL_ZHMCCLIENT option added to local.conf samples
Change-Id: I4f58c806ddbaaf29a5885a615768210dbb0c9e2b
2017-02-07 06:24:31 +00:00
Andreas Scheuring 1fd3b0bdb5 Adapt networking-dpms *mapping parameter
networking-dpms 'physical_adapter_mappings' parameter got renamed
to 'physical_network_adapter_mappings'. This patch reflects this
change in nova-dpms devstack local.confs.

Change-Id: I6d33ad8047149bf5bc05e254ab63570d5f97fa68
Closes-Bug: 1661563
2017-02-06 14:41:02 +00:00
preethipy 533d736b33 Abstracting the common conf parameters
Manual updation of params could be error prone
for same set of attributes, hence adding new
params which has to be configured once by the
administrator which will be referred to in the
rest of the local.conf file

Change-Id: I17e19fbb4328dbb8ca7b02f1afd35baa9f942718
2017-02-03 17:15:56 +05:30
preethipy b3148f5bdf Added sample conf with storage and network parmeters
Change-Id: I8136ee80276e8d505588761eb7fdc97ca1a75d80
2017-02-03 17:08:33 +05:30
preethipy 9d6f6f24d4 Generalizing the parameters in sample conf
Updated static values with generalized attribute
description

Change-Id: I80dee17c033f2bbdbf0274c9df850a240ffef065
2017-02-03 16:43:38 +05:30
Jenkins 2e2be283b9 Merge "devstack local.conf: move neutron host section" 2017-02-03 10:31:11 +00:00
Jenkins 1d957c6add Merge "Reflect networking-dpm conf change in local.conf" 2017-02-03 10:31:04 +00:00
Andreas Scheuring b63b645e22 devstack local.conf: move neutron host section
Moved the default.host section of the local.conf from the
neutron.conf file into the neutron plugin conf file. Technically
both works with devstack, but to make more clear where the option
belongs to it got moved there.

Change-Id: I636bf37b290f3abf7da884017e25d1aebd2bc2d9
2017-02-03 09:18:32 +01:00
Andreas Scheuring 50ef744984 Reflect networking-dpm conf change in local.conf
Networking-dpm changed a config option from using cpc_name to
cpc_object_id. This patch reflects this in the devstack local.conf.

Change-Id: Id574493104ae4cd9c9a954f93297434be401d3ac
2017-02-03 09:18:32 +01:00
Markus Zoeller 384bbd5c40 Remove config option [dpm].host
The DPM driver manages so-called "cpc-subsets". Basically, this is
a logically portion cut out of a system z CPC. For the Nova driver,
this emulates a "host". This results in this multiplicity:

    DPM Driver 1 --- 1 CPC-subset (=host) * --- 1 CPC

Having the two config options "[DEFAULT].host" and "[dpm].host", which
mean the same thing, could be confusing for a user. Also, this can
lead to issues if both are not in sync, for example during the
Nova<->Neutron communication where the NICs get created.

To resolve this, this change removes the config option "[dpm].host"
and uses "[DEFAULT].host" only. As the config option wasn't yet part
of any release, we don't need to do the usual deprecation policy.

closes bug: 1655043

Change-Id: Ibb2c23e248c4390e2ec19e7aa9811abdc24fea25
2017-02-03 08:34:43 +01:00
Andreas Scheuring 3746cf3f1e Use os-dpm
Os-dpm [1] is a shared library between nova-dpm and networking-dpm.
For now it contains the common config options between those 2
projects.

This patch switches over to use os-dpm. Config options that where
duplicates between nova-dpm and os-dpm, are now removed from
nova-dpm. This affects

* hmc
* hmc_password
* hmc_username
* cpc_object_id

Change-Id: If0b877101a9603ce04a5e0aaba3d4b9359b8d0fd
Closes-Bug: #1661315
2017-02-03 08:34:12 +01:00
Andreas Maier 5fa46366d9 Changed name of cpc_uuid config option to cpc_object_id
Reason for the change is that the HMC API book does not mention
anywhere that the format of the ID is a UUID, and the name of the
resource property is "object-id". This change set changes the
name of the DPM config option "cpc_uuid" to "cpc_object_id",
and the devstack variables CPC_UUID to CPC_OBJECT_ID, and
updates any use of that and the unit testcases accordingly.

Change-Id: I6153ac791d4296101dc00f23dfb7fb7c3d2fee2c
Partial-Bug: 1659304
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-02 17:33:15 +01:00
Andreas Maier 44d5c02320 Updated help text for DPM config options for Nova.
This change updates the help text for the DPM option group
and for most of the DPM options, to be more consistent, and to
use the official z Systems terminology.

Change-Id: I1906a20d8a0addd41fb439002e4fcd29464a98de
Partial-Bug: 1659201
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-02 17:33:10 +01:00
Markus Zoeller 474eb617f6 rtd: revert release notes creation (partially)
The build process of RTD might not be suitable for the way reno
has designed the processing of release notes. Let's stop that
for now and find an alternative solution.

Change-Id: I182825f691b7fc7e5cf505ed04b7ff9f5394909c
2017-02-02 17:09:14 +01:00
Markus Zoeller 6576a01314 rtd: fix release note creation
ReadTheDocs (RTD) is confused by the different release notes subdir.

Change-Id: I17d21a83d82dc8246e78387a438adf8292496f48
2017-02-02 15:30:40 +01:00