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
12-03-2008, 02:35 PM
Cole Robinson
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
12-03-2008, 03:35 PM
John Levon
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
12-03-2008, 03:43 PM
Cole Robinson
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
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
12-04-2008, 02:12 AM
John Levon
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