GithubHelp home page GithubHelp logo

sei-tas / pycloud Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 12.0 10.29 MB

Server software to manage virtualized services on a KVM-based discoverable cloudlet (Cloudlet Server component of the KD-Cloudlet.project)

License: Other

Python 77.99% CSS 0.63% JavaScript 8.10% HTML 10.10% Shell 2.25% C 0.93%

pycloud's People

Contributors

dependabot[bot] avatar dklinedinst avatar galewis avatar jdroot avatar keeganw avatar sebastian-echeverria avatar sei-secheverria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pycloud's Issues

Create New Service

I’m trying to implement a cloudlet-based cyber foraging system using the code. I have a Linux server running PyCloud. The cloudlet is discoverable, which I can verify by running cloudlet-client app from Android device. But when I run speech-android from Android device, it cannot find the related service. I tried two ways of Create New Service (from web-based Cloudlet Manager): 1. Create New VM Image: import a blank VM image, SSH to VM, download and start the speech-server; 2. Select Existing VM Image: import a VM image, which auto-starts the speech-server. However, neither way worked. My understanding of the problem is that the service has not been loaded to the cloudlet successfully. But I could not identify the reason. I failed to find further information about creating services from the website.

Can you give me some hints about my problem? Also, if possible, can you provide a sample VM that can be used to provide service?

How do these functions be tested?

Hello, I recently reviewed two papers about this project: 1Cyber-Foraging for Improving Survivability of Mobile Systems 2.Establishing Trusted Identities in Disconnected Edge Environments. And I have tried Speech Client (3.0.1) and Cloudlet Client (3.4.1), pycloud (3.0.2) to test the function of communication in the same LAN. My question is as follows:
1 Regarding the “Sign out” function, where is the database storing Username and Password located?
2. Regarding the Devices function, I read the paper saying that it can be connected by Usb/Bluetooth ,but I have not tried it successfully. What should I do specifically?
3.About Migrate ServiceVM, I can find other cloudlets in the same LAN, but there are also problems of Migrating ServiceVM . What should I do specifically?
Looking forward to your reply.

On-Demand VM Provisioning

Does pycloud support On-Demand VM Provisioning so that the mobile device can create Service VM's on the Cloudlet Server based on the requirement? Instead of having pre-defined services in the Cloudlet Server, it is possible for the mobile device or a client to deploy a Service on the Cloudlet Server based on it's need, possibly by the usage of VM-Overlays?

This is more like a question rather than an issue.

debsign failed

I am Final year engineering student, I am trying to implement cloudlet to understand it better . While trying to build the package I get the following error.

Finished running lintian.
Now signing changes and any dsc files...
signfile python-pycloud_0.2.0.dsc Shajitha shifa [email protected]
gpg: skipped "Shajitha shifa [email protected]": secret key not available
gpg: /tmp/debsign.KAN91f9X/python-pycloud_0.2.0.dsc: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1283:
running debsign failed

and my changelog file contains the following details
python-pycloud (0.2.0) unstable; urgency=medium

  • Adds security support for the trusted identity work.

    -- Shajitha shifa [email protected] Fri, 8 Jun 2015 11:38:51 -0400

python-pycloud (0.1) precise; urgency=medium

  • Initial release. (Closes: #0)

    -- James Root [email protected] Fri, 30 May 2014 11:38:51 -0400

Can you please help me how to solve this issue.

Thanks in advance
Shajitha

I get an error when I import the csvm file.

Hello, I found that when importing the csvm file, there will be unpacking errors. This problem will directly affect the next operation of service instantiation. This error is as follows:

image

I found out by debugging that there was a problem with line 259 of the file, ~\pycloud\pycloud\model\servicevm.py
Line 99 of the file, ~\pycloud\pycloud\vm\vmsavedstate.py,

Looking forward your reply.

Internal Service Error

We were trying to load a .qcow2 image into VM and it shows internal service error. Can you please let us know how to debug. It will be great if we can have communication over phone or email. Please contact me at [email protected].

Awaiting you reply.

Thanks in advance

Does this project contain Dynamic VM Synthesis technology?

Hello。I studied the code of pycloud under https://github.com/SEI-AMS/pycloud. But I found that the Dynamic VM Synthesis approach is NOT implemented in this project. And I cannot find any descriptions about baseVM and launchVM in the project wiki pages. It seems that the code doesn’t match the process described in the two papers, Transient Customization of Mobile Computing Infrastructure-mobivirt2008 and The Case for VM-based Cloudlets in Mobile Computing. Am I right? I’m not so sure about this.

Need to send audio several times from Speech Client to Speech Server before it replies

It seems that the VM is sometimes taking too long when starting up, but it is incorrectly reporting to pycloud that it is ready for connections. This leads to apps like Speech Client to start sending data to Speech Server, even though Speech Server is still not likely listening for requests.

If this is the issue, the problem is that the current way to detect when the server inside the VM is ready for incoming connections does not work on certain qemu network configurations, and that is probably the case with the current configuration that uses port forwarding. There may not be an easy way to fix this. A workaround would be to add a fixed delay to give the VM some time to be actually ready.

Originally posted by @sebastian-echeverria in #9 (comment)

Create VM - Internal Server Error

I'm trying to "Create New VM Image" using Cloudlet Manager. After importing a blank VM, when I click "Save from SVM", it shows the error "There was a problem saving SVM: Internal Server Error". Can you help me figure it out? Below is the log message I got from Cloudlet Manager:


Exception happened during processing of request from ('127.0.0.1', 60980)
Traceback (most recent call last):
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/paste/httpserver.py", line 1085, in process_request_in_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 655, in init
self.handle()
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/paste/httpserver.py", line 459, in handle
BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/paste/httpserver.py", line 454, in handle_one_request
self.wsgi_execute()
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/paste/httpserver.py", line 306, in wsgi_execute
for chunk in result:
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/paste/registry.py", line 409, in streaming_iter
for item in self.application(environ, start_response):
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/beaker/middleware.py", line 155, in call
return self.wrap_app(environ, session_start_response)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/routes/middleware.py", line 136, in call
response = self.app(environ, start_response)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/wsgiapp.py", line 103, in call
response = self.dispatch(controller, environ, start_response)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/wsgiapp.py", line 313, in dispatch
return controller(environ, start_response)
File "/home/wiman/pycloud/pycloud/pycloud/pylons/lib/base.py", line 53, in call
ret = WSGIController.call(self, environ, start_response)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 214, in call
response = self._dispatch_call()
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 164, in _dispatch_call
response = self._inspect_call(func)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 107, in _inspect_call
result = self._perform_call(func, args)
File "/home/wiman/pycloud/env/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 57, in _perform_call
return func(*_args)
File "/home/wiman/pycloud/pycloud/pycloud/pylons/lib/util.py", line 100, in _asjson
return _handler(f(_args, **kwargs))
TypeError: GET_saveInstanceToRoot() takes exactly 2 arguments (1 given)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.