[Engine-devel] ovirt-shell problem on F16 and nightly builds

Hello, sorry if this is a -devel mailing list. Let me know please if I have to send to another list. Would like to test ovirt-shell against an RH EV 3.0 installation. My system is based on F16 x86_64. Installed from nightly builds directory: Mar 16 11:02:30 Installed: python-lxml-2.3-1.fc16.x86_64 Mar 16 11:02:30 Installed: ovirt-engine-sdk-1.6.1-1.fc16.noarch Mar 16 11:02:30 Installed: pexpect-2.3-6.fc15.noarch Mar 16 11:02:30 Installed: python-ply-3.3-5.fc15.noarch Mar 16 11:02:30 Installed: ovirt-engine-cli-2.1.2-1.fc16.noarch But $ ovirt-shell --help Traceback (most recent call last): File "/usr/bin/ovirt-shell", line 9, in <module> load_entry_point('ovirt-shell==2.1.2-SNAPSHOT', 'console_scripts', 'ovirt-shell')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/ovirtcli/main.py", line 20, in <module> from ovirtcli.context import OvirtCliExecutionContext File "/usr/lib/python2.7/site-packages/ovirtcli/context.py", line 18, in <module> from cli.command import * File "/usr/lib/python2.7/site-packages/cli/command/__init__.py", line 2, in <module> from cli.command.command import Command File "/usr/lib/python2.7/site-packages/cli/command/command.py", line 21, in <module> from ovirtcli.utils.methodhelper import MethodHelper File "/usr/lib/python2.7/site-packages/ovirtcli/utils/methodhelper.py", line 20, in <module> from codegen.doc.documentation import Documentation ImportError: No module named codegen.doc.documentation Probably it is something stupid I miss? I installed them with sudo yum localinstall ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm and got: Loaded plugins: auto-update-debuginfo, downloadonly, langpacks, presto, refresh-packagekit Setting up Local Package Process Examining ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm: ovirt-engine-cli-2.1.2-1.fc16.noarch Marking ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm to be installed Examining ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm: ovirt-engine-sdk-1.6.1-1.fc16.noarch Marking ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ovirt-engine-cli.noarch 0:2.1.2-1.fc16 will be installed --> Processing Dependency: pexpect for package: ovirt-engine-cli-2.1.2-1.fc16.noarch --> Processing Dependency: python-ply for package: ovirt-engine-cli-2.1.2-1.fc16.noarch ---> Package ovirt-engine-sdk.noarch 0:1.6.1-1.fc16 will be installed --> Processing Dependency: python-lxml for package: ovirt-engine-sdk-1.6.1-1.fc16.noarch --> Running transaction check ---> Package pexpect.noarch 0:2.3-6.fc15 will be installed ---> Package python-lxml.x86_64 0:2.3-1.fc16 will be installed ---> Package python-ply.noarch 0:3.3-5.fc15 will be installed --> Finished Dependency Resolution Dependencies Resolved possibly any dependency problem in rpm composition? Thanks in advance, Gianluca

On 03/16/2012 12:23 PM, Gianluca Cecchi wrote:
Hello, sorry if this is a -devel mailing list. Let me know please if I have to send to another list.
users mailing list probably more relevant. any reason you are taking nightly, rather than published/tested versions (nightly builds is not necessarily tested/stable) http://lists.ovirt.org/pipermail/users/2012-March/001158.html http://lists.ovirt.org/pipermail/users/2012-March/001159.html
Would like to test ovirt-shell against an RH EV 3.0 installation. My system is based on F16 x86_64. Installed from nightly builds directory:
Mar 16 11:02:30 Installed: python-lxml-2.3-1.fc16.x86_64 Mar 16 11:02:30 Installed: ovirt-engine-sdk-1.6.1-1.fc16.noarch Mar 16 11:02:30 Installed: pexpect-2.3-6.fc15.noarch Mar 16 11:02:30 Installed: python-ply-3.3-5.fc15.noarch Mar 16 11:02:30 Installed: ovirt-engine-cli-2.1.2-1.fc16.noarch
But
$ ovirt-shell --help Traceback (most recent call last): File "/usr/bin/ovirt-shell", line 9, in <module> load_entry_point('ovirt-shell==2.1.2-SNAPSHOT', 'console_scripts', 'ovirt-shell')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/ovirtcli/main.py", line 20, in <module> from ovirtcli.context import OvirtCliExecutionContext File "/usr/lib/python2.7/site-packages/ovirtcli/context.py", line 18, in <module> from cli.command import * File "/usr/lib/python2.7/site-packages/cli/command/__init__.py", line 2, in <module> from cli.command.command import Command File "/usr/lib/python2.7/site-packages/cli/command/command.py", line 21, in <module> from ovirtcli.utils.methodhelper import MethodHelper File "/usr/lib/python2.7/site-packages/ovirtcli/utils/methodhelper.py", line 20, in <module> from codegen.doc.documentation import Documentation ImportError: No module named codegen.doc.documentation
Probably it is something stupid I miss? I installed them with sudo yum localinstall ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm
and got: Loaded plugins: auto-update-debuginfo, downloadonly, langpacks, presto, refresh-packagekit Setting up Local Package Process Examining ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm: ovirt-engine-cli-2.1.2-1.fc16.noarch Marking ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm to be installed Examining ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm: ovirt-engine-sdk-1.6.1-1.fc16.noarch Marking ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ovirt-engine-cli.noarch 0:2.1.2-1.fc16 will be installed --> Processing Dependency: pexpect for package: ovirt-engine-cli-2.1.2-1.fc16.noarch --> Processing Dependency: python-ply for package: ovirt-engine-cli-2.1.2-1.fc16.noarch ---> Package ovirt-engine-sdk.noarch 0:1.6.1-1.fc16 will be installed --> Processing Dependency: python-lxml for package: ovirt-engine-sdk-1.6.1-1.fc16.noarch --> Running transaction check ---> Package pexpect.noarch 0:2.3-6.fc15 will be installed ---> Package python-lxml.x86_64 0:2.3-1.fc16 will be installed ---> Package python-ply.noarch 0:3.3-5.fc15 will be installed --> Finished Dependency Resolution
Dependencies Resolved
possibly any dependency problem in rpm composition? Thanks in advance, Gianluca
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

2012/3/16 Itamar Heim
On 03/16/2012 12:23 PM, Gianluca Cecchi wrote:
Hello, sorry if this is a -devel mailing list. Let me know please if I have to send to another list.
users mailing list probably more relevant. any reason you are taking nightly, rather than published/tested versions (nightly builds is not necessarily tested/stable) http://lists.ovirt.org/pipermail/users/2012-Ma<http://lists.ovirt.org/pipermail/users/2012-March/001158.html> rch/001158.html<http://lists.ovirt.org/pipermail/users/2012-March/001158.html> http://lists.ovirt.org/pipermail/users/2012-March/001159.html
I didn't find link to user mailing list at ovirt.org web site... now with your pointer I will do... Take into account that the links inside the users ml threads for both src and rpm packages point to nightly build... ;-) Probably not so stable yet and suggested way is to use nughtly build? At first stage I searched inside the stable tree but I didn't find them... Thanks anyway, Gianluca

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Gianluca Cecchi" <tekka@normantec.it> Cc: engine-devel@ovirt.org Sent: Friday, March 16, 2012 7:11:58 AM Subject: Re: [Engine-devel] ovirt-shell problem on F16 and nightly builds
On 03/16/2012 12:23 PM, Gianluca Cecchi wrote:
Hello, sorry if this is a -devel mailing list. Let me know please if I have to send to another list.
users mailing list probably more relevant. any reason you are taking nightly, rather than published/tested versions (nightly builds is not necessarily tested/stable) http://lists.ovirt.org/pipermail/users/2012-March/001158.html http://lists.ovirt.org/pipermail/users/2012-March/001159.html
ovirt-cli/shell isn't in the stable build repo yet, it's only in the nightlies (which are linked in those emails)
Would like to test ovirt-shell against an RH EV 3.0 installation. My system is based on F16 x86_64. Installed from nightly builds directory:
Mar 16 11:02:30 Installed: python-lxml-2.3-1.fc16.x86_64 Mar 16 11:02:30 Installed: ovirt-engine-sdk-1.6.1-1.fc16.noarch Mar 16 11:02:30 Installed: pexpect-2.3-6.fc15.noarch Mar 16 11:02:30 Installed: python-ply-3.3-5.fc15.noarch Mar 16 11:02:30 Installed: ovirt-engine-cli-2.1.2-1.fc16.noarch
But
$ ovirt-shell --help Traceback (most recent call last): File "/usr/bin/ovirt-shell", line 9, in <module> load_entry_point('ovirt-shell==2.1.2-SNAPSHOT', 'console_scripts', 'ovirt-shell')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/ovirtcli/main.py", line 20, in <module> from ovirtcli.context import OvirtCliExecutionContext File "/usr/lib/python2.7/site-packages/ovirtcli/context.py", line 18, in <module> from cli.command import * File "/usr/lib/python2.7/site-packages/cli/command/__init__.py", line 2, in <module> from cli.command.command import Command File "/usr/lib/python2.7/site-packages/cli/command/command.py", line 21, in <module> from ovirtcli.utils.methodhelper import MethodHelper File "/usr/lib/python2.7/site-packages/ovirtcli/utils/methodhelper.py", line 20, in <module> from codegen.doc.documentation import Documentation ImportError: No module named codegen.doc.documentation
Probably it is something stupid I miss? I installed them with sudo yum localinstall ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm
and got: Loaded plugins: auto-update-debuginfo, downloadonly, langpacks, presto, refresh-packagekit Setting up Local Package Process Examining ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm: ovirt-engine-cli-2.1.2-1.fc16.noarch Marking ovirt-engine-cli-2.1.2-1.fc16.noarch.rpm to be installed Examining ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm: ovirt-engine-sdk-1.6.1-1.fc16.noarch Marking ovirt-engine-sdk-1.6.1-1.fc16.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package ovirt-engine-cli.noarch 0:2.1.2-1.fc16 will be installed --> Processing Dependency: pexpect for package: ovirt-engine-cli-2.1.2-1.fc16.noarch --> Processing Dependency: python-ply for package: ovirt-engine-cli-2.1.2-1.fc16.noarch ---> Package ovirt-engine-sdk.noarch 0:1.6.1-1.fc16 will be installed --> Processing Dependency: python-lxml for package: ovirt-engine-sdk-1.6.1-1.fc16.noarch --> Running transaction check ---> Package pexpect.noarch 0:2.3-6.fc15 will be installed ---> Package python-lxml.x86_64 0:2.3-1.fc16 will be installed ---> Package python-ply.noarch 0:3.3-5.fc15 will be installed --> Finished Dependency Resolution
Dependencies Resolved
possibly any dependency problem in rpm composition? Thanks in advance, Gianluca
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

2012/3/16 Andrew Cathrow :
ovirt-cli/shell isn't in the stable build repo yet, it's only in the nightlies (which are linked in those emails)
It seems solved with the rpms packaged as in http://lists.ovirt.org/pipermail/users/2012-March/001176.html ovirt-engine-cli-2.1.3-1.fc16.noarch.rpm ovirt-engine-sdk-1.6.2-1.fc16.noarch.rpm at least with the basic run of $ ovirt-shell --help and $ ovirt-shell ++++++++++++++++++++++++++++++++++++++++++ Welcome to oVirt shell ++++++++++++++++++++++++++++++++++++++++++ [oVirt shell (disconnected)]# exit I'm going to test further wit connection to RHEV infra. Gianluca

this is known issue, new rpms/tarballs will be available in release repo today, also you can get them from http://lists.ovirt.org/pipermail/users/2012-March/001176.html thanks. -- Michael Pasternak RedHat, ENG-Virtualization R&D
participants (4)
-
Andrew Cathrow
-
Gianluca Cecchi
-
Itamar Heim
-
Michael Pasternak