spec: Raise error on uninstal or upgrade

ovirt-noe (the package) is not intended to get upgraded or removed,
because of this we raise a descriptive error in those cases.

Change-Id: I624526637f1c12b2dad2064ef48da0a82a31074a
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Properly initialize the labels on the console page

Pass the correct amount of arguments so the dialog opens.

Change-Id: I8aa92c5d826824872f7b051376040b3816e51188
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095144
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Add ovirt-node generic registration script

To replace vdsm-reg, put in place a generic registration script
which fulfills basic requirements so the engine can use otopi/
host-deploy

Change-Id: I9457b05716c4dc5a47a280b8335a41e6fae73c0d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=875088
Signed-off-by: Ryan Barry <rbarry@redhat.com>
add necessary ovirt-node side items to support hosted-engine plugin

- NM support is disabled by default
- selinux module update

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1099149

Change-Id: I602266200b2f062fe299de5329987c85f2494512
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Fix up tests so they pass again

nm_controlled setting broke nose. Fix it.

Change-Id: Ib91adb67296c22f4683faacaeb9328c9e9c9418b
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Add a confirmation page

Confirm storage selections before the install proceeds, and
try to warn users if the disk is part of a storage domain
(by looking for an LVM tag)

Change-Id: If0c099fbfbfda9bc609a024964905ee59e04280f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1062515
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Signed-off-by: hadong <hadong@redhat.com>
app: Don't reboot in dry mode

Change-Id: I7441afcb18ec7d6b29ad32fd891e646ade656b84
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix --skip-existing-hooks option in ovirt-node-upgrade

Change-Id: Ib3170ba0a00e855fab7dec6adbb59e5f9983e474
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1104779
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Miss to unmount_config "/etc/profile" before edit it

Change-Id: I479be705f991f7d2542a944d0491e9ac252dc410
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1100944
Signed-off-by: hadong <hadong@redhat.com>
Use new kdump config settings

"net $location" is deprecated. Explicitly use ssh or nfs instead.

Change-Id: I074df91fb2e99aa003f3f917c686d8ba50f81123
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095140
Signed-off-by: Ryan Barry <rbarry@redhat.com>
edit-node move all operations to rootfs before returning selinux to enforcing

Change-Id: I73c3ef9293ac9cacd64779d66c20cdb3c016d9bf
Signed-off-by: Joey Boggs <jboggs@redhat.com>
Make the logrotate interval configurable

Previously, we only gave the option for size to be checked. Let
the period be checked as well, users can rotate logs daily if
desired. "size" and intervals are exclusive in EL6 other than
"minsize", so we can't get to the desired conclusion, but we can
prep by adding an option in the UI.

Change-Id: Ifb2639225f8b793b302e36a2c7639cb0769d4df4
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1046417
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Remove, don't disable, bond creation button when managed

Instead of just disabling the button so it can't be used, don't
even show it. Unfortunately, UIElements don't *quite* behave like
normal datastructures, so we can't just delete it, and we don't
add it in the first place

Change-Id: I827df18f53576e397dd93b95af2e54f5f9b5b06e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1083138
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Prompt more friendly information when enabling puppet failure

Change-Id: Iddc1c1e74178ab4a9dd7bb23733636377eafc5ff
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1055383
Signed-off-by: hadong <hadong@redhat.com>
Add an option to enable scsi_dh_alua

Add an option on the storage page which adds a kernel argument to
enable scsi_dh_alua

Change-Id: I6cd913ef6cec4d5ce81637f540ed944bafde9daa
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1002862
Signed-off-by: Ryan Barry <rbarry@redhat.com>
re-write auto install function for the cim plugin

Change-Id: I35e6971a7cd7ba4f742c734dadbd20a8c4b594bb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1032035
Signed-off-by: hadong <hadong0720@gmail.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
If miss custom Syslog port, using default syslog port "514" to set

Change-Id: Id1eadbac0749d630f67a3bcd60f2f7791fffd5f2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1100865
Signed-off-by: hadong <hadong@redhat.com>
If miss custom netconsole port, using default netconsole port "6666" to set

primary rhevh only support netconsole=server:port to configure netconsole server
it also should support netconsole=server to configure netconsole server by using
default netconsole port "6666"
Now miss custom netconsole port, using default netconsole port "6666" to set

Change-Id: Iaf5d62200ae3a8307c2e06946ec5b9992180b581
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1104600
Signed-off-by: hadong <hadong@redhat.com>
boot: Add savedefault to primary boot entry

Previously savedefault was only set on the backup (second) boot entry of
the grub cfg. That lead to problems when you wanted to set the primary
entry the default after booting the second one:
1. Boot primary entry (is default)
2. Boot second entry (becomes default, as of savedefault)
3. Reboot - Boots into second entry
4. Boot primary entry (does _not_ become default)
5. Reboot - Boots into second entry
This patch also adds savedefault to the primary boot entry, that way the
primary entry will be set as default when it is selected in the boot
entry. That would lead to the following behavior:
...
4. Boot primary entry (becomes default, as of new savedefault)
5. Reboot - Boots into primary entry

Change-Id: I49fcc97af7ac275086dd10ac26f9edad90e7aea9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017114
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
recipe: add python-requests module

Change-Id: Id23a0ca72d27af7a7ee69d2ac39a9e512a11dafa
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1102628
Signed-off-by: hadong <hadong@redhat.com>