FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 12-03-2008, 12:49 AM
John Levon
 
Default prompt bug

RuntimeError: Prompting disabled, but yes/no was requested. Try --force
to force 'yes' for such prompts. Prompt was: Disk
/export/guests/2008.11/root.img is already in use by another guest!


What's the intended behaviour?

regards
john

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 12-03-2008, 02:35 PM
Cole Robinson
 
Default prompt bug

John Levon wrote:
>
> RuntimeError: Prompting disabled, but yes/no was requested. Try --force
> to force 'yes' for such prompts. Prompt was: Disk
> /export/guests/2008.11/root.img is already in use by another guest!
>

You're trying to use a disk in use by another guest. We disabled
prompting by default with the last release because it made automating
installs a pain, but the result is we take a conservative approach to
ambiguous situations, such as the above (also 'this sparse file, if
fully allocated, will hose your disk. is that what you want?').

So, if you want it to just work, use --force.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 12-03-2008, 03:35 PM
John Levon
 
Default prompt bug

On Wed, Dec 03, 2008 at 10:35:55AM -0500, Cole Robinson wrote:

> > RuntimeError: Prompting disabled, but yes/no was requested. Try --force
> > to force 'yes' for such prompts. Prompt was: Disk
> > /export/guests/2008.11/root.img is already in use by another guest!
>
> You're trying to use a disk in use by another guest. We disabled
> prompting by default with the last release because it made automating
> installs a pain, but the result is we take a conservative approach to
> ambiguous situations, such as the above (also 'this sparse file, if
> fully allocated, will hose your disk. is that what you want?').

OK, then the code needs to be fixed to just give an error, not some
obscure backtrace, right?

regards
john

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 12-03-2008, 03:43 PM
Cole Robinson
 
Default prompt bug

John Levon wrote:
> On Wed, Dec 03, 2008 at 10:35:55AM -0500, Cole Robinson wrote:
>
>>> RuntimeError: Prompting disabled, but yes/no was requested. Try --force
>>> to force 'yes' for such prompts. Prompt was: Disk
>>> /export/guests/2008.11/root.img is already in use by another guest!
>> You're trying to use a disk in use by another guest. We disabled
>> prompting by default with the last release because it made automating
>> installs a pain, but the result is we take a conservative approach to
>> ambiguous situations, such as the above (also 'this sparse file, if
>> fully allocated, will hose your disk. is that what you want?').
>
> OK, then the code needs to be fixed to just give an error, not some
> obscure backtrace, right?
>
> regards
> john

Oh, yes, that's fair. Fixed now:

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=9eb684039e4e

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 12-04-2008, 02:12 AM
John Levon
 
Default prompt bug

On Wed, Dec 03, 2008 at 04:35:45PM +0000, John Levon wrote:

> OK, then the code needs to be fixed to just give an error, not some
> obscure backtrace, right?

The fix isn't quite there:

ERROR Prompting disabled, but yes/no was requested. Try --force to
force 'yes' for such prompts. Prompt was: Disk
/export/guests/2008.11/root.img is already in use by another guest!
Do you really want to use the disk (yes or no)?

Can't we just make it say this:

Disk /export/guests/2008.11/root.img is already in use by another guest!

regards
john

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 05:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org