{"action":"created","issue":{"url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/6","repository_url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning","labels_url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/6/comments","events_url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/6/events","html_url":"https://github.com/cmusatyalab/elijah-provisioning/issues/6","id":193995241,"number":6,"title":"cloudlet with ”-m“ option goes wrong","user":{"login":"t00197857","id":20056982,"avatar_url":"https://avatars.githubusercontent.com/u/20056982?v=3","gravatar_id":"","url":"https://api.github.com/users/t00197857","html_url":"https://github.com/t00197857","followers_url":"https://api.github.com/users/t00197857/followers","following_url":"https://api.github.com/users/t00197857/following{/other_user}","gists_url":"https://api.github.com/users/t00197857/gists{/gist_id}","starred_url":"https://api.github.com/users/t00197857/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t00197857/subscriptions","organizations_url":"https://api.github.com/users/t00197857/orgs","repos_url":"https://api.github.com/users/t00197857/repos","events_url":"https://api.github.com/users/t00197857/events{/privacy}","received_events_url":"https://api.github.com/users/t00197857/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-07T09:14:38Z","updated_at":"2016-12-07T09:30:25Z","closed_at":null,"body":"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：  \r\n\r\n\r\ntx@tx-HP-Compaq-8200-Elite-MT-PC:~$  cloudlet overlay -m /home/tx/.cloudlet/abda52a61692094b3b7d45c9647d022f5e297d1b788679eb93735374007576b8/precise.raw\r\nINFO     QEMU access file : /tmp/cloudlet-qemu-Dryunx/qemu-trim-log\r\nINFO     start monitoring at /var/tmp/cloudletfs-Xz9fnc/disk/streams/chunks_modified\r\nINFO     start monitoring at /var/tmp/cloudletfs-Xz9fnc/disk/streams/chunks_accessed\r\nINFO     start monitoring at /var/tmp/cloudletfs-Xz9fnc/memory/streams/chunks_accessed\r\nINFO     start monitoring at /tmp/cloudlet-qemu-Dryunx/qemu-trim-log\r\nINFO     * Overlay creation configuration\r\nINFO       - {'DISK_ONLY': False,\r\n 'FREE_SUPPORT': True,\r\n 'TRIM_SUPPORT': True,\r\n 'XRAY_SUPPORT': False,\r\n 'ZIP_CONTAINER': True}\r\nINFO     restoring VM...\r\nINFO     VM is restored...\r\nINFO     waiting for finishing VNC interaction\r\nINFO     stop monitoring at /var/tmp/cloudletfs-Xz9fnc/memory/streams/chunks_accessed\r\nINFO     save VM memory state\r\nDEBUG    start machine save\r\nINFO     Header size of memory snapshot is 8192\r\n[================================================================================>] 100%\r\nDEBUG    finish machine save\r\nWARNING  No TRIM Discard, Check /etc/fstab configuration\r\nINFO     Get memory delta\r\nDEBUG    1.get modified page list\r\nERROR    failed : reasons - invalid header format: no total memory size, args - {}\r\nERROR    failed at Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py\", line 93, in decorated_function\r\n    return function(self, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py\", line 257, in create_overlay\r\n    self.modified_mem.name)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py\", line 839, in get_overlay_deltalist\r\n    free_memory_info=free_memory_dict)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py\", line 439, in create_memory_deltalist\r\n    free_memory_info=free_memory_info)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py\", line 365, in get_modified\r\n    apply_free_memory=apply_free_memory)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py\", line 271, in _load_file\r\n    ram_end_offset, ram_info = Memory._seek_to_end_of_ram(fin)\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/memory.py\", line 197, in _seek_to_end_of_ram\r\n    raise MemoryError(\"invalid header format: no total memory size\")\r\nMemoryError: invalid header format: no total memory size\r\n\r\nINFO     close Stream monitoring thread\r\nINFO     Fuse close pipe\r\nINFO     NO chunks has been waited at FUSE\r\nINFO     close Fuse Exec thread\r\nINFO     close File monitoring thread\r\nERROR    Traceback (most recent call last):\r\n  File \"/usr/local/bin/cloudlet\", line 195, in main\r\n    vm_overlay.create_overlay()\r\n  File \"/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py\", line 102, in decorated_function\r\n    raise \r\nMemoryError: invalid header format: no total memory size\r\n\r\nFailed to create overlay\r\n"},"comment":{"url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/comments/265398749","html_url":"https://github.com/cmusatyalab/elijah-provisioning/issues/6#issuecomment-265398749","issue_url":"https://api.github.com/repos/cmusatyalab/elijah-provisioning/issues/6","id":265398749,"user":{"login":"t00197857","id":20056982,"avatar_url":"https://avatars.githubusercontent.com/u/20056982?v=3","gravatar_id":"","url":"https://api.github.com/users/t00197857","html_url":"https://github.com/t00197857","followers_url":"https://api.github.com/users/t00197857/followers","following_url":"https://api.github.com/users/t00197857/following{/other_user}","gists_url":"https://api.github.com/users/t00197857/gists{/gist_id}","starred_url":"https://api.github.com/users/t00197857/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t00197857/subscriptions","organizations_url":"https://api.github.com/users/t00197857/orgs","repos_url":"https://api.github.com/users/t00197857/repos","events_url":"https://api.github.com/users/t00197857/events{/privacy}","received_events_url":"https://api.github.com/users/t00197857/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T09:30:25Z","updated_at":"2016-12-07T09:30:25Z","body":"Besides，I have a question about the issue about  profilng for chunks in order。 “This part (in FUSE file system) tells you disk & memory access order when the VM is launched. Base on this information, you can create your own profiler“. Do you have a specific method about how to create the profiler If the access order information is known by us？Thanks very much。\r\n\r\n”\r\n"}}
{"actor":{"display_login":"t00197857"}}