Ravello Support has moved to My Oracle Support.

To open new technical issues or track existing issues, log into the Ravello cloud service, click on “Help & Support”, and then select “My Oracle Support". To contact Oracle Support by phone, refer to the Oracle Support Contacts Global Directory, scroll down that page past the Acquired Product Support section and the Online Support section for the list of phone numbers by country.
This Support page will be decommissioned by July 28,2017
For more info: Visit our Customer Training page

How to install the Ravello CLI on Linux/Mac platforms

Before you can upload your own machine images, you need to download and install the VM Import Tool.  

To install the CLI on a Linux or Mac platform:

1      On the Library > VMs page, click Import VM.  If the VM Import Tool has not been installed, the Download VM
        Import Utility window is displayed.

2      Select Linux or Mac  from the OS list.

3      Select  Download CLI VM Import Tool.

4      In the popup dialog box, select Save File and  click OK. The installation file is downloaded.

5      Open the terminal.

6      Open the Downloads folder, and extract the zip file  into a folder with the same name.

7      Run the command:  ./install.sh

Have more questions? Submit a request

Comments

  • Avatar
    Forrest Taylor

    Where has the Download VM Import Tool link gone?  It is no longer on the Library > VMs page.

  • Avatar
    David Egan

    Traceback (most recent call last):
    File "setup.py", line 9, in <module>
    from ravello.common.config import get_utilities_dir
    File "/home/dave/Downloads/Ravello/ravello-2.0/ravello/common/config.py", line 22, in <module>
    from ravello.common.utils import get_ravello_home_directory
    File "/home/dave/Downloads/Ravello/ravello-2.0/ravello/common/utils.py", line 23, in <module>
    from pysphere.ZSI.client import _Binding
    ImportError: No module named pysphere.ZSI.client
    Setting permissions to run using the user 'dave'
    [dave@bigdev Ravello]$ yum install -y pysphere.ZSI.client
    Loaded plugins: langpacks, refresh-packagekit
    You need to be root to perform this command.
    [dave@bigdev Ravello]$ sudo !!
    sudo yum install -y pysphere.ZSI.client
    Loaded plugins: langpacks, refresh-packagekit
    No package pysphere.ZSI.client available.
    Error: Nothing to do

  • Avatar
    David Egan

    Tried both GUI and CLI versions of installer on Fedora 20, cannot get past missing python module being requested, is not included in tar ball being extracted:

    [dave@bigdev Ravello]$ python --version
    Python 2.7.5
    [dave@bigdev Ravello]$ ls
    CLI-ravello_linux.tar.gz ravello ravello-2.0.tar.gz ravello_linux.tar.gz
    [dave@bigdev Ravello]$ cd ravello/
    [dave@bigdev ravello]$ ls
    installer.sh ravello-2.0.tar.gz README
    [dave@bigdev ravello]$ cat README

    Requirements for installing Ravello's Python package:
    - Python 2.6 or Python 2.7
    - python-setuptools (can be downloaded using apt-get on Debian-based OS or yum on RedHat-based OS)

    To install the package, run installer.sh as root.

    To run ravello from the command line, type "ravello".

    To import using the ravello UI, run "ravello_vm_import_server" in your terminal.
    Then, you can use ravello's management console at https://cloud.ravellosystems.com to initiate and control the import process.
    To start a new import process using the ravello management console, go to the Library tab and click the Import button.

    [dave@bigdev ravello]$ sudo yum install python-setuptools -y
    Loaded plugins: langpacks, refresh-packagekit
    ..
    Package python-setuptools-1.4.2-1.fc20.noarch already installed and latest version
    Nothing to do

    [dave@bigdev Ravello]$ sudo ./installer.sh
    /bin/python
    ravello-2.0/
    ravello-2.0/setup.cfg
    ravello-2.0/PKG-INFO
    ravello-2.0/config.properties
    ravello-2.0/static/
    ravello-2.0/static/app/
    ravello-2.0/static/app/common/
    ravello-2.0/static/app/common/spinner/
    ravello-2.0/static/app/common/spinner/upload-general-spinner.html
    ravello-2.0/static/app/common/directives/
    ravello-2.0/static/app/common/directives/file-explorer/
    ravello-2.0/static/app/common/directives/file-explorer/file-explorer-row.html
    ravello-2.0/static/app/common/directives/file-explorer/file-explorer-name-cell.html
    ravello-2.0/static/app/common/directives/file-explorer/file-explorer.html
    ravello-2.0/static/app/common/header/
    ravello-2.0/static/app/common/header/header.html
    ravello-2.0/static/app/common/templates/
    ravello-2.0/static/app/common/templates/browser-specific.html
    ravello-2.0/static/app/common/errors/
    ravello-2.0/static/app/common/errors/report/
    ravello-2.0/static/app/common/errors/report/report-error.html
    ravello-2.0/static/app/pages/
    ravello-2.0/static/app/pages/dashboard/
    ravello-2.0/static/app/pages/dashboard/dashboard-vcenter-credentials.html
    ravello-2.0/static/app/pages/dashboard/dashboard.html
    ravello-2.0/static/app/pages/login/
    ravello-2.0/static/app/pages/login/login.html
    ravello-2.0/static/app/pages/upload-wizard/
    ravello-2.0/static/app/pages/upload-wizard/any-file/
    ravello-2.0/static/app/pages/upload-wizard/any-file/file-type-selector/
    ravello-2.0/static/app/pages/upload-wizard/any-file/file-type-selector/any-file-type-selector.html
    ravello-2.0/static/app/pages/upload-wizard/method-selector/
    ravello-2.0/static/app/pages/upload-wizard/method-selector/method-selector.html
    ravello-2.0/static/app/pages/upload-wizard/vcenter/
    ravello-2.0/static/app/pages/upload-wizard/vcenter/vcenter-connector/
    ravello-2.0/static/app/pages/upload-wizard/vcenter/vcenter-connector/vcenter-connector.html
    ravello-2.0/static/app/pages/upload-wizard/vcenter/vms-selector/
    ravello-2.0/static/app/pages/upload-wizard/vcenter/vms-selector/vcenter-vms-selector.html
    ravello-2.0/static/app/pages/upload-wizard/vcenter/vms-selector/export-file-explorer.html
    ravello-2.0/static/app/pages/upload-wizard/upload-wizard.html
    ravello-2.0/static/app/pages/upload-wizard/full-vm/
    ravello-2.0/static/app/pages/upload-wizard/full-vm/vm-selector/
    ravello-2.0/static/app/pages/upload-wizard/full-vm/vm-selector/full-vm-selector.html
    ravello-2.0/static/app/pages/upload-wizard/custom-vm/
    ravello-2.0/static/app/pages/upload-wizard/custom-vm/vm-selector/
    ravello-2.0/static/app/pages/upload-wizard/custom-vm/vm-selector/custom-vm-selector.html
    ravello-2.0/static/app/pages/upload-wizard/image-file/
    ravello-2.0/static/app/pages/upload-wizard/image-file/image-selector/
    ravello-2.0/static/app/pages/upload-wizard/image-file/image-selector/image-file-selector.html
    ravello-2.0/static/assets/
    ravello-2.0/static/assets/fonts/
    ravello-2.0/static/assets/fonts/glyphicons-halflings-regular.woff
    ravello-2.0/static/assets/fonts/fontawesome-webfont.eot
    ravello-2.0/static/assets/fonts/glyphicons-halflings-regular.ttf
    ravello-2.0/static/assets/fonts/fontawesome-webfont.svg
    ravello-2.0/static/assets/fonts/fontawesome-webfont.woff
    ravello-2.0/static/assets/fonts/FontAwesome.otf
    ravello-2.0/static/assets/fonts/glyphicons-halflings-regular.eot
    ravello-2.0/static/assets/fonts/glyphicons-halflings-regular.svg
    ravello-2.0/static/assets/fonts/fontawesome-webfont.ttf
    ravello-2.0/static/assets/images/
    ravello-2.0/static/assets/images/img_spinner.gif
    ravello-2.0/static/assets/images/img_logo.png
    ravello-2.0/static/assets/images/upload_icon.png
    ravello-2.0/static/assets/images/img_error.png
    ravello-2.0/static/assets/images/upload_session.png
    ravello-2.0/static/assets/images/grayed_upload_session.png
    ravello-2.0/static/assets/images/export_session.png
    ravello-2.0/static/assets/styles/
    ravello-2.0/static/assets/styles/987302d2.main.css
    ravello-2.0/static/assets/styles/d57cce44.modules.css
    ravello-2.0/static/index.html
    ravello-2.0/static/META-INF/
    ravello-2.0/static/META-INF/MANIFEST.MF
    ravello-2.0/static/META-INF/maven/
    ravello-2.0/static/META-INF/maven/com.ravellosystems.ui/
    ravello-2.0/static/META-INF/maven/com.ravellosystems.ui/upload-wizard-ui/
    ravello-2.0/static/META-INF/maven/com.ravellosystems.ui/upload-wizard-ui/pom.properties
    ravello-2.0/static/META-INF/maven/com.ravellosystems.ui/upload-wizard-ui/pom.xml
    ravello-2.0/static/scripts/
    ravello-2.0/static/scripts/354fc610.modules.js
    ravello-2.0/static/scripts/d41d8cd9.plugins.js
    ravello-2.0/static/scripts/2876b253.scripts.js
    ravello-2.0/static/revision.txt
    ravello-2.0/ravello.egg-info/
    ravello-2.0/ravello.egg-info/PKG-INFO
    ravello-2.0/ravello.egg-info/SOURCES.txt
    ravello-2.0/ravello.egg-info/requires.txt
    ravello-2.0/ravello.egg-info/dependency_links.txt
    ravello-2.0/ravello.egg-info/top_level.txt
    ravello-2.0/ravello.egg-info/entry_points.txt
    ravello-2.0/cli.properties
    ravello-2.0/setup.py
    ravello-2.0/ravello/
    ravello-2.0/ravello/common/
    ravello-2.0/ravello/common/utils.py
    ravello-2.0/ravello/common/runner_thread.py
    ravello-2.0/ravello/common/upload_threads.py
    ravello-2.0/ravello/common/exception.py
    ravello-2.0/ravello/common/zendesk_client.py
    ravello-2.0/ravello/common/web_utils.py
    ravello-2.0/ravello/common/client.py
    ravello-2.0/ravello/common/proxy_detector.py
    ravello-2.0/ravello/common/init.py
    ravello-2.0/ravello/common/io_adapter.py
    ravello-2.0/ravello/common/process_status.py
    ravello-2.0/ravello/common/loading_status.py
    ravello-2.0/ravello/common/runner.py
    ravello-2.0/ravello/common/config.py
    ravello-2.0/ravello/common/upload_threads_ex.py
    ravello-2.0/ravello/common/s3_utils.py
    ravello-2.0/ravello/init.py
    ravello-2.0/ravello/api/
    ravello-2.0/ravello/api/utils.py
    ravello-2.0/ravello/api/init.py
    ravello-2.0/ravello/api/base.py
    ravello-2.0/ravello/api/upload_dtos.py
    ravello-2.0/ravello/api/ravello_client.py
    ravello-2.0/ravello/cli/
    ravello-2.0/ravello/cli/delete_command.py
    ravello-2.0/ravello/cli/cli_utils.py
    ravello-2.0/ravello/cli/fix_argparse.py
    ravello-2.0/ravello/cli/resume_command.py
    ravello-2.0/ravello/cli/init.py
    ravello-2.0/ravello/cli/RunServerCommand.py
    ravello-2.0/ravello/cli/ravello_cli.py
    ravello-2.0/ravello/cli/upload_command.py
    ravello-2.0/ravello/cli/list_upload.py
    ravello-2.0/ravello/cli/upload_disk_image_command.py
    ravello-2.0/ravello/cli/complex_argument.py
    ravello-2.0/ravello/cli/command.py
    ravello-2.0/ravello/cli/upload_vm_command.py
    ravello-2.0/ravello/imageloader/
    ravello-2.0/ravello/imageloader/server/
    ravello-2.0/ravello/imageloader/server/init.py
    ravello-2.0/ravello/imageloader/server/ravello_vm_import_server.py
    ravello-2.0/ravello/imageloader/init.py
    ravello-2.0/ravello/imageloader/client/
    ravello-2.0/ravello/imageloader/client/parsers/
    ravello-2.0/ravello/imageloader/client/parsers/image_meta_data_parse_utils.py
    ravello-2.0/ravello/imageloader/client/parsers/vmx_meta_data_parser.py
    ravello-2.0/ravello/imageloader/client/parsers/init.py
    ravello-2.0/ravello/imageloader/client/parsers/rvl_meta_data_parser.py
    ravello-2.0/ravello/imageloader/client/parsers/ovf_meta_data_parser.py
    ravello-2.0/ravello/imageloader/client/parsers/vmdk_parser.py
    ravello-2.0/ravello/imageloader/client/parsers/vm_generator.py
    ravello-2.0/ravello/imageloader/client/parsers/image_meta_data_parser.py
    ravello-2.0/ravello/imageloader/client/parsers/esx_vm_generator.py
    ravello-2.0/ravello/imageloader/client/init.py
    ravello-2.0/ravello/imageloader/client/store/
    ravello-2.0/ravello/imageloader/client/store/location.py
    ravello-2.0/ravello/imageloader/client/store/file_path_generator.py
    ravello-2.0/ravello/imageloader/client/store/upload_manager.py
    ravello-2.0/ravello/imageloader/client/store/init.py
    ravello-2.0/ravello/imageloader/client/store/base.py
    ravello-2.0/ravello/imageloader/client/store/chunk_upload_manager_producer.py
    ravello-2.0/ravello/imageloader/client/store/filesystem/
    ravello-2.0/ravello/imageloader/client/store/filesystem/init.py
    ravello-2.0/ravello/imageloader/client/store/filesystem/filesystem.py
    ravello-2.0/ravello/imageloader/client/store/chunk_upload_manager_consumer.py
    ravello-2.0/ravello/imageloader/client/store/store_factory.py
    ravello-2.0/ravello/imageloader/client/store/chunk_manager.py
    ravello-2.0/ravello/imageloader/client/store/progress_bar_ex.py
    ravello-2.0/ravello/imageloader/client/store/s3/
    ravello-2.0/ravello/imageloader/client/store/s3/s3.py
    ravello-2.0/ravello/imageloader/client/store/s3/s3_location.py
    ravello-2.0/ravello/imageloader/client/store/s3/init.py
    ravello-2.0/ravello/imageloader/client/store/s3/s3_part_uploader.py
    ravello-2.0/ravello/imageloader/client/store/s3/s3_simulator.py
    ravello-2.0/ravello/imageloader/client/store/s3/s3_latency_checker.py
    ravello-2.0/ravello/imageloader/client/store/s3/s3_chunk_upload_manager.py
    ravello-2.0/ravello/services/
    ravello-2.0/ravello/services/init.py
    ravello-2.0/ravello/services/upload_service.py
    ravello-2.0/ravello/services/loading_status.py
    ravello-2.0/ravello/services/store_file_service.py
    ravello-2.0/ravello/services/upload_database.py
    ravello-2.0/ravello/services/store_file.py
    ravello-2.0/ravello/services/json_database.py
    ravello-2.0/ravello/services/upload_record.py
    ravello-2.0/ravello/services/filelock.py
    ravello-2.0/ravello/services/storefile_database.py
    ravello-2.0/ravello/CHANGES
    ravello-2.0/ravello/resources/
    ravello-2.0/ravello/resources/esxdir.py
    ravello-2.0/ravello/resources/uploads.py
    ravello-2.0/ravello/resources/static_javascript_resource.py
    ravello-2.0/ravello/resources/init.py
    ravello-2.0/ravello/resources/upload_operations.py
    ravello-2.0/ravello/resources/filedir.py
    ravello-2.0/MANIFEST.in
    Traceback (most recent call last):
    File "setup.py", line 9, in <module>
    from ravello.common.config import get_utilities_dir
    File "/home/dave/Downloads/Ravello/ravello-2.0/ravello/common/config.py", line 22, in <module>
    from ravello.common.utils import get_ravello_home_directory
    File "/home/dave/Downloads/Ravello/ravello-2.0/ravello/common/utils.py", line 23, in <module>
    from pysphere.ZSI.client import _Binding
    ImportError: No module named pysphere.ZSI.client
    Setting permissions to run using the user 'dave'
    [dave@bigdev Ravello]$ yum install -y pysphere.ZSI.client
    Loaded plugins: langpacks, refresh-packagekit
    You need to be root to perform this command.
    [dave@bigdev Ravello]$ sudo !!
    sudo yum install -y pysphere.ZSI.client
    Loaded plugins: langpacks, refresh-packagekit
    No package pysphere.ZSI.client available.
    Error: Nothing to do

    The missing package is not within the ravello tar ball, not installable by yum.

    Any suggestions?

  • Avatar
    dudu gold

    Hi David, pysphere is required.
    please install using : "sudo pip install pysphere".

    Thanks for raising that.

  • Avatar
    David Egan

    Understood .. but note above shows pysphere library is NOT an option within Fedora

    Usage of 'pip' indicates Ubuntu version of linux, whereas this install is on Fedora 20

    Many libraries and interpreter type applications will differ in libraries available.

    [root@bigdev ~]# yum list all | grep pysphere

    In all the known fedora repositories, there is nothing known as pysphere

    [root@bigdev ~]# yum list all | grep sphere
    deltacloud-core-vsphere.noarch 1.1.3-1.fc20 fedora

    monkeysphere.noarch 0.35-8.fc20 fedora

    pgsphere.x86_64 1.1.1-7.fc20 fedora

    python-psphere.noarch 0.5.2-2.fc20 updates

    [root@bigdev ~]#

    [root@bigdev ~]# cat /etc/fedora-release
    Fedora release 20 (Heisenbug)
    [root@bigdev ~]#

    Added python-ZSI

    Traceback (most recent call last):
    File "setup.py", line 9, in <module>
    from ravello.common.config import get_utilities_dir
    File "/home/dave/Downloads/Ravello/ravello/ravello-2.0/ravello/common/config.py", line 22, in <module>
    from ravello.common.utils import get_ravello_home_directory
    File "/home/dave/Downloads/Ravello/ravello/ravello-2.0/ravello/common/utils.py", line 23, in <module>
    from pysphere.ZSI.client import _Binding
    ImportError: No module named pysphere.ZSI.client
    Setting permissions to run using the user 'root'
    [root@bigdev ravello]# yum list 'ZSI'
    Loaded plugins: langpacks, refresh-packagekit
    Installed Packages
    python-ZSI.noarch 2.1-5.fc20 @fedora
    [root@bigdev ravello]#

    Will try installing this on a ubuntu 15 host and see if ravello installs, check libraries and see if I can find the required library names

  • Avatar
    David Egan

    FURTHER to above, attempted install of ravello on ubuntu 15.04 - SAME FAILURE

    ...
    ravello-2.0/ravello/resources/filedir.py
    ravello-2.0/MANIFEST.in
    Traceback (most recent call last):
    File "setup.py", line 9, in <module>
    from ravello.common.config import get_utilities_dir
    File "/home/pta/Downloads/ravello/ravello-2.0/ravello/common/config.py", line 22, in <module>
    from ravello.common.utils import get_ravello_home_directory
    File "/home/pta/Downloads/ravello/ravello-2.0/ravello/common/utils.py", line 23, in <module>
    from pysphere.ZSI.client import Binding
    ImportError: No module named pysphere.ZSI.client
    Setting permissions to run using the user 'pta'
    pta@UB15DTvm:~/Downloads/ravello$ uname -a
    Linux UB15DTvm 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86
    64 x86_64 x86_64 GNU/Linux
    pta@UB15DTvm:~/Downloads/ravello$

    Same error code, same missing library

    pta@UB15DTvm:~/Downloads/ravello$ sudo pip install pysphere
    sudo: pip: command not found
    pta@UB15DTvm:~/Downloads/ravello$ sudo apt<TAB><TAB>
    apt apt-cdrom aptdcon apt-get apt-sortpkgs
    apt-add-repository apt-config apt-extracttemplates apt-key apturl
    apt-cache aptd apt-ftparchive apt-mark apturl-gtk

    pta@UB15DTvm:~/Downloads/ravello$ sudo apt-get pysphere
    E: Invalid operation pysphere

    pta@UB15DTvm:~/Downloads/ravello$ sudo apt install pysphere
    Reading package lists... Done
    Building dependency tree

    Reading state information... Done
    E: Unable to locate package pysphere
    pta@UB15DTvm:~/Downloads/ravello$

    GOOGLE SEARCH FOUND

    pysphere/ZSI/client.py

    https://github.com/gpmidi/pysphere/blob/.../pysphere/ZSI/client.py‎
    A Python API for interacting with VMware via its SOAP API. The official and stable API can be found here: http://code.google.com/p/pysphere/

    python-sphere-0.1.7-1.el6.rf.noarch RPM

    https://rpmfind.net/.../python-sphere-0.1.7-1.el6.rf.noarch.html‎
    4 Oct 2012 ... Url: http://code.google.com/p/pysphere/. Summary: Python API for interaction with the ... /usr/lib/python2.6/site-packages/pysphere/ZSI/client.py ...

    GettingStarted - pysphere - vSphere SDK for python - Google Project ...

    https://code.google.com/p/pysphere/wiki/GettingStarted‎
    9 Feb 2012 ... PySphere can interact with ESX, ESXi, Virtual Center, Virtual Server, ...... File "C:\ Python27\lib\site-packages\pysphere\ZSI\client.py", line 544, in.

    RPM OpenSuSE python-pysphere 0.1.8 i586 rpm

    rpm.pbone.net/index.../python-pysphere-0.1.8-1.1.i586.rpm.html‎
    24 Nov 2013 ... /usr/lib/python2.6/site-packages/pysphere/ZSI/client.py /usr/lib/python2.6/site- packages/pysphere/ZSI/client.pyc

    FOLLOWED UP ON ONE OF THESE LINKS AND FOUND

    === https://code.google.com/p/pysphere/ ===

    PySphere
    IMPORTANT

    Since 2013 I'm NOT LONGER MAINTAINING this project. I moved to a new country and started working with new technologies so I haven't been able to follow up. Since then a few forks from pysphere have been created and VMWare has released its

    <URL>official python bindings</URL https://developercenter.vmware.com/-/vmware-vsphere-api-python-bindings> FAILED

    for vSphere that you may want to check out.

    I've migrated the project to github (https://github.com/argos83/pysphere) so it's easy for you to fork it if you want to keep the library updated.
    Python API for interaction with the vSphere Web Services SDK.

    Among other operations, it provides easy interfaces to:

    Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts
    Query hosts, datacenters, resource pools, virtual machines
    VM: Power on, power off, reset, revert to snapshot, get properties, update vmware tools, clone, migrate.
    vSphere 5.0 Guest Operations: create/delete/move files and directories. Upload/download files from the guest system. List/start/stop processes in the guest system.
    Create and delete snapshots
    Hosts statistics and performance monitoring
    An of course, you can use it to access all the vSphere API through python.

    It's built upon a slightly modified version of ZSI (that comes bundled-in) which makes it really fast in contrast to other python SOAP libraries that don't provide code generation.

    NOTICED ALL THE DOWNLOADS FROM THIS SITE WERE FOR WINDOWS OS VERSIONS.

    Downloaded the pysphere-0.1.8.zip file and will try installing into fedora and or ubuntu

  • Avatar
    dudu gold

    Sorry David i'm somehow got lost in your latest stacktrace and output, however regarding your "
    pta@UB15DTvm:~/Downloads/ravello$ sudo pip install pysphere
    sudo: pip: command not found " Error

    pip is a package management system used for installing packages written in python. So first install pip using:
    sudo apt-get install python-pip

    hope it helps. regarding fedora, i cannot vouch, however ubuntu is in our support and testing matrix, so it should work for 100%. the pysphere issue can be mitigated by installing the package as described earlier, and we will make sure to add it to the build in our next release.

  • Avatar
    dudu gold
    Hi all, the issue described below regarding pyshere installation issue for linux import-tool-cli is fixed in the latest version
  • Avatar
    David Egan
    Excellent, now it works! For FEDORA $ sudo yum install python-pip # or use 'dnf install..' for Fedora 21+ .. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python-pip noarch 1.4.1-1.fc20 fedora 762 k .. $ sudo pip install pysphere [root@bigdev dave]# pip install pysphere Downloading/unpacking pysphere Downloading pysphere-0.1.7.zip (516kB): 516kB downloaded Running setup.py egg_info for package pysphere .... then follow the normal procedure, download tar ball, extract, invoke install script FINALLY have to turn on the server service locally BELOW IS THE COMMAND LINE OUTPUT greatly truncated for brevity of the final step to install ravello file sharing service on Fedora [root@bigdev dave]# cd Downloads/Ravello/ravello/ [root@bigdev ravello]# tar xzf ravello-2.0.tar.gz ; ls installer.sh pysphere-0.1.8.zip ravello-2.0.tar.gz README [root@bigdev ravello]# ./installer.sh This script must be run using 'sudo'. Run: sudo ./installer.sh [root@bigdev ravello]# sudo ./installer.sh /bin/python ravello-2.0/ ravello-2.0/setup.cfg ravello-2.0/PKG-INFO ravello-2.0/config.properties ravello-2.0/static/ . . [MANY LINES trunctate] ravello-2.0/ravello/resources/filedir.py ravello-2.0/MANIFEST.in running install running bdist_egg running egg_info writing requirements to ravello.egg-info/requires.txt writing ravello.egg-info/PKG-INFO . . [MANY HUNDREDS OF LINES truncated] byte-compiling build/bdist.linux-x86_64/egg/ravello/resources/__init__.py to __init__.pyc installing package data to build/bdist.linux-x86_64/egg running install_data creating /opt/ravello creating /opt/ravello/image_tool creating /opt/ravello/image_tool/static copying /home/dave/Downloads/Ravello/ravello/ravello-2.0/static/index.html -> /opt/ravello/image_tool/static .. [ HUNDREDS of lines removed] wizard-ui creating build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying ravello.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/ravello-2.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it ..[MORE TRUNCATED LINES missing here] Installed /usr/lib/python2.7/site-packages/argparse-1.4.0-py2.7.egg Searching for jsonpickle Reading https://pypi.python.org/simple/jsonpickle/ Best match: jsonpickle 0.9.2 Downloading https://pypi.python.org/packages/source/j/jsonpickle/jsonpickle-0.9.2.tar.gz#md5=579a44c19ae55af83cb7b0437dfbe7e3 Processing jsonpickle-0.9.2.tar.gz . . [NOTE NEED INTERNET ACCESS FOR INSTALL TO COMPLETE ] Using /usr/lib/python2.7/site-packages Finished processing dependencies for ravello==2.0 Setting permissions to run using the user 'root' [root@bigdev ravello]# less README [root@bigdev ravello]# cat README Requirements for installing Ravello's Python package: - Python 2.6 or Python 2.7 - python-setuptools (can be downloaded using apt-get on Debian-based OS or yum on RedHat-based OS) To install the package, run installer.sh as root. To run ravello from the command line, type "ravello". To import using the ravello UI, run "ravello_vm_import_server" in your terminal. Then, you can use ravello's management console at https://cloud.ravellosystems.com to initiate and control the import process. To start a new import process using the ravello management console, go to the Library tab and click the Import button. [root@bigdev ravello]# ravello_vm_import_server ^Z [1]+ Stopped ravello_vm_import_server [root@bigdev ravello]# bg [1]+ ravello_vm_import_server & Now the GUI tool will function to allow upload of ISO images. Good Luck
  • Avatar
    David Egan
    Sorry about last posting , looked a lot better when I pasted it, got squished together. Installation does work after installing python-pip with yum, then using the resultant pip command to install pysphere, which allows the normal installation script to work. Just have to start the service at the end of install script, as mentioned after the install.
  • Avatar
    Lynn Dixon
    I am trying to install this on a CentOS 6.7 machine and getting the following: [boodaddy@samba ravello]$ ravello Traceback (most recent call last): File "/usr/bin/ravello", line 9, in load_entry_point('ravello==2.0', 'console_scripts', 'ravello')() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point return ep.load() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.6/site-packages/ravello-2.0-py2.6.egg/ravello/cli/ravello_cli.py", line 5, in from ravello.cli.delete_command import DeleteCommand File "/usr/lib/python2.6/site-packages/ravello-2.0-py2.6.egg/ravello/cli/delete_command.py", line 3, in from ravello.resources.upload_operations import UploadOperations File "/usr/lib/python2.6/site-packages/ravello-2.0-py2.6.egg/ravello/resources/upload_operations.py", line 9, in from ravello.services.upload_database import UploadDatabase File "/usr/lib/python2.6/site-packages/ravello-2.0-py2.6.egg/ravello/services/upload_database.py", line 6, in from ravello.services.json_database import JsonDatabase File "/usr/lib/python2.6/site-packages/ravello-2.0-py2.6.egg/ravello/services/json_database.py", line 133 return {k:all_objects[k] for k in all_objects if not((hasattr(all_objects[k],'status') and all_objects[k].status == "DELETED"))} ^ SyntaxError: invalid syntax I have installed pysphere. Not sure where to go from here.
  • Avatar
    Tal Varkel
    Please make sure you have python 2.7 installed
  • Avatar
    Nathan Reller

    2017-05-17 15:55:26,821 140420853696320 cli INFO [debug_log] Running import tool revision 100009
    2017-05-17 15:55:26,829 140420853696320 common.client INFO Going to send: POST ParseResult(scheme='https', netloc='cloud.ravellosystems.com', path='/services/login', params='', query=None, fragment=''), headers: {'Content-Type': 'application/json', 'Authorization': '********************', 'Accept': 'application/json, text/*'}, body:None
    2017-05-17 15:55:27,293 140420853696320 common.client INFO Going to send: POST ParseResult(scheme='https', netloc='cloud.ravellosystems.com', path='/services/imagetool/compareVersion/100009', params='', query=None, fragment=''), headers: {'Content-Type': 'application/json', 'Cookie': 'JSESSIONID=aa6c2568-711f-4ce7-bc1b-6a5123562cf9; Path=/; HttpOnly, rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Tue, 16-May-2017 19:55:40 GMT', 'Accept': 'application/json, text/*'}, body:None
    2017-05-17 15:55:27,346 140420853696320 cli ERROR Exception raised during CLI command, log file path is: /home/me/.ravello/logs/05_17_2017/105986_ravello_cli.log
    Traceback (most recent call last):
    File "ravello/cli/ravello_cli.py", line 109, in run
    File "/opt/upload_tool/export/ravello/cli/upload_command.py", line 31, in execute_command
    File "/opt/upload_tool/export/ravello/cli/upload_disk_image_command.py", line 23, in upload
    File "/opt/upload_tool/export/ravello/cli/upload_command.py", line 70, in _upload_from_file
    File "/opt/upload_tool/export/ravello/resources/upload_operations.py", line 109, in upload_from_source_to_destination
    File "/opt/upload_tool/export/ravello/resources/upload_operations.py", line 98, in _setup_upload_to_cloud
    File "/opt/upload_tool/export/ravello/resources/upload_operations.py", line 112, in _setup_upload_from_disk
    File "/opt/upload_tool/export/ravello/services/upload_service.py", line 162, in upload_disk
    File "/opt/upload_tool/export/ravello/services/upload_service.py", line 700, in _verify_disks
    File "/opt/upload_tool/export/ravello/services/upload_service.py", line 482, in _verify_disks_exist_and_permissions
    File "/opt/upload_tool/export/ravello/services/store_file.py", line 22, in verify_readable
    File "/opt/upload_tool/export/ravello/common/exception.py", line 445, in __init__
    File "/usr/local/lib/python2.7/site-packages/web/webapi.py", line 46, in __init__
    File "/usr/local/lib/python2.7/site-packages/web/webapi.py", line 276, in header
    AttributeError: 'ThreadedDict' object has no attribute 'headers'

Powered by Zendesk