[Ovirt-devel] Re: [PATCH node] Checks if storage is setup before setting the admin password. BZ#509339

Alan Pevec apevec at redhat.com
Thu Jun 4 15:41:56 UTC 2009


Darryl L. Pierce wrote:
> When the o-c-password script starts, it checks to see if there's a
> Config logical volume. If there is not one, then it assumes local
> storage is not configured and exits the script with a warning message.

not 100% sure about this one, but considering that standalone mode doesn't make much sense w/o local storage, ACK and pushed with one change:

> +if [[ ! "Config" =~ $(lvdisplay -C | awk '{ print $1 }') ]]; then
+if ! lvs HostVG/Config  >/dev/null 2>&1 ; then




More information about the ovirt-devel mailing list