We don't need to run crudini twice to get the same config item; instead,
just remember the result of the first time.
Change-Id: I7591f5c7d1474447e29861e499d04b4b5bdb2a27
Apache-2.0 is the recommended license for OpenStack Big Tent
projects (see https://governance.openstack.org/reference/licensing.html)
and this simplifies the licensing of the overall git repo
quite a bit by removing an exception clause.
Change-Id: I827eb91fd18ced1848439d573cfe6df16ed27748
Closes-Bug: #1564844
Make it clearer what the risks of not using shared storage are.
Information is based on:
http://docs.openstack.org/user-guide-admin/cli_nova_evacuate.html
which says "The command rebuilds the instance from the original image or
volume" but later says that "To preserve the user disk data on the
evacuated server, deploy Compute with a shared file system" and then use
--on-shared-storage.
Change-Id: I09600414eb0d7fff1cf301b11b3fa9a76fc08c77
This commit fixes bashate E002 (indents are only spaces, and not hard
tabs) violations
Partial-Bug: #1550203
Change-Id: I7d156d47023781be74e6fa8daef6ffc311b55d9d
Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
These can be quite useful in some setups.
This depends on https://github.com/ClusterLabs/fence-agents/pull/37
Change-Id: I2cfef0a4bf7f94f74041c8fee236788c7a110cc5
Signed-off-by: Vincent Untz <vuntz@suse.com>
This commit removes hopefully all trailing whitespaces from all files in
the repository.
Change-Id: I248160ee767e13c34c1cd19745c5496a4bcbba0b
Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
This reenables the service for that node (by removing the force_down
attribute); without this, the compute node will stay marked as down.
This replaces the code that was commented out to re-enable the service.
Change-Id: Id981dc1b80bbbac7b294ab7fd9e24b3757765826
The loop only waits for the evacuate attribute to be changed to no, but
we should also check if the evacuate attribute is gone (in case the user
does this manually).
Change-Id: I8d5c5830da07864ee748209be55fda506b1be585
OCF RAs are not meant to be run directly, so for consistency with the
other RAs in this repo, remove the executable bits from these two files.
Change-Id: I35955089cbff0a73f3cd48fb1febfc05bc479dc1
Signed-off-by: Adam Spiers <aspiers@suse.com>
This requires the same fix to be applied to fence_compute:
https://github.com/ClusterLabs/fence-agents/pull/27
and is a more complete version of
33154a6680
which only patched NovaEvacuate and not NovaCompute.
Signed-off-by: Adam Spiers <aspiers@suse.com>
Change-Id: Iea778d6455341275303e592a09bca7d6db120950