Giter Club home page Giter Club logo

elijah-provisioning's People

Contributors

jaharkes avatar krha avatar msateesh900 avatar saikirantyson7 avatar teiszler avatar

Stargazers

 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  avatar

elijah-provisioning's Issues

a question about early start

Hello。 I have a question about early start。As the paper “Just-in-Time Provisioning for Cyber Foraging” said,“We make a reasonable attempt to order the chunks according to a profiled access pattern
computed offline”,and I studied the code under this project,I haven’t found the corresponding code about how to make chucks in order。maybe I'm not careful enough,can you help me?

cloudlet with ”-m“ option goes wrong

thanks for your last reply。In addition,I‘m very intrested in your study。I have succeeded in making such a overlay without “-m“,but with the “-m” option(I want to test free memory ),it went wrong。 I don‘t understand this。 Does this option really support ,or maybe something is wrong with me。(The precise.raw comes from yours)The log is as below:

tx@tx-HP-Compaq-8200-Elite-MT-PC:~$ cloudlet overlay -m /home/tx/.cloudlet/abda52a61692094b3b7d45c9647d022f5e297d1b788679eb93735374007576b8/precise.raw
INFO QEMU access file : /tmp/cloudlet-qemu-Dryunx/qemu-trim-log
INFO start monitoring at /var/tmp/cloudletfs-Xz9fnc/disk/streams/chunks_modified
INFO start monitoring at /var/tmp/cloudletfs-Xz9fnc/disk/streams/chunks_accessed
INFO start monitoring at /var/tmp/cloudletfs-Xz9fnc/memory/streams/chunks_accessed
INFO start monitoring at /tmp/cloudlet-qemu-Dryunx/qemu-trim-log
INFO * Overlay creation configuration
INFO - {'DISK_ONLY': False,
'FREE_SUPPORT': True,
'TRIM_SUPPORT': True,
'XRAY_SUPPORT': False,
'ZIP_CONTAINER': True}
INFO restoring VM...
INFO VM is restored...
INFO waiting for finishing VNC interaction
INFO stop monitoring at /var/tmp/cloudletfs-Xz9fnc/memory/streams/chunks_accessed
INFO save VM memory state
DEBUG start machine save
INFO Header size of memory snapshot is 8192
[================================================================================>] 100%
DEBUG finish machine save
WARNING No TRIM Discard, Check /etc/fstab configuration
INFO Get memory delta
DEBUG 1.get modified page list
ERROR failed : reasons - invalid header format: no total memory size, args - {}
ERROR failed at Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 93, in decorated_function
return function(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 257, in create_overlay
self.modified_mem.name)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 839, in get_overlay_deltalist
free_memory_info=free_memory_dict)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py", line 439, in create_memory_deltalist
free_memory_info=free_memory_info)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py", line 365, in get_modified
apply_free_memory=apply_free_memory)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py", line 271, in _load_file
ram_end_offset, ram_info = Memory._seek_to_end_of_ram(fin)
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py", line 197, in _seek_to_end_of_ram
raise MemoryError("invalid header format: no total memory size")
MemoryError: invalid header format: no total memory size

INFO close Stream monitoring thread
INFO Fuse close pipe
INFO NO chunks has been waited at FUSE
INFO close Fuse Exec thread
INFO close File monitoring thread
ERROR Traceback (most recent call last):
File "/usr/local/bin/cloudlet", line 195, in main
vm_overlay.create_overlay()
File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 102, in decorated_function
raise
MemoryError: invalid header format: no total memory size

Failed to create overlay

Export base VM

Hi, I just start learning about your project so this is a very basic question. I was wondering whether it is possible to export a base VM image according to the base VM raw data you provide. I just tried to use command cloudlet export-base [the location I want to put my *.img file][the name I want to use] but a get an error 'Cannot find matching base disk'. I have added the base VM raw data in the list so I get confused how to fix it. Thank you for your answer.

Password issue.

Hi,

After cloning the repository when I am trying to run the following command getting the password error.

test@ubuntu-big:/home/ubuntu/elijah-provisioning$ fab install
[localhost] Executing task 'install'
[localhost] run: egrep '^flags.*(vmx|svm)' /proc/cpuinfo > /dev/null
[localhost] Login password for 'test':
[localhost] Login password for 'test':
[localhost] Login password for 'test':
[localhost] Login password for 'test':

Even though I am entering the correct password, its not accepting the password. I tried with different users but getting the same error.

Can you please help me out if I am missing something. ?

Thanks
Ankit

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.