search for: storage_init

Displaying 11 results from an estimated 11 matches for "storage_init".

2011 Jul 29
0
[PATCH node] Add debugging info to dracut plugin
...ameter found" return 0 fi if [ "$fb" = "no" -o "$fb" = 0 ]; then + info "firtboot reinstall or uninstall parameter set to 0 or no, exitting" return 0 fi - +info "Found valid firstboot reinstall or uninstall parameter" # Check storage_init argument # Accept either storage_init or ovirt_init # Prefer storage_init # Blank entry will result in getting first disk -if getarg storage_init; then +if getarg storage_init >/dev/null; then storage_init="$(sed -r 's/^.*storage_init=([^ ]*) .*$/\1/' /proc/cmdline)" -...
2011 Jul 29
0
[PATCH node] fix dracut plugin wildcard handling
...ot;$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh index 775bcf8..a6762cf 100755 --- a/dracut/ovirt-cleanup.sh +++ b/dracut/ovirt-cleanup.sh @@ -34,9 +34,9 @@ fi # Blank entry will result in getting first disk if getarg storage_init; then - storage_init=$(getarg storage_init) + storage_init="$(sed -r 's/^.*storage_init=([^ ]*) .*$/\1/' /proc/cmdline)" elif getarg ovirt_init; then - storage_init=$(getarg ovirt_init) + storage_init="$(sed -r 's/^.*ovirt_init=([^ ]*) .*$/\1/' /proc/cmdl...
2011 Sep 09
0
[PATCH node] only wipe HostVG if storage_init is not passed in dracut
...anup.sh index c96d6fe..e9674d8 100755 --- a/dracut/ovirt-cleanup.sh +++ b/dracut/ovirt-cleanup.sh @@ -48,11 +48,16 @@ fi # Check for HostVG lvm pvscan >/dev/null 2>&1 -for hostvg in $(lvm pvs --noheadings -o vg_name,pv_name 2>/dev/null | awk '/^ HostVG/{print $2}'); do - storage_init="$hostvg,$storage_init" - info "Found HostVG on $hostvg" -done - +if [ -z "$storage_init" ]; then + for hostvg in $(lvm pvs --noheadings -o vg_name,pv_name 2>/dev/null | awk '/^ HostVG/{print $2}'); do + if [ -z "$storage_init" ]; the...
2011 Aug 25
0
[PATCH node] always remove HostVG in dracut when reinstall/uninstall/firstboot passed
...t-cleanup.sh" inst_simple "$moddir/ovirt-boot-functions" /sbin/ovirt-boot-functions diff --git a/dracut/ovirt-cleanup.sh b/dracut/ovirt-cleanup.sh index 1d7db84..c96d6fe 100755 --- a/dracut/ovirt-cleanup.sh +++ b/dracut/ovirt-cleanup.sh @@ -40,10 +40,19 @@ if [ $? -eq 1 ]; then storage_init="$(getargs ovirt_init)" if [ $? -eq 1 ]; then info "storage_init or ovirt_init arguments not found" - return 0 + else + info "Found storage_init: $storage_init" fi fi -info "Found storage_init: $storage_init" + +# Check...
2011 Aug 22
0
[PATCH node] handle wildcards appropriately in dracut plugin
when specifying a list of devices, one with a wildcard, the dracut plugin would attempt to use all devices matching the wildcard instead of just the first device. Ex. storage_init=/dev/vd*,/dev/sda should match /dev/vda and /dev/sda only, but if /dev/vdb, /dev/vdc etc existed, it would match all of those as well. rhbz#726843 Signed-off-by: Mike Burns <mburns at redhat.com> --- dracut/ovirt-cleanup.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff...
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...,7 +564,7 @@ test_stateful_pxe () { start_networking $nodename $IFACE_NAME false true $workdir configure_node "${nodename}" "network" "" "10000" "" "local noapic=true" - boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${workdir} + boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress} vlan=12" ${workdir} # verify the booting and installation expect -c ' -- 1.6.2.5
2011 Aug 08
0
[PATCH] check admin password for upgrade verification
...1) - gridform.draw() - self.screen.refresh() - progress_bar.set(75) - gridform = GridForm(self.screen, "", 2, 2) - gridform.add(Label("Installing Bootloader Configuration on: " + self.storage_init ), 0, 0, anchorLeft = 1) - gridform.add(progress_bar, 0, 1) - gridform.draw() - self.screen.refresh() - boot_setup = install.ovirt_boot_setup() - if boot_setup: - progress_bar.set(1...
2011 May 25
1
Hook script to preserve one partition untouched during install
...ameter that indicates which is the HDD device and partition to preserve. The syntax for this kernel parameter is the following: ignore_vol=/dev/sdb:1 In this example, /dev/sdb is the device, and partition #1 will be left untouched. Notice that the device listed in ignore_vol cannot be present in storage_init also --- devices in storage_init will be formated by the RHEV-H install process. Also, AppVG logical volumes sizes should not be specified in storage_vol kernel parameter. Hence, the RHEV-H installation process will only create HostVG with the device not listed in ignore_vol. b) Implement some par...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...me}" "network" "" "10000" "" "local noapic=true" - boot_with_pxe "${nodename}" "ovirt_standalone ovirt_init=/dev/vda ovirt_local_boot ip=${ipaddress}" ${workdir} + boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${workdir} # verify the booting and installation expect -c ' @@ -586,10 +584,10 @@ expect { -exact "Starting partitioning of /dev/vda" { send_log "\n\nMarker 6\n\n"; exp_continue } -exact "Restarting system...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...ot;::\$$var: $var" + done + + start_networking $nodename $IFACE_NAME false true $workdir + + configure_node "${nodename}" "network" "" "10000" "" "local noapic=true" + boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${workdir} + + # verify the booting and installation + expect -c ' +set timeout '${timeout_period}' +log_file -noappend stateful-pxe.log + +spawn sudo virsh console '"${nodename}"' + +expect { + -exact "Linux vers...
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated. These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated. Mike