Réf. : Re: using virtinstall--devel and bus type option.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Cole Robinson <crobinso@xxxxxxxxxx> a écrit : -----

>Pour : Fedora/Linux Management Tools <et-mgmt-tools@xxxxxxxxxx>
>De : Cole Robinson <crobinso@xxxxxxxxxx>
>Date : 31/10/2008 14:36
>cc : fcombernous@xxxxxxx
>Objet : Re:  using virtinstall--devel and bus type
>option.
>
>FCOMBERNOUS@xxxxxxx wrote:
>> Lo,
>>
>> As indicated i get the source with mercurial :
>> hg clone http://hg.et.redhat.com/virt/applications/virtinst--devel
>
>When did you clone the repo? Just yesterday I committed a
>few more patches from Guido that fixed up some of the code

My clone and your commit are near. Perhaps i cloned before your commit.

>to do with the 'bus' option, so you may be running in to
>issues that have been fixed. Try:
>
>cd virtinst--devel
>hg pull
>hg update
>python setup.py install
>
>Then see if the bus option isn't working. If not, report
>back here.

Here the report :)
- The man pages use the new syntax about the -disk option.
- The virt-install --help is broken. Have a look to details below [1].
- The -disk option looks to do the job.

In fact, i wanted to use -disk option as described in [2]. With this one,
it's possible to set the devide type to scsi and not only to ide. But with
the last update, the virt-install don't know the scsi value :
ERROR    Error with storage parameters: Unknown device type 'scsi'


[1]
# virt-install --help
ERROR:root:'ascii' codec can't decode byte 0xc3 in position 171: ordinal
not in range(128)
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 715, in <module>
    main()
  File "/usr/bin/virt-install", line 504, in main
    options = parse_args()
  File "/usr/bin/virt-install", line 466, in parse_args
    (options,args) = parser.parse_args()
  File "/usr/lib/python2.5/optparse.py", line 1385, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.5/optparse.py", line 1425, in _process_args
    self._process_long_opt(rargs, values),
  File "/usr/lib/python2.5/optparse.py", line 1500, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib/python2.5/optparse.py", line 782, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib/python2.5/optparse.py", line 804, in take_action
    parser.print_help()
  File "/usr/lib/python2.5/site-packages/virtinst/cli.py", line 51, in
    print_help
    file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 171:
ordinal not in range(128)


[2]
http://hg.et.redhat.com/virt/applications/virtinst--devel?fd=710611367b50;file=man/en/virt-install.pod


--
Fabien COMBERNOUS
IT Engineer, Open source specialist
http://www.ares.fr

**************************************************************************************************** 
Ce message ou ses pièces jointes peuvent contenir des informations confidentielles à l'intention exclusive de son destinataire et est couvert par le secret professionnel. Toute utilisation, divulgation ou reproduction de son contenu sont strictement interdits. Si vous avez reçu ce message par erreur, merci de le notifier à son expéditeur et d'en détruire toute copie. Le présent message pouvant être altéré à notre insu, le groupe ARES ne peut pas être engagé par son contenu. www.ares.fr
 **************************************************************************************************** 


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

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux