In the case of fast_track, we do not power off agents
which allows for operators to perform a rapid transition,
such as those desired when performing a batch installation
of machines.
However, a security fix I1a5e3c2b34d45c06fb74e82d0f30735ce9041914
removed prior traces of an agent_url upon exiting cleaning.
So what was occuring:
- Agent was completing cleaning
- Conductor was removing 'agent_url' from driver internal info
- Agent was heartbeating, but no new agent_url was being recorded
because how do we know if that is actually the agent.
- Deployment was started.
- Deployment fails upon next heartbeat as there is no 'agent_url'.
This patch places a conditional around the removal of the agent_url
value at the end of cleaning which allows nodes to transition as
through fast track as desired.
Change-Id: I2b5130a0845b327c2244d2d30a19842c46e1eed3
Story: 2007080
Task: 37991
This switches the piece of code turns on multicast [1] to run with
python3.
[1] https://review.opendev.org/#/c/665221
Change-Id: I12d3764d087fa19aca5b285cbd63a19b1770bb41
We are about to drop pxe + ipxe_enabled=True combination for iPXE
testing, so let's make it explicit in the jobs.
Change-Id: I0e99e6336aa47857c06ba2f6869e66580159a9be
Story: 2007003
Task: 37779
9aab525d4546931f81bed665261278e7fc5bbeb4 added the docs
build requirement on sphinxcontrib-svg2pdfconverter which
needs the native rsvg-convert command. This change adds
the native package that provides that command to bindep.txt.
Change-Id: Ief712996e5880e149bbeecc93dc1be5b886653ac
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: Ib546f16965475c32b2f8caabd560e2c7d382ac5a
On verifying deployment on aarch64 bare metals, the linuxefi and
initrdefi are not available in grubaa64.efi, update doc to note
the potential change required on multi-architecture setup.
Change-Id: I92786eaed2c3bf6fb9f25672183bd9511e7a6e6e
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].
[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict
Change-Id: I142774a28ebb200c2e6212f41c5734d578c5abea
It was changed on the primary node, but not the subnode
of the standard mutlinode job, and not updated on our
grenade job.
Changes subnode and grenade configuration to use it.
Change-Id: I8f67e3e3423e72944d22d65b788af5792ee900f9
We simply do not need to run automated cleaning on most jobs
and it has been left enabled on a number of newer jobs.
Disabling it improves gate performance by reducing the overall
wait to start tests and cycle through test nodes as sometimes
spike in testing infrastucture utilization can create increased
latency which may cause cleaning to time out.
Change-Id: I2d0d33a5b62fed536785915b2a80d7af8b6f3e0d
Prevents a user from changing the owner of a provisioned node unless
they pass the new policy rule 'baremetal:node:update_owner_provisioned'.
In addition, always prevents a user from changing the owner of an
allocated node, if the allocation specifies an owner.
Story: 2006997
Task: 37766
Change-Id: I4e8559bd215f70fb895ed0d41b2154c648e03597