sei-tas / pycloud Goto Github PK
View Code? Open in Web Editor NEWServer software to manage virtualized services on a KVM-based discoverable cloudlet (Cloudlet Server component of the KD-Cloudlet.project)
License: Other
Server software to manage virtualized services on a KVM-based discoverable cloudlet (Cloudlet Server component of the KD-Cloudlet.project)
License: Other
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?
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.
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.
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
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:
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.
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
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.
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)
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)
Hello, I want to process the data returned by the speech server to Android. What file is the code that controls the return data?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.