These were copied from ceilometer where they are used for things like
the glance pollster. Ironic doesn't need these.
Change-Id: I93f2a2f3a5a93e9c1ef53514eece7f7ce8c5bffa
The 'flags' thing harks back to when we were using gflags, so rename the
method to config() like most other projects call it. I really should
change this in Nova someday too.
Change-Id: I07bcb6392b47cb78a2b58a5a1d663d544e7a5b63
Tests in oslo-incubator now need the horrendous hack to workaround an
issue with eventlet on RHEL6. We've moved the patch_tox_venv tool
and redhat-eventlet.patch into oslo-incubator, so add them to
openstack-common.conf.
Change-Id: I1acfec282b64d7582144b155119bedb1741db2f7
Syncs this change:
4ff33b0 Specify database group instead of DEFAULT
Note: support for legacy configuration is retained.
Change-Id: I42014bb85995b2fd0056ca9b3b55c4fe746168fa
Also turn on doc API autoindexing.
This depends on https://review.openstack.org/30520 landing in pbr and a
new point release being cut, as it uncovered a bug.
Change-Id: I8f4ffc4f7c54c7b207d6d52e74ccab020596e602
Update the IPMI driver so that Ironic's resource manager can maintain a
single instance of it, and pass (task, node) to IPMI methods. This
brings the IPMI class in line with the base ControlDriver class
definition.
Add a missing exception to common/exceptions.py.
IPMI driver methods presently support being called for a single node at
a time. Support for multiple nodes passed down by the TaskManager is
not part of this patch.
Remove terminal support. To be added back later.
Change-Id: Ibb9fc84f7b46d848b0c1ac761a3be952c99f7509
Implement context and lock management around the manipulation of Nodes
via TaskManager and ResourceManager classes. Usage guidelines are added
as docstrings, with a single example in the ManagerService.
Part of bp:ironic-manager
Change-Id: I679ae94ed9ef1c814bc26529cd6360d02292ad40
Update the reserve_nodes and release_nodes DB methods to accept an
arbitrary "tag", instead of accessing the global CONF.host setting.
Add unit tests to validate behaviour of both single- and multiple-node
reservations.
Change-Id: Idf5fce13a6aee3dd9c234bf7f18f17d8811383af
Implement these two methods based on a host, rather than based on
an instance_uuid.
Also adds some doc strings to db/api.
Part of bp:ironic-manager
Change-Id: I41ddcec90f4dc2b22712cdb069a3d4626fb7c19d
Change the 'nodes' table to be more generic, allowing
drivers to be more flexible in the informatin they track.
Also adds a minimalistic 'chassis' table, and a FK pointing
from 'nodes' to 'chassis'.
Part of bp:ironic-manager
Change-Id: I0022841f31fdb3aa40883a0403a8427bd9a09a00
Also, add (task, node) to the base and fake driver method parameters.
Prepares the way for adding TaskManagers in a following patch.
Change-Id: I846227b2416445a539f9ac51d86b33ea49d4abcb
Remove the "host" option from the netconf.py because it's conflicting
with the "host" option specified in the common/service.py.
Change-Id: Id3cb558626c6f4206143648e313586b1ff9de1e9
Sync a bunch of changes from oslo-incubator that are either obviously
safe, add new code that ironic doesn't use or modifies existing code
that ironic doesn't use.
The commits are:
fe2f108 Enable hacking H702 localization test
0a14e1d Enable hacking H703: Multiple positional placeholders
a4a6789 Pass backdoor_port to services being launched
d5e57e9 Add DynamicLoopCall timers to ThreadGroups
926b3e9 Fixes import order nits
a514693 Removes len() on empty sequence evaluation
ab6b2d4 Line wrapper becomes to long when expanded.
b873454 Added convenience APIs for lockutils
562cc68 Stylistic improvements from quantum-rootwrap
3893ef8 Import trycmd and ssh_execute from nova.
Change-Id: I0a900b35e4bb4ddd56ecc083a30b0b1fba2e8b04
Syncs:
93ee6e3 Add generic serialization support
df7ea83 Allow RPC_API_NAMESPACE on RpcProxy objects
1d7920a Extract matchmaker_ring to own module
aa89d8b Support capping message versions in the client.
Change-Id: I80a2671997e8074bef9d1ef230ca3956888265e6
Syncs these commits:
0c54b72 python3: use 'as' syntax for exception assignment
fde1e15 Convert unicode for python3 portability
Note this adds a dependency on the 'six' library.
Change-Id: Ibcffa3ab10f6969f1f088b1f5a890f4aa655e9bf
Add tox to pip install.
Add step to run testr init
Change-Id: I10fd120d7757bc11695d064d488024e545655448
Authored-by: Chris Krelle <nobodycam@gmail.com>
The fake BMCDriver implementation accidentally copied, rather than
inherited from, the base class definition.
Change-Id: Ic2552dfdc93ad262c6ce04126f1133cd543bd800
Add more prerequisites to set up a local environment for development on
Ubuntu and the Fedora equivalents.
* libxml2 and libxslt are needed to build lxml.
* mysql libs are needed to build MySQL-python.
Change-Id: I4627b34ba72d677975c8c067e981fca732d78215
Fixes a broken test - test_update_node - by testing the updated node.
Fixes bug #1180143
*ironic/tests/db/test_nodes.py
Change-Id: I402851c58c4f61c600f15960a851f41356240dca
Fix all existing pep8 errors.
Remove install_venv and friends, which were not needed.
Add a few ignores for nova code that is yet to be cleaned up.
Skip one failing test case, fixed by review 29394.
Import contrib/redhat-eventlet.patch from Nova.
Change-Id: I46b6ccaa272bd058757064672ce9221263ed7087
Sequester files which have a very strong dependency on the nova codebase
into a separate "nova" dir. These will be ported and/or re-implemented
in Ironic. Move the corresponding unit tests to "tests/nova".
Also, disable the unit tests by removing __init__.py from that dir.