Commit Graph

9 Commits (0445697a8b7714ce6c27e3159a2684eb07d7be8d)

Author SHA1 Message Date
David Shrewsbury 6970cc233f Wrap calls to main() with if check
A change was merged to the main Ansible core code that can cause

a potential hang if any libraries are called that use threading.

This change was:



  4b0aa1214c



This affected the os_object module by causing a hang on the shade

create_object() API call (which in turn calls swiftclient which

uses threading). The fix is to make sure all modules have a main()

that is wrapped with an "if __name__ == '__main__'" check.
9 years ago
David Shrewsbury f71542ccf2 Fix parameters where type is assumed.
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
9 years ago
Brian Coca 5e38b0e0c1 added missing version_Added 9 years ago
Brian Coca 1ebe143618 Merge pull request #2829 from juliakreger/add-os-ironic-node-wait
Add wait support to os_ironic_node
9 years ago
Julia Kreger 9c7c9e8573 Add wait support to os_ironic_node
Add support for the os_ironic_node module to be capible of waiting
until the baremetal node activation or deactivation has completed.
9 years ago
David Shrewsbury e8abea25c7 Fix OpenStack module failure output
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
9 years ago
Brian Coca 898e338318 minor doc fixes 9 years ago
Julia Kreger 47113727ee Updating os_ironic_node module
Updating the os_ironic_node module to the most recent version
including support for power and maintenance states.
9 years ago
Monty Taylor 4656797389 Add Ironic Node module 10 years ago