Fixed SPM_mailbox attribute errror

Change-Id: Id3ccdf040248fee90c70803c6f0bf758e41d8568
Reviewed-on: http://gerrit.usersys.redhat.com/1079
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
fix typo in trying to copy iscsid.conf template

Change-Id: I211a97dbd4c945e3ff30d4b42d072fd7d92761c2
Reviewed-on: http://gerrit.usersys.redhat.com/1088
Tested-by: Dan Kenigsberg <danken@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
vds_bootstrap: fix usage string

Change-Id: I8950764778dc61d04caeed4c74e792d52bba3378
Reviewed-on: http://gerrit.usersys.redhat.com/982
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
BZ#751629 - Avoid migrate master if MSD is obsolete.

In addition deactivate the (block) domain if it's unreloadable.

Change-Id: I995b86f62ee9026875b966d66f216d295aac9eba
Reviewed-on: http://gerrit.usersys/1091
Reviewed-by: Ayal Baron
Tested-by: Haim Ateya <hateya@redhat.com>
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Correct the variable name from VDSM-BIN to VDSM-REG-BIN in vdsm-reg script

Change-Id: I029d2295f2691855fa2b6d426e44f1e30838477c
Reviewed-on: http://gerrit.usersys.redhat.com/1096
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Related to BZ#682513: spec: require mke2fs with -K

Change-Id: Ifafd3eea31c9a5bbe00d64bb3988b5876f4e1c9e
Reviewed-on: http://gerrit.usersys.redhat.com/1099
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Async tasks should be saved in 'tasks' directory on master domain but not in 'hsm-tasks'

Change-Id: Id2c72c0a8a817a44e41285b77f4df23680c90b9d
Reviewed-on: http://gerrit.usersys.redhat.com/1090
Reviewed-by: Saggi Mizrahi <smizrahi@redhat.com>
Tested-by: Igor Lvovsky <ilvovsky@redhat.com>
BZ#746766 deployUtil: restorecon on created ~/.ssh/ dir

Change-Id: Ia5399d98f983a56db70bc23785648bf28e461128
Reviewed-on: http://gerrit.usersys.redhat.com/1100
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
BZ#744704 - Fix rollback support for complex tasks

Change-Id: Ie36ac02475f3f6438a63fbcbd26730862216cebd
Reviewed-on: http://gerrit.usersys.redhat.com/1041
Tested-by: Dan Kenigsberg <danken@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Related to BZ#744704 - Do not stop SPM task if in 'racquiring' state

Change-Id: I36459bea9cfe9b095f2cfb8d88cc142d248c77a4
Reviewed-on: http://gerrit.usersys.redhat.com/1042
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
betterThreading.Event is never used; drop it.

betterThreading was initially conceived to be a drop-in replacement of
threading.py. However, once we opted for mokey-patching threading.py
instead, betterThreading.Event has become redundant.

Change-Id: Ifa3035ad0df880682f3e81d34751977e677e5133
Reviewed-on: http://gerrit.usersys.redhat.com/1075
Reviewed-by: Federico Simoncelli <fsimonce@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Add libvirt password as config file

Change-Id: I23d2ac1f9d558840dd0ac511db5bde0bac32c2b5
Reviewed-on: http://gerrit.usersys.redhat.com/1052
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Fix attachStorageDomain logic.

Change-Id: I445431274563a3fadd78da06affd40adc6135e40
Reviewed-on: http://gerrit.usersys.redhat.com/1120
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
MSD and version mandatory when calling StoragePool.refresh()

Change-Id: I51b7c818fd785eed0281cb75ee831fc15d458a40
Reviewed-on: http://gerrit.usersys.redhat.com/1121
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Cleanup StoragePool.create()

(Incomplete) cleanup without functional effects.
Change-Id: Ic5ea012da9393ac24dd2ec17c570a653a2ea9bfc
Reviewed-on: http://gerrit.usersys.redhat.com/1122
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Remove redundant StoragePool.spmStarted state.

Change-Id: I47f29d14bd63e9190a94b455711e23d800575f24
Reviewed-on: http://gerrit.ovirt.org/180
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Clean SPM leftovers on HSM init

Change-Id: I76ddf65d56a152ac8c15b2bb771a39365ea79437
Reviewed-on: http://gerrit.ovirt.org/196
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Fixed device mapper failing on partition check for non dm devices

Change-Id: I9b4713d7e0ee04722e82887378f448243241c631
Reviewed-on: http://gerrit.ovirt.org/186
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
dir is a builtin, overriding it is not nice

Change-Id: I292cd9d5b47bb1051b765c02b55f351807316ea7
Reviewed-on: http://gerrit.ovirt.org/187
Reviewed-by: Igor Lvovsky <ilvovsky@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
Fixed missing parameter when raising exception in resource owner

Change-Id: I36d47587429f57ddb769cd6245c22a8ee50aeedb
Reviewed-on: http://gerrit.ovirt.org/206
Tested-by: Dan Kenigsberg <danken@redhat.com>
Reviewed-by: Dan Kenigsberg <danken@redhat.com>