811 Commits

Author SHA1 Message Date
Jenkins
d970bf56da Merge "[doc]Add 'ipa-debug=1' to installation document" 2016-07-21 09:35:58 +00:00
Jenkins
17bf9f5b1f Merge "Add config to skip power off after introspection" 2016-07-21 09:35:53 +00:00
Jenkins
9812169c0b Merge "Remove redundant white space" 2016-07-21 09:32:02 +00:00
Jenkins
45d7c013e2 Merge "Tempest: wrap instance actions into inspector methods" 2016-07-21 09:30:13 +00:00
Zhenguo Niu
17e01aab46 Remove redundant white space
Change-Id: Ifdad27359118d86362708e0e47e69ae5920f0993
2016-07-20 23:54:09 +08:00
Anton Arefiev
316e5d86e4 Tempest: wrap instance actions into inspector methods
This commit I4fe31ecae3393abc2779a5e80e348899f9113f1b broke inspector
tempest tests, it changes boot_instance and terminate_instance
signature.

This change redefine action methods

Change-Id: If6a9b300bd22e7b62b7e53763cb0328ad30f11c7
2016-07-20 15:25:04 +03:00
Zhenguo Niu
7b29eaf4a2 Fix improperly placed firewall.update_filters when aborting
Currently, firewall.update_filters() is called before introspection
finished, which has no effect as it white-lists MAC addresses that
are under introspection.

Change-Id: I789e39a86dc72470b80167e53f1755b506ca6f44
Closes-Bug: #1548806
2016-07-20 11:07:34 +08:00
Zhenguo Niu
a97c8cb6a3 Add config to skip power off after introspection
This adds configuration option 'processing.power_off'
defaulting to True, which will prevent powering off the
node after introspection

Change-Id: I16eb6b73fd57e84175bbce81c79e432ed8d1d3fa
Closes-Bug: #1488534
2016-07-19 19:44:06 +08:00
Zhenguo Niu
4735ab87f3 Update example.conf
Change-Id: I9ca9bc0cb82e388987342a3a597c15524bab8808
2016-07-19 19:40:07 +08:00
Jenkins
ccfd2d8155 Merge "Updated from global requirements" 2016-07-18 14:42:01 +00:00
Zhenguo Niu
8b83d8b960 [doc]Add 'ipa-debug=1' to installation document
Change-Id: I76b5f744153ae43c5bc7de5254c302aefb59c737
2016-07-18 22:40:37 +08:00
Jenkins
5ea04f5002 Merge "[devstack]Remove unneeded enable_service in example.local.conf" 2016-07-18 08:49:13 +00:00
OpenStack Proposal Bot
fa71b4ec5c Updated from global requirements
Change-Id: I161da80586bb61a8a7e23d4dd8a28350e39d0afd
2016-07-17 23:53:30 +00:00
Jenkins
fb4faaad01 Merge "[devstack]Switch to pip_install_gr for inspector client" 2016-07-15 09:35:19 +00:00
Zhenguo Niu
dc3e7f0966 [devstack]Remove unneeded enable_service in example.local.conf
As we use enable_plugin for ironic, there's no need to enalbe ironic
related services again.

Change-Id: Iaf7e37b0a3c1d2c7883dddb44c31ee40f07e5b03
2016-07-15 17:06:24 +08:00
Jenkins
fcaed627cd Merge "Updated from global requirements" 2016-07-15 08:56:30 +00:00
Zhenguo Niu
5fcb4da558 [devstack]Switch to pip_install_gr for inspector client
Currently python-ironic-inspector-client is already in
global-requirements

Change-Id: I651ccbd22f57f0229f4137607ebf6b93fb96fdad
2016-07-15 15:23:41 +08:00
OpenStack Proposal Bot
8f4157c59c Updated from global requirements
Change-Id: I177abd230c0010ff6d51f612b47f59370f0c1cd4
2016-07-15 03:41:53 +00:00
Zhenguo Niu
53f9534ece [devstack]Only cleanup tftp directory if ipxe disabled
There's no need to cleanup ironic-inspector.* if ipxe enabled

Change-Id: I07f981773441914105e006ef2133ae4cc05b1df9
2016-07-15 11:40:26 +08:00
Jenkins
74a259ce3b Merge "remove unused LOG" 2016-07-11 08:05:40 +00:00
ji-xuepeng
cd08d79e01 remove unused LOG
This is to remove unused LOG to keep code clean.

Change-Id: If329acd9b7d1b9c0f1b7abc282f96d1543324003
2016-07-10 13:44:21 +08:00
OpenStack Proposal Bot
604cdd3a22 Updated from global requirements
Change-Id: I2d2c0cb4a04fdc5a4cbf776365c25921103fa49c
2016-07-09 19:20:55 +00:00
Jenkins
f6665df978 Merge "Skip test_init_failed_processing_hook test" 2016-07-08 12:48:35 +00:00
Alfredo Moralejo
54cfca7a6b Skip test_init_failed_processing_hook test
https://review.openstack.org/#/c/337043/ makes this test to fail,
but proper fix in https://review.openstack.org/339457 requires
release of stevedore > 1.15.0 not released yet.

This patch skips the test temporarily until new release is added
in global requirements.

Change-Id: Id23efad9c392fc70470d996e37d378efeaf65491
Partial-Bug: #1600141
2016-07-08 14:24:13 +02:00
Jenkins
83ff49ce6a Merge "Make Ironic variables visible inside exercise.sh" 2016-07-08 08:22:10 +00:00
Vasyl Saienko
39644db177 Make Ironic variables visible inside exercise.sh
This patch make Ironic environment variables like PRIVATE_NETWORK_NAME
visible during launching tests.

Change-Id: If936efe079fd3b88eaa56bc0d96b7ef6854d3e48
2016-07-07 12:30:33 +00:00
Dmitry Tantsur
ba0075e0ea [devstack] Do not hardcode coreos ramdisk when building from source
Change-Id: Ic0b9abd58a21ff60f486da2c4d1194406ad47813
2016-07-07 12:56:51 +02:00
Jenkins
9265a613c2 Merge "Allow customizing ramdisk logs file names and simplify the default" 2016-07-04 17:10:08 +00:00
Jenkins
8ddd7ab2af Merge "Create devstack/example.local.conf and include it in the docs" 2016-07-04 14:07:03 +00:00
Dmitry Tantsur
c98d3f479b Allow customizing ramdisk logs file names and simplify the default
The template for ramdisk logs file names can now be changed via
the configuration. The default now contains only node UUID and datetime.
Also a proper tar.gz extension is appended to avoid confusion.

Depends-On: Ie507e2e5c58cffa255bbfb2fa5ffb95cb98ed8c4
Change-Id: I738f9bd35705d0d11c95b0164186ed0b366b5252
2016-07-01 14:30:44 +02:00
Jenkins
1809443612 Merge "Introduce upgrade testing with Grenade" 2016-07-01 12:13:39 +00:00
dparalen
99c81d9c60 Introduce upgrade testing with Grenade
This change makes it possible to run Grenade jobs on ironic-inspector.
The only thing tested in this patch is that ironic-inspector actually
comes up after upgrade from a previous version. We will make it run
actual introspection tests in the next patch.

Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Change-Id: I79e7ecaa89936144b63a72baf8460ae6ad139890
2016-07-01 10:11:48 +02:00
OpenStack Proposal Bot
ca655b5660 Updated from global requirements
Change-Id: Iabe042b051fa9c2b1b2b4c77f97ce84af3676d40
2016-06-30 18:43:23 +00:00
Dmitry Tantsur
a8cb6bf838 Use run_process in the devstack plugin
Old commands we use give us problems with grenade.

Change-Id: I12ad693870ea013d7da9ffa5e772ddd6630e7895
2016-06-29 08:15:30 +02:00
Dmitry Tantsur
6e458b6332 Create devstack/example.local.conf and include it in the docs
It's convenient to have a downloadable example of local.conf.
This change extracts the example from the contributing documentation.

Also removes the noop variable.

Change-Id: I18a7f9969a9820fa8c736dede5f39c70f9c85b6a
2016-06-27 13:15:42 +02:00
OpenStack Proposal Bot
7cbdd5dc8a Updated from global requirements
Change-Id: Ie2a8b4c3bcc1cd0225d8a01ad57e93c6e7f88233
2016-06-24 03:12:01 +00:00
OpenStack Proposal Bot
0662054183 Updated from global requirements
Change-Id: Id0b89350c08c016b273bdb7f697f167a58337f91
2016-06-21 17:59:48 +00:00
dparalen
33dea6b381 devstack/plugin.sh: use screen_stop
A custom, direct screen call is being used to stop inspector
processes.  This breaks grenade testing for me as no screen is used in
that environment.

This patch suggests adopting screen_stop instead.  See also project
devstack/functions-common:screen_stop

Change-Id: I63d0c7400ecdff4333ffc31b6607d94f8cf20e18
2016-06-21 16:11:43 +02:00
OpenStack Proposal Bot
d3f96f2ad4 Updated from global requirements
Change-Id: Ib4fec709c5d53a2a0ce925ff2132ef24a48205e2
2016-06-17 14:15:05 +00:00
Anton Arefiev
fb6bcbec9c Fix tempest tests
Base TempestException was removed  from tempest, now exceptions based on
tempest.lib TempestException, inherited from restclient exceptions.
So inherit inspector tempest exceptions from last one.

Change-Id: I8058a964e837dbb4aa5a8b214f216453a18a1713
2016-06-17 09:30:13 +00:00
Jenkins
48c5fd89d1 Merge "Fix response code for rule creating API" 2016-06-17 04:12:03 +00:00
Jenkins
8550b8be4e Merge "Tempest: don't rely on tempest ironic client" 2016-06-14 10:27:43 +00:00
Anton Arefiev
0d9c0cdc30 Fix response code for rule creating API
This change introduces new return code (201 instead of 200) for
POST /v1/rules endpoint on success rule creation.

API less 1.6 continues returning 200.

Default API version was changed from minimum to maximum
which Inspector can support.

Change-Id: I911c7c241d16b9948ee4b6db92b127c7f8f374ae
2016-06-14 11:23:03 +03:00
Jenkins
ef9993b9e5 Merge "Update terribly outdated installation instructions" 2016-06-13 10:20:10 +00:00
Jenkins
be87bb11f8 Merge "Return HTTP 500 from /v1/continue on unexpected exceptions" 2016-06-13 10:20:04 +00:00
Anton Arefiev
d2eec5506b Tempest: don't rely on tempest ironic client
Ironic client will be removed from tempest in near
future, switch on ironic tempest plugin.

Change-Id: Ifd49503f0b69a67155c2576f9ae70a17f0e01058
2016-06-09 17:57:09 +03:00
Dmitry Tantsur
aa01aa7206 Update terribly outdated installation instructions
* Update configuration options to reflect switch to keystoneauth
* Add iPXE and UEFI configuration
* Mention puppet-ironic and bifrost
* Make ordering more logical now that we only have 1 ramdisk
* Various small fixes

Change-Id: I8c4a64b260db801622bd30d6c4f2c93b41580af0
Closes-Bug: #1416371
2016-06-08 18:07:04 +02:00
Anton Arefiev
21230baaaa Add config fixture to functional tests
Changing config options in one test effects other test,
this change adds config fixture to base functional class
to setup default config options.

Change-Id: I926cdbcf56e0300dbff401152e0f1018d43cc55a
2016-06-08 18:24:40 +03:00
Dmitry Tantsur
223ff38dcf Return HTTP 500 from /v1/continue on unexpected exceptions
Currently it returns HTTP 400 which is obviously wrong.

Closes-Bug: #1590302
Change-Id: I56114aa1c0a3248cc80f79d1a5da3ace6c615e52
2016-06-08 09:56:37 +02:00
Dmitry Tantsur
457c1277de Remove deprecated alias "root_device_hint" for "raid_device" hook
Deprecated in 3.1.0 (mid-Mitaka). Probably also completely unused.

Change-Id: Id1ea1e63e212a94dce61bd03c4217611cca3cd2e
2016-06-06 19:07:24 +02:00