You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by hanan alobaidli <ha...@hotmail.com> on 2014/11/19 15:39:42 UTC

Not able to add DevCloud as a hypervisor

Hello, 

I am new with cloudstack and I am trying to install it on my laptop. 

I was able to run the management server but the problem I am facing now is with the addition of   DevCloud as a hypervisor

I am using cloudstack 4.6.0 developer mode

The steps that I have followed are: 

mvn -Pdeveloper,systemvm clean install  (build success) 
mvn -Pdeveloper -pl developer,tools/devcloud -Ddeploydb (build success)

Then When I am trying to install Marvin using the following command: 
pip install tools/marvin/dist/Marvin-0.1.0.tar.gz

I get an error message as follow: 
Requirement 'tools/marvin/dist/Marvin-0.1.0.tar.gz' looks like a filename, but the file does not exist
Unpacking ./tools/marvin/dist/Marvin-0.1.0.tar.gz
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1197, in prepare_files
    do_download,
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1364, in unpack_url
    unpack_file_url(link, location, download_dir)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 640, in unpack_file_url
    unpack_file(from_path, location, content_type, link)
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 623, in unpack_file
    or tarfile.is_tarfile(filename)
  File "/usr/lib/python2.7/tarfile.py", line 2589, in is_tarfile
    t = open(name)
  File "/usr/lib/python2.7/tarfile.py", line 1660, in open
    return func(name, "r", fileobj, **kwargs)
  File "/usr/lib/python2.7/tarfile.py", line 1722, in gzopen
    fileobj = bltn_open(name, mode + "b")
IOError: [Errno 2] No such file or directory: '/home/blue/cloudstack/tools/marvin/dist/Marvin-0.1.0.tar.gz'

Storing debug log for failure in /home/blue/.pip/pip.log

Engr. Hanan Alobaidli BSc(CE), MSc(CE), MCTS, CISA, CISSP AssociateThe Department of Electrical & Computer Engineering, University of Sharjah, UAE 		 	   		  

RE: Not able to add DevCloud as a hypervisor

Posted by Santhosh Edukulla <sa...@citrix.com>.
Hello Hanan,

Check "Marvin-0.1.0.tar.gz" file exists under "tools/marvin/dist/" directory. The name would have been changed to some thing related to version 4.6. After that change that accordingly in the below cmd.

pip install tools/marvin/dist/Marvin-0.1.0.tar.gz

Santhosh
________________________________________
From: hanan alobaidli [hanan_alobaidli@hotmail.com]
Sent: Wednesday, November 19, 2014 9:39 AM
To: users@cloudstack.apache.org
Subject: Not able to add DevCloud as a hypervisor

Hello,

I am new with cloudstack and I am trying to install it on my laptop.

I was able to run the management server but the problem I am facing now is with the addition of   DevCloud as a hypervisor

I am using cloudstack 4.6.0 developer mode

The steps that I have followed are:

mvn -Pdeveloper,systemvm clean install  (build success)
mvn -Pdeveloper -pl developer,tools/devcloud -Ddeploydb (build success)

Then When I am trying to install Marvin using the following command:
pip install tools/marvin/dist/Marvin-0.1.0.tar.gz

I get an error message as follow:
Requirement 'tools/marvin/dist/Marvin-0.1.0.tar.gz' looks like a filename, but the file does not exist
Unpacking ./tools/marvin/dist/Marvin-0.1.0.tar.gz
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1197, in prepare_files
    do_download,
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1364, in unpack_url
    unpack_file_url(link, location, download_dir)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 640, in unpack_file_url
    unpack_file(from_path, location, content_type, link)
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 623, in unpack_file
    or tarfile.is_tarfile(filename)
  File "/usr/lib/python2.7/tarfile.py", line 2589, in is_tarfile
    t = open(name)
  File "/usr/lib/python2.7/tarfile.py", line 1660, in open
    return func(name, "r", fileobj, **kwargs)
  File "/usr/lib/python2.7/tarfile.py", line 1722, in gzopen
    fileobj = bltn_open(name, mode + "b")
IOError: [Errno 2] No such file or directory: '/home/blue/cloudstack/tools/marvin/dist/Marvin-0.1.0.tar.gz'

Storing debug log for failure in /home/blue/.pip/pip.log

Engr. Hanan Alobaidli BSc(CE), MSc(CE), MCTS, CISA, CISSP AssociateThe Department of Electrical & Computer Engineering, University of Sharjah, UAE