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

Darryl L. Pierce dpierce at redhat.com
Fri Jun 5 15:49:19 UTC 2009


On Thu, Jun 04, 2009 at 05:41:56PM +0200, Alan Pevec wrote:
> 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

Can I get an ACK?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
Is fearr Gaeilge bhriste ná Béarla cliste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090605/d58c6062/attachment.sig>


More information about the ovirt-devel mailing list