1220 Commits

Author SHA1 Message Date
dparalen
7b27585463 Refactoring the firewall
Adopting the PXE filter interface/driver concept

Related-Bug: 1665666
Change-Id: If83db978080b9c4e5d51ba50bbe8ed26e29abe83
2017-10-19 16:38:15 +02:00
Jenkins
4cecee4bbb Merge "Properly init config in unit tests" 2017-10-06 13:07:00 +00:00
Jenkins
93b4dc9c95 Merge "Remove SCREEN_LOGDIR from devstack" 2017-10-06 12:41:39 +00:00
Jenkins
360af27792 Merge "Make starting state non-reentrant" 2017-10-06 12:41:33 +00:00
Pavlo Shchelokovskyy
a65a2ee5d2 Properly init config in unit tests
upcoming policy-related changes need a properly initialized
global oslo_config's CONF instance, which inspector's unit tests
currently lack.

As a side effect of implementing this, the 'dbsync' module was
changed to not register it's CLI options right on its import.

Also, setting default log levels was moved to a function which
is already registered as the one providing defaults to options
in oslo_config's entrypoints. Config sample is updated accordingly.

Change-Id: I20bc537605062900d00fcc0343172774c1cd1363
2017-10-06 08:23:06 +00:00
Vu Cong Tuan
02f38aa16f Remove SCREEN_LOGDIR from devstack
SCREEN_LOGDIR has already been deprecated [1]
[1] https://review.openstack.org/#/c/499186

Change-Id: I7b87a52b8d573d384e8c30b5122122609d60a1fc
2017-10-06 08:38:15 +07:00
OpenStack Proposal Bot
bc87e6edb3 Updated from global requirements
Change-Id: I0e8d57b36ab2b5bb8ceddb3f8ce65c13a3b4bfaf
2017-10-05 18:51:25 +00:00
dparalen
35f2d8c68f Make starting state non-reentrant
To avoid multiple racing calls to start node introspection.
A node is anyways locked by ironic during the reboot request.

Change-Id: I62b94932b06ce48450200ba353dd02b0d12a113f
Closes-Bug: #1721512
2017-10-05 13:06:55 +02:00
Pavlo Shchelokovskyy
7625ed68c8 Use ostestr unit test runner
This patch moves ironic-inspector to use 'stestr' test runner
via 'ostestr' wrapper.

Effective changes:

- unit tests are now being run in parallel by default
- 'py*' jobs are not running code coverage measurements,
  which is left for 'cover' job only
- 'cover' job now also produces html reports consumable by upstream CI,
  and fails under 90% of code coverage
- users can leverage all the ostestr/stestr features

Change-Id: I75f539457dbb1d811fdee69de52d1bcee4c6ebe6
Depends-On: Ica838db23b5714c2da1e4313e1a7ece0ca241d44
Closes-Bug: #1666232
2017-10-02 14:28:58 +00:00
Jenkins
37b556ab7a Merge "Replace the usage of 'admin_manager' with 'os_admin'" 2017-09-26 08:57:07 +00:00
Luong Anh Tuan
7571be01d1 Replace the usage of 'admin_manager' with 'os_admin'
In tempest, alias 'admin_manager' has been moved to 'os_admin'in
version Pike, and it will be removed in version Queens[1].

[1]I5f7164f7a7ec5d4380ca22885000caa0183a0bf7

Change-Id: Ic29cb510a558ceee832fbfae7853106decffbb41
Closes-bug: 1697588
2017-09-25 15:00:48 +07:00
OpenStack Proposal Bot
30affed5b3 Updated from global requirements
Change-Id: Idf4b9a368049686b72db3a330989bb36e0f0e591
2017-09-24 12:18:49 +00:00
OpenStack Proposal Bot
adffb3b124 Updated from global requirements
Change-Id: Ic500838a7cbdeeb5076e76a7176d4e2751664ede
2017-09-16 23:13:00 +00:00
OpenStack Proposal Bot
360b194fcf Updated from global requirements
Change-Id: I3aa3d3a94394575fdc75370e26f33181504023c8
2017-09-13 12:51:21 +00:00
OpenStack Proposal Bot
776e3455f7 Updated from global requirements
Change-Id: I33b3a93aa9c8f1b7e191ec050046788267f51980
2017-09-11 21:37:34 +00:00
Jenkins
a530a02e1e Merge "Do not rely on the older ipmi_address field on lookup" 2017-09-08 10:04:18 +00:00
Jenkins
65485e392a Merge "Allow periodics to terminate inspector" 2017-09-05 11:49:53 +00:00
Dmitry Tantsur
a1d19d97b5 Do not rely on the older ipmi_address field on lookup
We need to always use bmc_address from inventory, the ipmi_address field is
there only for compatibility with older processing hooks.

Change-Id: Ibf00ecd9278af4ee9318ada44c7c670d13ac22aa
Closes-Bug: #1714944
2017-09-04 14:43:13 +02:00
OpenStack Proposal Bot
9054402d81 Updated from global requirements
Change-Id: I5f50be7874113a538cdd89e052f5506d33369bfb
2017-09-02 22:19:19 +00:00
Bob Fournier
25929f3d04 Change example dnsmasq.conf in install doc for uefi
As described in https://bugs.launchpad.net/puppet-ironic/+bug/1714320,
a loop can occur in which dnsmasq always indicates ipxe.efi as the
bootfile if the client request has both UEFI and iPXE options set.
This fixes the documentation for the example dnsmasq.conf so that
loop won't occur.

In addition, some UEFI clients use architecture type 9 so that is
added to the example dnsmasq.conf.

Related-Bug: 1714320
Change-Id: Icdefba2b1be47622c9bd9c3bfb9b3413964c9dac
2017-09-01 10:36:42 -04:00
dparalen
581c40c769 Allow periodics to terminate inspector
This patch allows a periodic task to shut down the inspector upon a
(critical) failure.  This is needed in case of a (future) PXE filter driver
malfunction to avoid inspector running with a broken filter.

The test_wsgi_service unit test module was refactored to address test
ordering dependency issues and to enhance the mocking.

Change-Id: I50e6408bf30416d8c7ff9e30be0e938cec12b7cd
Related-Bug: 1665666
2017-09-01 15:33:24 +02:00
shangxiaobj
b1c0656041 i[Trivialfix]Fix typos in ironic-inspector
Fix the typos in ironic-inspector.

Change-Id: I20eabb78b6529b414e0b928eaa7ffe33221145f3
2017-08-31 19:04:53 -07:00
OpenStack Proposal Bot
94ac8738db Updated from global requirements
Change-Id: If457b98ddca90f30c2eafc937c6f9dd27f0d0467
2017-08-24 05:50:16 +00:00
Jenkins
f5b4729e51 Merge "Release notes: specify pike versions" 2017-08-21 14:50:39 +00:00
Jenkins
22e5d0c846 Merge "Updated from global requirements" 2017-08-21 09:57:22 +00:00
Anton Arefiev
98019af4a0 Release notes: specify pike versions
Pike is released, add version range.

Change-Id: Ie0a03c8fbf00bdb4e3919eb0297d8b7e3cca8f01
2017-08-21 10:54:08 +03:00
OpenStack Proposal Bot
bc72a69758 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I878963255c35cd4035a467881740803814feaf64
2017-08-20 06:26:50 +00:00
Jenkins
ea34bae4ff Merge "Remove ensure_logs_exist check during upgrade" 2017-08-19 08:11:31 +00:00
OpenStack Proposal Bot
0ed098a36a Updated from global requirements
Change-Id: I8344e48c29504ec2bfea64c3a2084647fcfda20b
2017-08-18 11:30:59 +00:00
Dmitry Tantsur
208b66dadf Remove ensure_logs_exist check during upgrade
We now run services under systemd, and this check is not necessary in
this case. Follow-up to commit ee538d1e7c1a92cb8412713e03cdfbcdacad7fab
to grenade.

Change-Id: I6371b7a244c1aebfba5cb46a595a7bf43a4ee454
Depends-On: I0d6d3e9e60785bb9b6a10c8c7a07867a5b2a5e6e
2017-08-18 11:28:46 +00:00
021b4273cc Update reno for stable/pike
Change-Id: I01566c352b66344beb4a27a54f032f29890407b3
2017-08-17 13:58:47 +00:00
Jenkins
0d28939315 Merge "PXE filter options have no effect yet" 2017-08-15 18:13:02 +00:00
dparalen
552b3ef946 PXE filter options have no effect yet
Updating the CONTRIBUTING.rst, config.py and example.conf to inform the
Operator (and Developer) that the PXE filter options have no effect yet.

Change-Id: I032114934e300af1e1908369552f1b06c939002f
2017-08-15 16:02:43 +02:00
dparalen
7d4488b9d2 Syncing example.conf
Just noticed example.conf is out of sync

Change-Id: Ic9a8d0b75731bb99140d83678fe851faff7f2e78
2017-08-15 15:24:07 +02:00
Jenkins
519112c737 Merge "Clean up current release notes" 2017-08-15 10:58:31 +00:00
Anton Arefiev
52c5c0c1ec Clean up current release notes
Merge `timeout fails on active states` release notes, fix formatting,
adds more links.

Change-Id: I9acedc560def2700fc38554481bd47ef72e58475
2017-08-15 10:17:47 +03:00
Jenkins
99e59eeaf6 Merge "Update the documentation link for doc migration" 2017-08-10 19:04:57 +00:00
Jenkins
e4b14f1a76 Merge "Treat 0.0.0.0 and '' as missing BMC address" 2017-08-10 16:51:42 +00:00
Jenkins
1f8977bdd3 Merge "Clean up deprecated config options" 2017-08-10 10:08:55 +00:00
Dmitry Tantsur
2a4c9d800f Treat 0.0.0.0 and '' as missing BMC address
It became apparent in https://review.openstack.org/#/c/480679/ that these are
correct values for ipmitool to return.

Change-Id: Ied18a81dc899d8fc5290a2756f412e5075e923c4
2017-08-10 10:33:58 +02:00
Ilya Etingof
28da7b6745 Configuration documentation migrated
Documentation layout aligned with the OS standards.

The configuration page refactored, configuration options
documentation automatically generated by
oslo_config.sphinxext.

Closes-Bug: #1706175
Change-Id: I544d92d64833c0887b14509063334c39a0c428f1
2017-08-09 14:36:51 +02:00
Anton Arefiev
8fd9f73a9c Clean up deprecated config options
Remove deprecated in ocata options: `introspection_delay_drivers`
and `log_bmc_address`.

Change-Id: I52a7c48609af558cd641d544910be8bce13968a5
2017-08-09 11:38:29 +03:00
chenxing
c28dd315bf Update the documentation link for doc migration
Change-Id: Ie3d175b4d910f49f8a54812926131448ff1ab4d5
2017-08-03 14:29:06 +00:00
OpenStack Proposal Bot
b4391dec09 Updated from global requirements
Change-Id: If5f45c8838ec5b3b8c511a4c2be6c435ccc0c1fa
2017-07-29 21:44:37 +00:00
Jenkins
75199063e9 Merge "PGSQL: create Enum before using" 2017-07-29 21:40:20 +00:00
leesea
112ab521ae Add selinux check in Troubleshooting PXE boot document
If node receiving DHCP address and failing to get kernel and/or
ramdisk, it maybe the selinux is enforcing.

We can let TFTP packet through selinux by setting:

setsebool -P tftp_home_dir 1

Change-Id: I574f8fdf819ea65dd9177c5ce9a78825ea4feec1
2017-07-26 08:32:00 +08:00
Jenkins
1401439a6f Merge "Update URL home-page in documents according to document migration" 2017-07-25 18:34:54 +00:00
Jenkins
72fe817a25 Merge "Docs migration conclusion" 2017-07-25 16:02:18 +00:00
Jenkins
2ba104cc54 Merge "Introducing the user content" 2017-07-25 16:02:11 +00:00
Jenkins
57c2f7d6e5 Merge "Introducing the installation content" 2017-07-25 15:52:49 +00:00