Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I4e17fc6125df7543e19482b6b332c7939452758e
Sem-Ver: feature
Removed all old style CI jobs and created new jobs that
work on Ubuntu 18.04 (and possibly 20.04 but untested yet)
networking-midonet-ml2-tempest-aio
networking-midonet-ml2-tempest-multinode
networking-midonet-ml2-tempest-aio-centos8 is not functional but
left here as non voting to be fixed up in a follow up commit
networking-midonet-ml2-grenade is also non voting as will need some
commits backported to stable branches to get working first before
making it voting.
Change-Id: I4db6cd9b8478018ef696c3e4d2ec9a92ccd50c7a
Includes several fixes:
1. Fix taas related unit tests
After meging https://review.opendev.org/681946 in tap-as-a-service
both tap_services and tap_flows has a new status field which can be
DOWN.
2. Return a 404 when network doesn't exist when creating a floating IP
3. Update pep8 config and dependencies to be the same as neutron
Change-Id: Ie174d1f701162a8d71b641ebedd2964d20f32c29
Co-authored-by: elajkat <lajos.katona@est.tech>
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I58d3982b37b28148a346e3a9d34e8a8da023c35a
This patch combines two fixes into one patch to fix UT failures:
* Fix MidonetInterfaceDriver.plug_new signature
Since [1], the "LinuxInterfaceDriver.plug_new" signature includes a
new kwarg, "link_up". Because "MidonetInterfaceDriver" inherits from
"LinuxInterfaceDriver" and overrides "plug_new" function, the local
implementation should include this new parameter.
* Fix Mysql db migration schema
Field "midonet_tasks.data" was defined as sa.Text() in db model but in
migration script for mysql engine it is defined as Text type with
lenght long enough to create LONGTEXT field in the DB. That caused
problem with types of field in the db model and migration script.
So this patch fixes that by using sa.Text() with LONGTEXT variant for
mysql engine in db model.
[1]https://review.opendev.org/#/c/707406
Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>
Change-Id: Ibab90934e138f10e36e055c038e404f89d01f41e
Closes-Bug: #1871568
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I2630406464f77fc0bcf33ad0c2f0f09720708892
Sem-Ver: feature
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I8cad3acb05b29a76b160a3ba09608807e934a263
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I7d14a347fd25822736835127e67d37d57859e356
OpenStack is dropping the Python 2.7 support in Ussuri cycle.
The networking-midonet project is ready with Python 3 and therefore it's
okay to drop Python 2.7 support. The only significant change we need to
make is to drop the centos7-based jobs since centos7 doesn't support
Python 3. These were non-voting and have been for some time, so this is
likely the best thing to do right now.
The complete discussion nad schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
The Ussuri community-wide goal can be found here:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: Ie95a528f4431d51cc551380d4d7066e4b6f299fa
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
It has been broken since a nova change. [1]
Nova folks don't want to revert it.
I don't have time to fix it for the meantime either.
Skip the test case for now to avoid hiding other breakage.
[1] https://review.opendev.org/#/c/667177/
Related-Bug: #1839169
Change-Id: I2bd88fdea22884296ce418148cbb6a867c93233c
Currently our devstack jobs are with python2 because
they all are on centos-7, where python3 is not ready.
They recently started failing with "python3.5 not found" for
some reasons. (I haven't investigated why.)
Specify USE_PYTHON3=False as a workaround.
Closes-Bug: #1855512
Change-Id: I71c6a20f32650bc58953d237da9aa80bef4d1f60
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: Ie7b1b0f978902782aca199c4389c5e933bc12de7
The zuul job assumes doc-<repo>.pdf as the generated PDF file.
It was changed after the original PDF build patch was pushed
and I forgot to update it. This commit fixes it.
Change-Id: Idbea72514b8869a9a194987ddde36abe369b5496
Story: 2006099
Task: 35123
We have implicit branch matchers, so there's no need to add a check
for not-ocata etc, a job is only run for the branch it's on - like
master now.
Remove it to not confuse Zuul when multiple branches matches and the job
definition is different.
Change-Id: I09f726819517d065f023f8a4cc8f64ae1615b693
The external_port argument was removed from _update_fip_assoc()
in https://review.opendev.org/#/c/680976/ and is no longer
needed.
This commit includes the following unrelated change to
pass the gate.
----------------------------------------
Specify CONNECTIVITY_L2
Necessary after the recent Neutron change. [1]
[1] https://review.opendev.org/#/c/678027/
bp boot-vm-with-unaddressed-port
Related-Bug: #1821058
Change-Id: Ia2282f2af5f19f1f7fc82614d2fde5974f7316a2
----------------------------------------
Co-authored-by: YAMAMOTO Takashi <yamamoto@midokura.com>
Change-Id: I36e2c5efe54bfefe1dcf046f87e399e747a7deea
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: Ifdedfe83ca5ace09e7eff55658e9d2a79832babf
Sem-Ver: feature
Note that toctree_only option [1] is set to True in latex_documents
in doc/source/conf.py to get a better document structure in
the generated PDF file.
Change-Id: I42907fecf49b4549252b6a6d3ac9b4ff8c556c92
Story: 2006099
Task: 35123
Similar to the centos integration jobs these jobs are failing. These
jobs speak to builds.midonet.org via http:// so they aren't failing due
to the expired cert. Instead they are failing because midolman fails to
resolve its dependencies of vpp and libreswan.
The error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
midolman : Depends: libreswan (>= 3.14-1) but it is not going to be installed
Depends: vpp but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
As with the centos jobs these jobs can be added back if someone is
working to fix them. Such changes will be self testing so you will know
if they function before you merge the change.
Change-Id: I3d304d9b744566d5eea5d9836b2503451b59320b