3278 Commits

Author SHA1 Message Date
Jenkins
a0760043e5 Merge "Validate capability in properties and instance_info" 2015-06-18 16:07:12 +00:00
Jenkins
90e7139741 Merge "Add Wake-On-Lan driver documentation" 2015-06-18 15:28:22 +00:00
Lucas Alvares Gomes
13bcebcaf3 Fix broken ACL tests
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
2015-06-18 12:57:40 +01:00
Jenkins
47c17edc71 Merge "Fix Cisco UCS slow tests" 2015-06-17 17:43:52 +00:00
Lucas Alvares Gomes
5da2861d8d Add Wake-On-Lan driver documentation
This patch is adding the documentation for the Wake-On-Lan driver.

Implements: blueprint wol-power-driver
Change-Id: I9f6f7d7c5b800ccdfb0f89fa79eefce87f0cfded
2015-06-17 15:38:15 +01:00
Jenkins
5c46507db5 Merge "Fixes a bug on the iLO driver tutorial" 2015-06-17 13:29:39 +00:00
Sinval Vieira
2b3d37ae3b Fixes a bug on the iLO driver tutorial
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
2015-06-17 11:31:51 +00:00
saripurigopi
ccf9d91f0e Address follow-up comments on ucs drivers
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
2015-06-17 13:00:11 +05:30
Jenkins
78737b5e28 Merge "Don't raise exception from set_failed_state()" 2015-06-16 09:19:38 +00:00
saripurigopi
94ed813202 Addresses UcsSdk install issue
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
2015-06-16 12:27:37 +05:30
Jenkins
79cce6bd32 Merge "Add boot interface in Ironic" 2015-06-16 01:17:13 +00:00
Ruby Loo
d13ec0b392 Don't raise exception from set_failed_state()
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
2015-06-15 20:17:11 +00:00
Jenkins
f7ada6181c Merge "Remove tools/flakes.py" 2015-06-15 11:43:43 +00:00
Ramakrishnan G
4623a558bc Add boot interface in Ironic
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
2015-06-15 04:20:30 -07:00
Lucas Alvares Gomes
d287e3d414 Fix Cisco UCS slow tests
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
2015-06-15 11:51:24 +01:00
Jenkins
999ab80b83 Merge "Pass environment variables of proxy to tox" 2015-06-15 10:26:57 +00:00
Shivanand Tendulker
4103c0ffbb Validate capability in properties and instance_info
Validate the value of a capability in node/properties and
node/instance_info

Closes-Bug: 1441114

Change-Id: Ibc8acdc1fded2478f558a427fd76fc46fc06b92e
2015-06-15 03:13:21 -07:00
Jenkins
7a504c700c Merge "DRAC: fix set/get boot device for 11g" 2015-06-15 09:11:07 +00:00
Jenkins
8544576397 Merge "IPA: Do a soft power off at the end of deployment" 2015-06-15 05:57:34 +00:00
Yuiko Takada
c924c3f1a4 Pass environment variables of proxy to tox
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
2015-06-15 10:00:23 +09:00
Imre Farkas
7dae70b2c6 DRAC: fix set/get boot device for 11g
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
2015-06-13 17:37:48 +02:00
Jenkins
6e714ffb6c Merge "Wake-On-Lan Power interface" 2015-06-12 16:54:25 +00:00
Jenkins
39c7e61082 Merge "Add vendor-passthru to attach and boot an ISO" 2015-06-12 12:35:07 +00:00
Vladyslav Drok
dfc44ca6a9 Remove tools/flakes.py
Remove it as it is not needed.

Change-Id: Ib9308b880193aafb618120b9782d4863635d9fc3
2015-06-12 15:20:45 +03:00
Lucas Alvares Gomes
c92fac1e5a Wake-On-Lan Power interface
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
2015-06-12 10:01:25 +01:00
Jenkins
7916ff927a Merge "Remove unnecessary validation in PXE" 2015-06-12 08:18:09 +00:00
Ramakrishnan G
7adbf0622c IPA: Do a soft power off at the end of deployment
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
2015-06-12 07:58:34 +00:00
Lin Tan
ba542223fb Remove unnecessary validation in PXE
It is unncessary to always validate boot option for uefi in
PXEDeploy, especially we already know boot_mode is bios.

Change-Id: Iae908f39125ceca64b03b8929b658e402beaef58
2015-06-12 14:35:59 +08:00
Jenkins
2af94dd279 Merge "Add additional logging around cleaning" 2015-06-12 04:53:43 +00:00
Josh Gachnang
1404996874 Add additional logging around cleaning
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
2015-06-11 11:52:59 -07:00
Devananda van der Veen
a6bec4f451 remove unneeded sqlalchemy-migrate requirement
Change-Id: Ia5c66a1645e8e3da54345e62970b6fb3e4233440
2015-06-11 08:45:07 -07:00
Jenkins
c31a8a66fe Merge "Sync with latest oslo-incubator" 2015-06-11 10:15:44 +00:00
Ramakrishnan G
f66d9d37c0 Add vendor-passthru to attach and boot an ISO
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
2015-06-11 08:39:13 +00:00
Jenkins
3bb4cbf95b Merge "Install guide reflects changes on master branch" 2015-06-11 08:35:58 +00:00
Jenkins
77b4e79c58 Merge "Updated from global requirements" 2015-06-11 08:35:42 +00:00
Jenkins
95401e14d8 Merge "Add pxe_ucs and agent_ucs drivers to manage Cisco UCS servers" 2015-06-11 02:17:01 +00:00
OpenStack Proposal Bot
b1f76e25ac Updated from global requirements
Change-Id: I195f9142110540efa0951b5914e41de92804dc04
2015-06-11 00:42:27 +00:00
Jenkins
27897005dc Merge "Remove auth token saving from iLO driver" 2015-06-10 18:43:36 +00:00
Jenkins
77ca428615 Merge "Doc: Use --notest for creating venv" 2015-06-10 18:42:21 +00:00
Davanum Srinivas
133c83180d Sync with latest oslo-incubator
Periodic sync with latest oslo-incubator code

Change-Id: Ia18335278da4c25240e537d53687658fe4fbaa6a
2015-06-10 11:31:17 -04:00
saripurigopi
8c26a8c33b Add pxe_ucs and agent_ucs drivers to manage Cisco UCS servers
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
2015-06-10 19:16:04 +05:30
Jenkins
6ebcd05e03 Merge "Fix DRAC driver job completion detection" 2015-06-10 04:14:43 +00:00
Jenkins
1ba574b40c Merge "Updated from global requirements" 2015-06-10 04:14:39 +00:00
Jenkins
7158ed2972 Merge "Add additional required RPMs to dev instructions" 2015-06-10 04:14:35 +00:00
John L. Villalovos
286f72e359 Doc: Use --notest for creating venv
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
2015-06-09 17:20:32 -07:00
Jenkins
f6216dfac8 Merge "Merge tag '2015.1.0'" 2015-06-09 23:06:43 +00:00
Jenkins
070cc9ecbf Merge "Merge tag '2014.2'" 2015-06-09 20:17:17 +00:00
OpenStack Proposal Bot
08a8eae722 Updated from global requirements
Change-Id: Idd0917d237b0977fe4c4dce01c82dfe4178a40eb
2015-06-09 19:58:33 +00:00
Chris Dearborn
5704227cf0 Fix DRAC driver job completion detection
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
2015-06-09 14:19:26 -04:00
Jeremy Stanley
9e7af5dbdc Ironic 2015.1.0
-----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
2015-06-09 17:18:43 +00:00