On 12/21/2012 01:07 PM, Michael Pasternak wrote:
On 12/21/2012 12:55 PM, Alex Leonhardt wrote:
> Hiya,
>
> it's :
>
> ovirt-engine-cli.noarch 3.1.0.7-1.el6 @ovirt31-dre
please upgrade to latest shell, it's 3.2.0.5 (you can pull it from the pypi)
my bad, latest is - 3.2.0.7.
>
> there's no -v / --version command ?
>
> also, the ovirtshellrc :
>
> [cli]
> #autopage = True
> #debug = False
> #ps1 = $
> #ps2 = >
> #verbosity = 0
> [ovirt-shell]
> #commands = oVirt shell commands:
> #header = True
> #input_format = xml
> #misc_commands = oVirt shell commands:
> name = oVirt-shell
> #output_format = text
> #password =
> #port = -1
> #prompt =
> #ps1.connected = [oVirt shell %(version)s (connected)]#
> #ps1.disconnected = [oVirt shell (disconnected)]#
> #ps2.connected = [oVirt shell (connected)]#
> #timeout = -1
> #url =
> #username =
> #version =
> #wide = False
> username = 'admin@internal'
> url = 'http://localhost:8080/api'
> #insecure = False
> #filter = False
> #timeout = -1
> password = 'password'
>
>
> Alex
>
>
>
>
> 2012/12/21 Michael Pasternak <mpastern(a)redhat.com
<mailto:mpastern@redhat.com>>
>
>
> Alex,
>
> Only things that can cause this is 'timeout' or url port
> in wrong format (non-int),
>
> can you show me the content of your .ovirtshellrc and let me know what cli
> version you're using?
>
> On 12/21/2012 11:19 AM, Alex Leonhardt wrote:
> > Hi,
> >
> > am trying to use .ovirtshellrc with a set user, pass and url, however, I
keep getting this instead:
> >
> > error: invalid literal for int() with base 10: ''
> >
> > and I remain disconnected. Using the same url and creds to connect manually
works - is it a bug or just some setting ?
> >
> > Alex
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users(a)ovirt.org <mailto:Users@ovirt.org>
> >
http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
>
>
--
Michael Pasternak
RedHat, ENG-Virtualization R&D