| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Perform minimal checks on po and pot files so that no broken files can
get imported.
Change-Id: I328fc11c688c16737ae88984e4778483ce5db5ab
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Related-Bug: #1298645
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Git has been updating the localization (.po) files, and as a result, the
'tx pull -a' command, run by jenkins in the periodic translation jobs,
has been failing to pull new strings from transifex.
This patch is a manual pull from transifex to update all the strings
for inclusion in Icehouse RC1.
A longer-term fix has been proposed to -infra here:
https://review.openstack.org/#/c/84191/
Change-Id: I9fba04d2369b36fe4902e388774506cd8e6ea377
Closes-bug: #1298645
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ironic_host_manager.IronicNodeState was not setting either
self.total_usable_disk_gb or self.updated.
Change-Id: I0d055dba584cf16043f80e96a16c30e42aaf6bb0
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After a244d1bc7b the Nova Ironic Driver will add the pxe_swap_mb parameter
using the value in the flavor (which defaults to 0 if not specified). In
the Ironic code we had something like get('pxe_swap_mb', 1) to prevent
the swap size for being 0, but that get() won't work anymore because the
pxe_swap_mb is set. So this patch is taking another approach to force
the the pxe_swap_mb parameter to be > 0.
Related-Bug: #1297937
Change-Id: Ie124f58681fc184950918cde1bc8c565c1387fc8
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add exact match ram, disk, core filters which will match exact values
of requested metrics, this is required for Baremetal/Ironic instance
filtering.
Unit tests have been proposed to nova at
https://review.openstack.org/#/c/83728
Change-Id: I20faa1c17f4121429bbbea80e59b168095909b48
Closes-Bug: #1291396
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The ironic-propose-translation-update job has been failing to update
from transifex because our .po files contain duplicates of obsolete
entries which were causing errors.
Change-Id: I41a056cbe10096c07e7682d8d79ff8f8c58ad3e2
Related-bug: #1298645
|
|/ /
| |
| |
| |
| |
| |
| | |
This patch adds a note to the virsh commands section about
how changes will impact CI testing.
Change-Id: I2e7ac23a69a19ef718458ec9c4974b6e79e6a4bf
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The BM_* variables are no longer used by Devstack for Ironic
deployment and the new defaults should work fine. Removes
references to the old settings.
Change-Id: Ia19dccaf389273c5a224b804eb270c08d31a1811
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Ieacb32654feb0350b1c417fb362a8445ef3bacc9
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The base class definition of vendor_passthru.validate() was changed
in 48a4223f so that it also required a 'task' parameter, but
the seamicro.vendor_passthru driver had not landed yet. Between that
change and the time the seamicro driver was landed, another change
caused us to stop running unit tests on third-party drivers.
So, we didn't notice that the seamicro.vendor_passthru.validate() method
definition was incompatibly broken.
Closes-bug: #1298648
Change-Id: I9eab4c1d1be0546a0cdbf40759e88bb22f5015d2
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In order to allow flexible patterns for public API specification
and to speed up the process of checking whether some request is
performed against the public API, it's reasonable to interpret the
list of public endpoints as regular expressions.
This patch changes the logic of checking whether a request requires
authorisation from searching the endpoint in the set to checking the
endpoint against a list of regular expressions.
Closes-bug: #1251880
Change-Id: I638ca0e20fa7e44fbeeae0d1e4c2f4188fb597a5
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I83b5035c6919ced43cb4b39ae233976a3a06fa76
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not match exception by __name__ When an API request throws an
unexpected exception. Avoids nova-compute AttributeError traceback
and provides better debug info on the nova side.
Change-Id: I2886df814e8641717c57f77626f92917d1ff744c
Closes-bug: #1297549
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch fix the Nova Ironic driver to make it look at the swap field
in the flavor and map it to Ironic as driver_info/pxe_swap_mb.
Change-Id: Ic6091fd6b6c8e1a32a33969ce5cdd20f6c243167
Closes-Bug: #1297937
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the new oslosphinx version of the OpenStack doc theme instead of
maintaining a copy of it in the Ironic repository.
Change-Id: I1d949d1e2734b10e38dea0067db9f3cfd7109c11
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Based on comments
https://review.openstack.org/#/c/77939/9/ironic/common/neutron.py
Change-Id: I965eb94d4c76d7024620792bcd926bce20476d1c
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
__builtin__ does not exist in Python 3, use
six.moves.builtins instead.
Change-Id: I79b61b5ab67f491ce88015f799ff7d66c9eeb7ee
closes-bug: #1290234
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ironic is internally clustered and that causes some friction
with Nova which assumes that each n-cpu instance is the only
one responsible for any given VM. While this is going to be
addressed in the long term, at the moment we need to make
it possible to run in an HA setup for Ironic.
The short term solution proposed is to run 2+ nova-compute's
each of which reports the same hostname (e.g. ironic). This
works but has some caveats - one of which is that _init_instance
will now race between different nova-compute instances starting
up at the same time. A custom ComputeManager permits us to address
that without prejuidice to future long term solutions.
Relatedly, TripleO needs Ironic to permit service startup before
keystone is initialised, which the removal of API calls during
init_host permits - and as there are no API calls needed for
correct behaviour of the Ironic driver, this is straight forward :).
See https://etherpad.openstack.org/p/ironic-nova-friction for
more discussion.
Change-Id: I68d46c4da8715df03c3a88393b55665dc57045a3
Closes-Bug: #1295503
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In ironic.common.service, Ironic was running the periodic task loop
every periodic_interval (60s by default) seconds. This means that any
periodic task configured with an interval shorter than periodic_interval
was only getting run every periodic_interval seconds.
I reconfigured periodic tasks to run in a dynamic loop, where
now the periodic task loop will run every min(periodic_interval,
next_run) seconds.
Change-Id: I17a270ecbb5fd53149a89816f4be1c9a0c27b541
Closes-Bug: 1295874
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This change speeds up ironic tests by 60% by:
* Mocking eventlet.greenthread.sleep in a handful of tests
* Changing a time.sleep(2) to time.sleep(0.2) in a test where
time.sleep is used intentionally for testing
Change-Id: I0cd2ae06549844ec3b76e7c91e1f49665ebc9717
|
|\ \ \ \ \ \ |
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
WSME does exceptions logging in wsmeext.pecan via format_exception()
function. Logging exceptions in Ironic controllers code causes
duplicate messages in log.
Change-Id: Ie5a9856508127557714166d838f0e762e37a611d
|
|\ \ \ \ \ \ |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Ironic runs IPMI 'power status' in a loop until the desired state is
reached. Running repeated IPMI commands in a tight loop (1 second sleep)
seems to occasionally cause 'insufficient resources' errors with some
hardware types.
In this commit we update the IPMI retry timer to use a
DynamicLoopingCall which can wait longer for each retry of the power
status command. We increase the wait time exponentially
between each call, until the total time would exceed the max retry time
on the next iteration.
This patch also removes the spurious initial 'power status' call which
preceeded the 'power on' or 'power off' call without any gap. Since
Ironic has a periodic task to sync the power state, it is safe to assume
that the hardware's current power state is already known and does not
need to be verified inside the set_power_state method.
As part of this change we also increase the default IPMI retry_timeout
config to 60 seconds.
Co-authored-by: Dan Prince <dprince@redhat.com>
Change-Id: Ie0e29239592bb64c7a10ecedae299df2c5053359
Closes-bug: #1291991
|
|\ \ \ \ \ \ |
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Change-Id: If69eb05fc679aa1466bd185d5308338e6673415c
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
SeaMicro driver is now using the generic MixinVendorInterface
for the VendorPassthru driver interface
Change-Id: Iae8288d10fb9454a513a12b0c28add8b7504efd6
|
|\ \ \ \ \ \ \ |
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit fixes the issue that pecan root controller
is dependent on files in v1 directory.
Change-Id: Id26db27b61094356ee02dbc7c5baa7e551a3cc5c
Partial-Bug: #1255954
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* sync_power_state periodic task tries to set node's actual power state.
In case of failure to sync power state, Ironic will keep trying to
sync power state, Hence introduce a max retry per node
sync power state limit
* Set Node's DB power state as the actual Node power state if max retries
exceeded
* Set the Node's last_error msg after max retries exceed and set the
node in maintainence mode
Change-Id: Idbd3afab746f81b9097e97afb1d12a81686a4564
Closes-Bug: #1285806
|
|\ \ \ \ \ \ \ \ |
|