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>
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)
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
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)
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
This patch extends the local.conf that the singlenode is able
to host an openstack dhcp server and openstack router.
Change-Id: I9e8623c006ac89552c42316ee889c16f4a7b5aa1
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>
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
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
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>
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
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
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
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
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>
+ 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
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
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
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
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
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
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
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>
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>
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