163 Commits

Author SHA1 Message Date
Zuul
11a87365fb Merge "Generate a TLS certificate and send it to ironic" 2020-09-23 12:14:38 +00:00
Zuul
a3b10db95a Merge "Replace oslo's loopingcall with tenacity" 2020-09-12 15:24:41 +00:00
Dmitry Tantsur
021e0a6a46 Generate a TLS certificate and send it to ironic
Adds a new flag (on by default) that enables generating a TLS
certificate and sending it to ironic via heartbeat. Whether
ironic supports auto-generated certificates is determined by
checking its API version.

Change-Id: I01f83dd04cfec2adc9e2a6b9c531391773ed36e5
Depends-On: https://review.opendev.org/747136
Depends-On: https://review.opendev.org/749975
Story: #2007214
Task: #40604
2020-09-11 17:46:52 +02:00
Iury Gregory Melo Ferreira
08fdae9081 Fix l-c
Change-Id: I98e087f85e166da02890828054ed46ec9177eeb5
2020-09-10 15:26:16 +02:00
Dmitry Tantsur
471666905c Replace oslo's loopingcall with tenacity
The latter has a more natural API and does not have a hard requirement
of eventlet. It is already a dependency of ironic-lib.

Change-Id: I68de9e989af137b34c19bbaf9b7c0a5ba6e1d4e3
2020-09-01 11:53:25 +02:00
Dmitry Tantsur
ddbba07021 Allow specifying target devices for software RAID
This change adds support for the physical_disks RAID parameter in
a form of device hints (same as for root device selection).

Change-Id: I9751ab0f86ada41e3b668670dc112d58093b8099
Story: #2006369
Task: #39080
2020-03-17 13:03:24 +01:00
Dmitry Tantsur
f1b2df908a Replace WSME and Pecan with Werkzeug
WSME is no longer maintained and Pecan is an overkill for our (purely
internal) API. This change rewrites the API in Werkzeug (the library
underneath Flask). I don't use Flask here since it's also an overkill
for API with 4 meaningful endpoints.

Change-Id: Ifed45f70869adf00e795202a53a2a53c9c57ef30
2019-12-04 16:50:47 +01:00
Zuul
6032643a04 Merge "Stop using six library" 2019-12-03 13:09:30 +00:00
Dmitry Tantsur
4354bc04f9 Replace netaddr dependency with stdlib ipaddress
netaddr is quite a big library, and all we need is covered by
the built-in ipaddress module (available in python 3).

Also add a safeguard for invalid 'ip route' output.

Change-Id: I9d76a8d1c1b6b1585e301a9c63b37fab3b98746f
2019-12-02 12:13:04 +01:00
Dmitry Tantsur
9f6c2aa05b Remove the unused dependency on iso8601
Change-Id: If6cabb58ee861d10657c6563fe3118709e621545
2019-12-02 12:12:27 +01:00
Riccardo Pittau
ca7a46b113 Stop using six library
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I4795417aa649be75ba7162a8cf30eacbb88c7b5e
2019-11-29 10:18:14 +01:00
Riccardo Pittau
8c9fd6dffc Using from_device_file from Devices
The from_device_file method in pyudev.Device is deprecated since
version 0.18
Using the same method from pyudev.Devices is now recommended.

Increasing minimum version of pyudev to 0.18 and correctly handling
exception raised by from_device_file.

Change-Id: I0637585241c81a36f69aef8017f1134f5c526eb1
2019-07-09 13:59:32 +02:00
Dmitry Tantsur
5c5328ccaa Supports fetching API endpoints from mDNS
This change enables IPA to receive API endpoints and configuration
via multicast DNS.

Story: #2005393
Task: #30382
Change-Id: Ibbf07052bea8f5c0305dda098b2879bcbc2fece5
2019-05-29 16:58:24 +02:00
Dmitry Tantsur
29136bf68d Allow streaming raw partition images
Currently we support streaming raw whole disk images, but not
partition ones. This change enables it.

Change-Id: Ie95102aa3f2054a6b429f3d3e0926e90923c5faf
Story: #2003809
Task: #26558
2018-10-17 11:16:04 +02:00
Michael Turek
b32750f5c4 Install grub to PReP partition when prep_boot_part_uuid is provided
Installs the grub bootloader to the PreP Boot partition when the
prep_boot_partition_uuid is provided. This is required when
booting a partition image locally on ppc64* systems.

This change also passes the cpu_arch along to work_on_disk so
that the PReP partition is created when partitioning disks for
local boot on ppc64* systems,

Change-Id: I70667d43af962b357e6eeccba258f4fa5a91a09e
Depends-On: I2bc9f13ec605de7b7b96d96a1a4edebee0af76dc
Story: #1749057
Task: #22999
2018-07-20 16:07:16 +00:00
Chuck Short
1036384f74 Switch to using stestr
According to Openstack summit session [1] stestr is maintained project
to which all Openstack projects should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Also adjust requiremenst to past the gate checks.

Change-Id: If7a0ebd9cca26cb67eb2ec9036d0aa2693fdffbf
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-06-29 09:38:30 -04:00
Doug Hellmann
8748293674 fix lower constraints and uncap eventlet
Fix the lower constraints settings to match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I66b4e20bb565ac7fa9ca5cf48410f29161ef7b3a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-19 20:19:42 +09:00
OpenStack Proposal Bot
d90a53515f Updated from global requirements
Change-Id: Ia3aa6302d24606c4b13fcd91604869ac00acecd0
2018-03-26 08:04:56 +00:00
OpenStack Proposal Bot
c0790bb105 Updated from global requirements
Change-Id: Ief83d9d150c7aad73c04d40579f003ff150cff7c
2018-03-14 05:31:23 +00:00
OpenStack Proposal Bot
714203115a Updated from global requirements
Change-Id: I562b667455268e491bc95b3c0c37115e4139c7c4
2018-01-16 12:30:01 +00:00
OpenStack Proposal Bot
b781cbc13e Updated from global requirements
Change-Id: I810a82fd77951ce121349139c89a812fd856bfba
2017-12-24 00:59:36 +00:00
OpenStack Proposal Bot
bd71c299c8 Updated from global requirements
Change-Id: Ic9d1e6b96ec1b62aef964f0e1d62d630edd37148
2017-12-19 01:18:53 +00:00
OpenStack Proposal Bot
82aa57e1e8 Updated from global requirements
Change-Id: I02feb227a2df53e68498b020eba48418865bb12c
2017-11-29 08:57:37 +00:00
OpenStack Proposal Bot
fdd799db80 Updated from global requirements
Change-Id: I9d59a5196b57fbc8af1efff3a6841410966ad260
2017-11-16 11:06:04 +00:00
OpenStack Proposal Bot
bf3580e937 Updated from global requirements
Change-Id: I6552d47dfeefc8756ddcb214c6ad7595549ab8f7
2017-11-15 18:10:19 +00:00
OpenStack Proposal Bot
69f985d334 Updated from global requirements
Change-Id: I42c1a4d34194a3d3ae7d330ad4959155ec41d192
2017-09-16 23:13:09 +00:00
OpenStack Proposal Bot
c90b150043 Updated from global requirements
Change-Id: I4e0e586f9e37548c27bb0f8475999ea2567f0737
2017-08-24 05:50:24 +00:00
OpenStack Proposal Bot
8110243388 Updated from global requirements
Change-Id: Ifc6e645014f1ddba696a6e21fe8349d2f7b30103
2017-07-18 01:47:05 +00:00
OpenStack Proposal Bot
5e02d31c74 Updated from global requirements
Change-Id: I58e3ad5330714ea2348e8043ea77063a7c965bc8
2017-06-15 16:24:20 +00:00
OpenStack Proposal Bot
cf60715870 Updated from global requirements
Change-Id: I2a3c3c5c94f7b0ed593de252b79be461ffcc5ccf
2017-06-10 21:38:12 +00:00
OpenStack Proposal Bot
9028742ebc Updated from global requirements
Change-Id: I8f3c7abb313a18ec8f41aefc6001392818a9ccf5
2017-06-05 17:21:17 +00:00
OpenStack Proposal Bot
116ddde00d Updated from global requirements
Change-Id: Ibb2590c8f12c509a9cb2fe3abde77f22fa7c1b52
2017-05-17 13:40:18 +00:00
OpenStack Proposal Bot
92c33a0f47 Updated from global requirements
Change-Id: Ic29c84030819bf98b9680b51edb5b8840479706c
2017-04-12 04:12:39 +00:00
OpenStack Proposal Bot
819eaf86a1 Updated from global requirements
Change-Id: Ic89074e92befcef8d920d4087be8c1a81b27b4e2
2017-03-28 21:29:15 +00:00
OpenStack Proposal Bot
b9afdba017 Updated from global requirements
Change-Id: I04d0462d7e6dc6158c22dc3aa0f68461785f5e7f
2017-03-13 19:32:22 +00:00
OpenStack Proposal Bot
8e1226e732 Updated from global requirements
Change-Id: Ide1164498fc53c5a28bb1ada7e9f18483204ba1e
2017-03-02 11:45:38 +00:00
OpenStack Proposal Bot
ec7990b6a2 Updated from global requirements
Change-Id: I1cc5dd5b901c89f95665d523f0139f71e2551bec
2017-03-01 04:07:45 +00:00
OpenStack Proposal Bot
43b23ac9b5 Updated from global requirements
Change-Id: I216c039b838f0ccfb2a68ca37220d28c09e39074
2017-02-14 05:51:58 +00:00
OpenStack Proposal Bot
7ec1f25475 Updated from global requirements
Change-Id: Idbc5e55702451d9415df1f707545119087cbeef2
2017-01-26 12:51:11 +00:00
OpenStack Proposal Bot
185d4d043f Updated from global requirements
Change-Id: If2fdc0735e316f44bbc96961b57bb35dfa5c3722
2017-01-16 20:16:34 +00:00
OpenStack Proposal Bot
415fd6e342 Updated from global requirements
Change-Id: I64d006c65f1fbaba29988a048c3fa83ecc23c0f7
2017-01-11 00:17:32 +00:00
OpenStack Proposal Bot
73825b28b8 Updated from global requirements
Change-Id: Ic36141259ff15d7b765eafe6f81c7f93544b4a43
2016-12-02 05:05:48 +00:00
Luong Anh Tuan
ab41106cf6 Python 3 Compatible JSON
In order to be really python3 compatible, the json lib was replaced
with oslo.serialization(1.10 or newer) module jsontuils since it's
the recommended migration to python3 guide.

https://wiki.openstack.org/wiki/Python3#Serialization:_base64.2C_JSON.2C_etc.

Change-Id: I2d8b62e642aba4ccd1b70be7e9b3784a95a6743d
Closes-Bug: #1629068
2016-11-16 08:19:51 +00:00
OpenStack Proposal Bot
bcc98dfc08 Updated from global requirements
Change-Id: If7e009ac544f20959c54656f6dd8ec523675f5e5
2016-11-09 04:16:26 +00:00
OpenStack Proposal Bot
70f8c653ff Updated from global requirements
Change-Id: Ia4baa905f5a29babcf468746aa374bfc67f785a5
2016-11-06 01:59:31 +00:00
OpenStack Proposal Bot
2c751474e5 Updated from global requirements
Change-Id: I0e32235379e6557b5414bb4512799c735398b212
2016-11-04 14:08:31 +00:00
OpenStack Proposal Bot
88aab1915b Updated from global requirements
Change-Id: I1d7f5941e927372ce5185b41efa46ac8bd4b8492
2016-11-02 15:32:34 +00:00
OpenStack Proposal Bot
0ce1e341a1 Updated from global requirements
Change-Id: I2d523a2c81427a1c17280d5b00dfbde644d8121f
2016-10-21 00:43:14 +00:00
OpenStack Proposal Bot
772ff4e7e6 Updated from global requirements
Change-Id: Ic70856a9285d0956af9ace0286e3fe001d178bde
2016-10-11 22:18:26 +00:00
OpenStack Proposal Bot
629b599d8b Updated from global requirements
Change-Id: I51982b914de8fee7132117bc00cee5e868a11aea
2016-09-21 19:06:47 +00:00