1628 Commits

Author SHA1 Message Date
Dmitry Tantsur
ce9d0ef721 Add versions to release notes series
Change-Id: Iedc1e739662e1e36c34fb9b002497328872502c4
2019-03-21 09:40:10 +01:00
775e75d17e Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Ia1a277d1dbec2878b2468337362b9292fc8b0933
Sem-Ver: feature
2019-03-20 13:41:56 +00:00
Dmitry Tantsur
872dba1a7e Update release notes
Change-Id: I409379f72c8bb42b73e0f3aef8226904975d06ff
3.6.0
2019-03-18 15:11:27 +01:00
Candy Tsai
65e7fca3dd Correct clean_build command according to Makefile
The Makefile's command to clean only the tinyipa ramdisk build
is `make clean_build`, adjust the name according to the Makefile.

Change-Id: Icb9f2b7213de4be1eda71d92150f76e5efd72887
2019-03-12 23:59:44 +08:00
Zuul
a3c60ce587 Merge "Update python-hardware requirement for py3" 2019-03-08 21:00:59 +00:00
Julia Kreger
a20366cfa1 Update python-hardware requirement for py3
Change-Id: I8528a8738ce54fe2af04244cbe917422eb78fca7
2019-03-08 06:03:59 -08:00
Iury Gregory Melo Ferreira
37fce96531 Replace ZUUL_REFNAME for zuul.branch
Replace `ZUUL_REFNAME` in favor of `zuul.branch` to get the correct
branch name when building images.

Change-Id: I6fe33b2f17c742d57d19985169cd9800007b5768
2019-03-05 14:12:43 +01:00
Dmitry Tantsur
dd300fe49e Run the imagebuild post playbook on all hosts
The "primary" host is an artifact of legacy playbooks. It does not exist
in new zuul v3 jobs, and thus the publish does not happen. We probably
need to rework the whole job again one day, but for now use hosts:all.

Change-Id: I398e3b2b36795c7773afc27ead08d70eee0069ed
2019-03-01 18:57:50 +01:00
Iury Gregory Melo Ferreira
5b6bf0b6c8 Update path for publish jobs
- Use `src/git.openstack.org/openstack/<project>` instead of
`src/<project>`

Change-Id: Idd92d33e82abc9d4946c71e45f68e9e1713a0b95
2019-03-01 14:53:38 +01:00
Dmitry Tantsur
f821db3a54 Allow image checksum to be a URL
We allow image_source to be a URL, let us also support URLs for checksums.
This change copies handling of multi-file checksum files from metalsmith.

Change-Id: Ie4d7e5c79b76bdd72d50eeb384cf10519278a80c
Story: #2005061
Task: #29605
2019-02-25 14:28:09 +01:00
Zuul
c121bbd247 Merge "Move to zuulv3" 2019-02-21 18:32:58 +00:00
Zuul
e5da6d0007 Merge "Add secondary sorting by name when guessing root disk" 2019-02-13 07:41:41 +00:00
Arne Wiebalck
fb74b55606 Add secondary sorting by name when guessing root disk
As some BIOSes try to boot only from the "first" disk, Ironic
should order potential disks not only by size, but also by name.
This patch proposes to add secondary sorting by device name when
identifying the root disk.

Change-Id: I4017c839eeb9d00d2b4ad5b90e4e9b65b74296c7
Story: #2004976
Task: #29434
2019-02-11 17:53:47 +01:00
Zuul
c5749cc5e9 Merge "Building tinyipa with python3 by default" 2019-02-09 00:17:21 +00:00
Zuul
e86ed76758 Merge "Deprecate CoreOS ramdisk support" 2019-02-08 14:33:01 +00:00
Riccardo Pittau
d94ad626ec Building tinyipa with python3 by default
Tinycore is the base image for testing Ironic Python Agent.
In the effort of moving toward a full python3 friendly
environment, with this patch we start building the tinyipa
image with python3 by default.

This patch is a Follow-up to
https://review.openstack.org/#/c/635487/

Change-Id: Id446a67a31d25a21b086f85b459c0bec6b58ca7e
2019-02-08 14:15:14 +01:00
Iury Gregory Melo Ferreira
884e79ae83 Move to zuulv3
Depends-On: https://review.openstack.org/#/c/630100/
Change-Id: I69edcd2c0356bc1577e2a5974b004585b37469ca
2019-02-08 11:49:49 +01:00
Zuul
d9ba2b3f00 Merge "Build tinyipa with python3" 2019-02-06 19:28:30 +00:00
Julia Kreger
074eb288f7 Deprecate CoreOS ramdisk support
Deprecates ironic's CoreOS IPA image ramdisks and removes the
bulk of CoreOS based CI testing in order to save resources.

Change-Id: I26c557dcb2be29ae41576527c2649ee7ff43bc87
2019-02-05 19:53:25 -08:00
Riccardo Pittau
ec4a2611e7 Build tinyipa with python3
This patch uses ``USE_PYTHON3`` variable to build
Ironic Python Agent with python 3 inside a tinycore
image.
It modifies the content of ``buildreqs.lst`` and
``finalreqs.lst``, adding specific package files
based on the python version used to build IPA.
Since we're using python 3.6, bytecode optimized
files have .pyc extension and are located under a
__pycache__ dir [1]; as an optimization option,to
reduce the size of the final image, all bytecode
generated files will be moved to the original
source location and the source code will be
removed.

[1] https://www.python.org/dev/peps/pep-0488/

Change-Id: I3448a5f41eff6736274308f924d9ad8f059e6c44
Story: #2002598
Task: #22210
Depends-On: https://review.openstack.org/634646
2019-02-04 10:05:57 +01:00
Riccardo Pittau
d525f8a07f Making ironic-python-agent able to stop with python 3.x
The agent stop function will write a byte string 'a' to the pipe
as a signal for the run function to end process.
The run function is expecting a literal string.
In python 2.x the byte string will automatically be converted to
literal, while python 3.x won't do the conversion, causing the
process to never stop.
This patch will fix that behavior, allowing the IPA to correctly
stop using python 3.x.

Story: 2004928
Task: 29308
Change-Id: Iad16e8bed2436d961dea8ddaec1c2724225b4097
2019-02-04 09:55:08 +01:00
Riccardo Pittau
a365ff4245 Build tinyipa with tinycore 8.x
Upgrading to a more recent tinycore distribution to prepare
support to deliver a tinyipa image with ironic-python-agent
built with python 3

Most important changes in Tinycore 8.x include:
* kernel updated to 4.8.17
* glibc updated to 2.24
* support for Python 3.6

This patch also removes the need of get-pip.py script in
favor of native pip installation

Change-Id: I9f2f5d9faca7cbf736547b0d0ec39c5c2bb554bc
Story: #2002598
Task: #29131
2019-01-29 13:02:48 +01:00
Zuul
1684ad707c Merge "Moving publish jobs to zuulv3" 2019-01-23 00:06:28 +00:00
Iury Gregory Melo Ferreira
cf1127e03c Moving publish jobs to zuulv3
Moving IPA coreos and tinyipa publish jobs to zuulv3

Change-Id: I30c39d309ff065ed51726d0360086b0e740a2c2c
2019-01-18 15:08:13 +01:00
Dmitry Tantsur
20a4887824 Fix a regression in generate_upper_constraints.sh
Commit 041c1795db9249b423622b21191cb88d22594451 has an issue that
prevents building IPA when requirements are not available locally.

Change-Id: I93d5fdb599315922f35a3caaf311b14d8a74a858
Story: #2004776
Task: #28901
2019-01-17 10:45:53 +01:00
Zuul
6be37298bd Merge "Replacing the HTTP protocal with HTTPS" 2019-01-11 16:22:40 +00:00
Dmitry Tantsur
041c1795db Recover CI run detection in imagebuild
The new zuul jobs use just /opt/stack instead of /opt/stack/new,
breaking the constraints handling and using dependencies from source.
This changes corrects it by accepting both directories.

Change-Id: I8d6f8c99e1ab5f26e3537630d0f6086e02a2b1ec
2019-01-09 18:08:14 +01:00
Zuul
ea934658c3 Merge "Remove dsvm from zuulv3 jobs" 2019-01-08 14:41:56 +00:00
Zuul
6b799d2b40 Merge "update the tox mini version" 2019-01-08 02:45:38 +00:00
Iury Gregory Melo Ferreira
a91a693685 Remove dsvm from zuulv3 jobs
According to [1] the dsvm should be removed from zuulv3 jobs

[1] https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3

Change-Id: I57da5d2f0827ce75ebac12962fc5b3f744613a18
2019-01-07 17:18:54 +01:00
Zuul
c5f31db691 Merge "Attempt to read the partition table after writing an image" 2019-01-04 08:01:22 +00:00
ShangXiao
045063990d Add source code link for the project to README
Change-Id: Ib8e0c9a41b4b73aaba13b794eaf2134b85bbeff9
2018-12-28 03:10:56 +00:00
Zuul
34c7ccc6c2 Merge "Update author email address" 2018-12-26 13:56:54 +00:00
zhangshj
d45650f086 Replacing the HTTP protocal with HTTPS
Change-Id: I9791b6781158c0ddebda636daeea39665b483dd6
2018-12-25 19:51:40 +08:00
Julia Kreger
f7e90ea777 Update author email address
Change-Id: I7bad0c5799be2cc550efee20507e882ed055cc9a
2018-12-25 17:02:42 +08:00
Zuul
97504b07a6 Merge "Change HTTP links to HTTPS" 2018-12-18 10:01:10 +00:00
zhouxinyong
68ad3661a3 Change HTTP links to HTTPS
Change-Id: I963c32407c109c840d59f4dcf945f2fc78e096f2
2018-12-18 09:41:33 +00:00
chenjiao
27d4e6b2cc Update http link to https
Change-Id: I5cf2627d999d4f3cf7bc2367f4d9cfddf6391146
2018-12-08 18:03:59 +08:00
Zuul
ebd5e7488d Merge "add coverage job" 2018-12-05 21:33:56 +00:00
Zuul
a76567d9e5 Merge "spelling error" 2018-11-28 02:05:23 +00:00
Zuul
d1bb8591dd Merge "Update min tox version to 2.0" 2018-11-28 00:03:47 +00:00
Zuul
0a58f72038 Merge "zuul-ify primary IPA jobs" 2018-11-27 03:38:14 +00:00
Zuul
cfb62c8765 Merge "Allow erasing metadata from disk partitions" 2018-11-26 22:47:02 +00:00
Julia Kreger
86d98666d7 zuul-ify primary IPA jobs
Change-Id: I13312560389f8b1298dd62cedd654fb8f66d3dfe
2018-11-26 17:32:28 +00:00
zhangdebo
391636c289 Update link addresses
Change-Id: I52f275917be720b1e48f17876deb10cd4e6d2501
2018-11-24 14:58:49 +08:00
chenjiao
416859ec6a spelling error
Change-Id: I20e5373e6b906f893adbd4ec609c71203766b3d3
2018-11-24 11:20:34 +08:00
Sam Betts
fc2dfcee60 Attempt to read the partition table after writing an image
This patch adds code that tries to read the partition table after we've
successfully written an image to make sure the image that we wrote has a
valid partition table so we can more easily guarantee that what we've
written is bootable and not just junk. Without a valid partition table
writing a config drive will fail for whole disk images.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: I5cfd8c433a4db3e0d2d5086250e629d16234b7a4
Story: 2001760
Task: 12159
2018-11-19 18:57:23 +01:00
Corey Wright
96961070ee Allow erasing metadata from disk partitions
Modify the metadata erasing call chain to retrieve a list of devices
that includes partitions in addition to disks so it can erase metadata
from all of them, otherwise incidentally recreating disk partitions
causes the Linux kernel to discover and automatically recreate some
types of storage entities (eg LVM PVs, VGs, & LVs, RAID members &
devices).

Change-Id: If8f47a083966051856439e3291a6872929b93e3b
Story: #2003673
Task: #26192
2018-11-13 00:36:18 -06:00
Zuul
0655a18bdd Merge "Update min tox version to 2.0" 2018-11-12 14:24:01 +00:00
Zuul
3176ea483c Merge "Fix multi-device behavior" 2018-11-12 13:56:57 +00:00