In keystonemiddleware 2.0.0 the token cache keys are sha256 hashes of the
token key. For versions of keystonemiddleware < 2.0.0 this is not the
case, so this patch is changing the FakeMemcache class to support both.
Change-Id: I14f6a47437ca861d3135bedbfe2b3a54de211182
Closes-Bug: #1466405
This patch is adding the documentation for the Wake-On-Lan driver.
Implements: blueprint wol-power-driver
Change-Id: I9f6f7d7c5b800ccdfb0f89fa79eefce87f0cfded
There is a wrong command on the iLO Ironic driver tutorial page.
The command is in the "Registering Proliant node in Ironic" session
(http://docs.openstack.org/developer/ironic/drivers/ilo.html#id31),
it is used to create a Ironic node that should use the iLO driver,
so there are some parameters to be passed in the command.
The problem is the lack of the "-i" argument just before the
"ilo_address" and "deploy_ramdisk" parameters. The solution is to add
the "-i" argument just before the "ilo_address" and "deploy_ramdisk"
keys.
By following a tutorial, the reader often copy the commands and small
pieces of code that are provided by the tutorial itself, in doing so,
when the copied part has a problem the error just delaying and sometimes
difficult to understand the process causing a waste of time on debugging
the problems that should not exist.
This patch solves the problem by adding the "-i" argument on the command
in ilo.rst file.
Closes-Bug: #1465910
Change-Id: I6cd24b68deacbb9da022a4e34ae607b5c9c950a4
This commit addresses follow up comments on
I02211da5fad039dc7e6b509d547e473e9b57009b. The change is to add missing
unit-test case for set and reboot power operations.
Change-Id: Ic77c7c318888ffbda268610b71363a74e7f98d85
The UcsSdk-0.8.1.7 have issues installing with pip. This commit address
UcsSdk install issue with pip. New version of UcsSdk, 0.8.1.9 will be
used.
Change-Id: I0ed723d4294936eb6e87a45d0fdf41acb3dde6da
Closes-Bug: #1464777
deploy_utils.set_failed_state() shouldn't raise any exceptions because
it is used to handle a failed deployment, and we want the node's
last_error to be set.
Instead, in the very rare (if ever) case that the call to
task.process_event() fails, we'll log an exception and continue.
Change-Id: I8f02577de5a5bce34608882f61b5b26f5b998fad
Closes-Bug: #1461670
This commit adds a new boot interface in Ironic
which can be used by deploy drivers to set up
the node to boot.
Implements: blueprint new-boot-interface
Change-Id: I0fdc0636c51a1b7803899dd09870806f1c81697e
This patch sets the cisco_ucs.action_interval configuration option in the
tests to 0, so that we don't spend time sleeping when testing the driver.
Closes-Bug: #1465239
Change-Id: Ic5780d196ce58bc5f8628e6998f2b2554d4a869a
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fix this problem.
Change-Id: I650019ae86e223d5e9c2d4a5b51b92377f3c471e
The WSMAN API changed between 11g and 12g. The BootSourceType attribute
from the DCIM_BootSourceSetting resource is missing on 11g. With this
change, setting boot device will work on 11g/12g/13g hardware.
Change-Id: I1395b7542dfd433f3b7b99a05aa44e19b6fda897
Closes-Bug: #1413949
This patch implements a simple Wake-On-Lan power interface. For those
that does not have any fancy hardware just old PCs at home.
Wake-On-Lan is only capable of powering ON the machine, so it's
recommended to use the DIB ramdisk for testing the deployments with it
because it does a soft reboot on the machine at the end of the deployment.
After the machine is unprovisioned, you'll have to manually power it
off :-)
This patch also doesn't implement SecureON password feature for
Wake-On-Lan, I left a TODO in the code for those willing to implement it.
Implements: blueprint wol-power-driver
Change-Id: I6c0f98ef1cab1ebfb4a7e1d0aaae29672db1c5a4
For IPA we currently do a hard reboot at the end of the deployment,
but that doesn't always play nice with some systems specially when they
have to deal with UEFI. So this patch is changing the code in Ironic to
actually tell the ramdisk to power off itself instead of hard powering
off the machine from BMC. This will give the kernel the necessary
time to finish sync'ing up whatever it has to sync before rebooting
the node.
Depends-On: I2a5f984af26bbbe03002bb8c367c8c6af8d91434
Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>
Closes-Bug: #1451310
Change-Id: I831d8dc1d15c82a0caab94173c2b9f147017500f
It is unncessary to always validate boot option for uefi in
PXEDeploy, especially we already know boot_mode is bios.
Change-Id: Iae908f39125ceca64b03b8929b658e402beaef58
When debugging anything around cleaning, there are places where
different code paths can lead to the same log statements, making
it hard to know for sure what path the node took, specifically
around _notify_conductor_resume_clean().
Change-Id: I6b805ad6d757d8136525cf501eb890147430e1af
This commit adds a new vendor-passthru 'boot_into_iso'
in iscsi_ilo driver to attach and boot from an ISO
located in Glance or an HTTP(s) URL. This vendor passthru
can be invoked only when the node is in manage state or
in maintenance mode. This vendor-passthru can help in
debugging issues with bare metal node.
Partial-Bug: 1464168
Change-Id: I75c5363b1df13b12c8f025a4b45de02367229f8f
This commit adds pxe_ucs, agent_ucs driver changes.
Adds support for the following:
- Power driver changes
- Management interface changes
- UCS Helper code, which can be reused with other parts of the driver,
ex: to support vendor apis.
Change-Id: I02211da5fad039dc7e6b509d547e473e9b57009b
Implements: blueprint cisco-ucs-pxe-driver
The docs were saying to use:
tox -evenv -- echo 'done'
Which would create the virtualenv 'venv' but then error.
Update the docs to do:
tox -evenv --notest
Change-Id: Ibe1dfd8748535c75040a8d8ef6d33d0791d022d1
The DRAC driver code determined job completion by comparing the
returned JobStatus to "completed" and "failed". Testing with hardware
showed that JobStatus can also return "Completed with Errors".
This change updates the DRAC driver so that it recognizes a job with
"Completed with Errors" for the JobStatus as a completed job.
Change-Id: I051d6703194231712f0234f31b0b49208bf0e6ec
Closes-Bug: 1462513
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABCAAGBQJVQhJOAAoJEFB6+JAlsQQjuP0P/jWDgRYzY0Imy9RDlRSYX/s0
IvcrJuFLG7IUy70KnN4QWCBsNK88+xDdmijINy7fAmK5cibPfplcAtx7KeJ7BRee
4M8q12J3g2rOu3Yyvi+eQmMD0c4bH7zEa5tFhoi9BmnhnkkD1RVKTWbfMu+DS6FW
bUY8u/dnw4r1jTbnSDjx3bXIp36/QmvYWNWsmGeNGCXheJQt9SzqyE4BKNBoszm5
chJUSP+0WRIbCupXXXLvx/ztNT2drmOuAtp89KkNvlxdkYpj+tyNpNjpya9QQkn6
kZMV25Ps9sWGayUZS0qx27XL3LpWjmRUxGLz8a2xOq6e26y9Vty8V+3Viaxoz9xT
K6imvOmIZZYKqOWesrDVs4G2ZOa97AxNrCcR4fVm+nBfApxJHn9+PVMC1YSjtoBN
zUEqYKyZAxyjtH4qWCJPJzfYO7/vYIbkeoMd3QBE8pLJnS/SsEh0Na+j/m54lN+t
a7y2uFFGco9lnCxLHutRn/7klAkKkvyYVOisXVPz/v9kjkU2SlRtvZyDxnnGVsmK
gL6H7LprdpKDtI/6Yn9g8JoTArOAsNoHuYF8LbAOwz/eqPRPNNB7yNTVhKPtNxcW
FSuo6OhFRyvNCnqwjhwOZabkZZXT3qHDvN7xPQwRHAE9JSxF7zQRrd57FA6N62nB
Xyk4QdDBvgFBB5p1d4E8
=5FEQ
-----END PGP SIGNATURE-----
Merge tag '2015.1.0'
This is a null-merge of the 2015.1.0 release tag back into the master
branch so that the 2015.1.0 tag will appear in the git commit history of
the master branch. It contains no actual changes to the master branch,
regardless of how our code review system's UI represents it. Please
ask in #openstack-infra if you have any questions, and otherwise try
to merge this as quickly as possible to avoid later conflicts on the
master branch.
Change-Id: Ie7036b2fe48dde67d835e0701dbbbdc5cb05457b