Commit Graph

6 Commits

Author SHA1 Message Date
Sergiy Markin d00eaf0303 Drydock focal related upgrades
This PS implements the following changes:
- switches freeze approach to requirements-direct.txt and
  requirements-frozen.txt files
- adjusts code tabulation style according to  yapf recommendations
- replaces deprecated usage of responce.body attribute with
  responce.text
- fixes integration tests in controlled by Makefile + tox
- uplifts Helm to v3.9.4

Change-Id: I751db72eb8f670825382f11a36657112faeb169a
2023-04-26 22:32:49 +00:00
BARTRA, RICK fdb6dcaca6 Add CIDR validation for MAAS
MAAS only accepts CIDR IPs that do not have host bits set otherwise
MAAS sees the CIDR as a second network. This commit adds a Drydock
validation that checks if the CIDR has host bits and also suggests
which CIDR to use if the provided one is not acceptable to MAAS.

Change-Id: Ib6d4d8277d0e1634524426a08e138e39fb37f14b
2019-04-16 21:34:10 +00:00
Dimitrios Markou 4a4e6cc6ef Validate mountpoint in a HostProfile
This patch fixes the issue that a reverted patch was causing [0].
In this patch we add a check for partitions which are not having
mountpoints and propably was causing the problem in airship-seaworthy.

[0] https://review.openstack.org/#/c/610594/

Story: #2002951

Change-Id: Ic3055ebdcf37461f52391cf564c29f8283637684
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-10-17 17:14:51 +03:00
Scott Hussey e6ab0743a4 Revert "Validate mountpoints in a HostProfile"
This reverts commit 1466835626.

Change-Id: I9d9df1c5b8c9d905836d3d3c111e507f71bef0ce
2018-10-15 14:48:10 +00:00
Dimitrios Markou 1466835626 Validate mountpoints in a HostProfile
Prevent the partitions and logical volumes to
use the same mount point on the same baremetal
node

Story: #2002951

Change-Id: Ie936b5b20859d511e4cb858202c4ed50378bb72d
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-10-11 13:54:36 +00:00
Scott Hussey 0f39a55942 Refactor build to include Go
Adding the baclient code to Drydock requires a refactor
of the build automation to support multiple languages
and multiple artifacts included in a single Docker image

NOTE: the go source here is a placeholder 'hello world' sample

Change-Id: I1b4883f018b33b3d4fcd7cbcb6cba660fcdc93de
2018-09-04 13:13:21 -05:00