Hi @krha,
thanks for the support as always. I summarize my issues:
Incompatibility of my own base on different CPU (AMD and Intel)
-
OVERLAY
Both the machines have cloudlet standalone working. Cloudlet import command succeeds; but, when i execute cloudlet overlay command, the VNC console is completely stuck: I can't ssh neither type in. Only I can close the console, and the resulting log (start creation overlay) is this:
sudo cloudlet overlay .cloudlet/a7e7e64874891cf1618eced9d2b5f74da0ccbc118b617f4379590df6ca1f165f/ub14serv64DESK_java.img
INFO QEMU access file : /tmp/cloudlet-qemu-3oSO6g/qemu-trim-log
INFO start monitoring at /var/tmp/cloudletfs-61XQOi/disk/streams/chunks_modified
INFO start monitoring at /var/tmp/cloudletfs-61XQOi/disk/streams/chunks_accessed
INFO start monitoring at /var/tmp/cloudletfs-61XQOi/memory/streams/chunks_accessed
INFO start monitoring at /tmp/cloudlet-qemu-3oSO6g/qemu-trim-log
INFO * Overlay creation configuration
INFO - {'DISK_ONLY': False,
'FREE_SUPPORT': False,
'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-61XQOi/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
INFO Get hash list of memory page
[===============================================================================>.] 99%
DEBUG FREE Memory Counter: 0(0)
INFO Get disk delta
DEBUG 1.get modified disk page
DEBUG 1-1. Trim(0, overwritten after trim(0)), Xray(0)
INFO Generate VM overlay using deduplication
DEBUG 2-1.Find zero page
DEBUG matching (0/226) with base
DEBUG 2-2.get delta from base Memory
DEBUG matching (0/226) with base
DEBUG 2-3.get delta from base Disk
DEBUG matching (0/226) with base
DEBUG 3.get delta from itself
DEBUG self delta : 0/226
INFO Print statistics
INFO --------------------------------------------------
INFO Total Modified Disk # : 0 ( 100 %, 0.000000 MB )
INFO No disk modification
INFO Total Modified Memory # : 226 ( 100 %, 0.027471 MB)
INFO FREE discard : 0 ( 0.000000 % )
INFO Zero pages : 0 ( 0.000000 % )
INFO Shared with Base Disk : 0 ( 0.000000 % )
INFO Shared with Base Mem : 0 ( 0.000000 % )
INFO Shared within Self : 0 ( 0.000000 % )
INFO Shared with Overlay Disk : 0 ( 0.000000 % )
INFO Shared with Overlay Mem : 0 ( 0.000000 % )
INFO xdelta : 226 ( 100.000000 %, real_size: 24511 KB )
INFO raw : 0 ( 0.000000 %, real_size: 0 KB )
INFO --------------------------------------------------
INFO [LZMA] Compressing overlay blobs (/tmp/cloudlet-overlay-PQ5_SU/overlay-meta)
DEBUG Overlay Compression time: 0.064088, delta_item: 226
DEBUG Total Overlay Size : 19472
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
meta file : (1325) bytes
blob file : (19472) bytes (overlay-blob_1.xz)
zip overhead : (251) bytes
overlay file at : /tmp/cloudlet-overlay-PQ5_SU/overlay.zip
-
SYNTHESIS
The synthesis of the overlay succeeds, but I have the same problem with the VNC console stuck. The respective logs of client and server are:
sudo synthesis_client -s localhost -u http://127.0.0.1:54321/overlays/overlay-os.zip
Synthesis SUCCESS
type 'q' to quit : q
{'App End at (s)': 10.263102054595947,
'App Start at (s)': 2.8142518997192383,
'Header Transfer End at (s)': 0.0005710124969482422,
'Synthesis Finishes at (s)': 2.81400990486145,
'command': 19,
'session_id': 67537851228157445}
SUCCESS in Provisioning
The Server:
sudo synthesis_server
INFO --------------------------------------------------
INFO * Base VM Configuration
INFO 0 : /home/solinux/.cloudlet/a7e7e64874891cf1618eced9d2b5f74da0ccbc118b617f4379590df6ca1f165f/ub14serv64DESK_java.img (Disk 8192 MB, Memory 1040 MB)
INFO --------------------------------------------------
INFO * Server configuration
INFO - Open TCP Server at ('0.0.0.0', 8021)
INFO - Disable Nagle(No TCP delay) : 1
INFO --------------------------------------------------
INFO
----------------------- New Connection --------------
INFO New client request /home/solinux/.cloudlet/a7e7e64874891cf1618eced9d2b5f74da0ccbc118b617f4379590df6ca1f165f/ub14serv64DESK_java.img VM
INFO - {'option_display_vnc': True,
'option_early_start': False,
'option_show_statistics': False}
INFO - Base VM : /home/solinux/.cloudlet/a7e7e64874891cf1618eced9d2b5f74da0ccbc118b617f4379590df6ca1f165f/ub14serv64DESK_java.img
INFO - Blob count : 1
INFO Meta header processing time: 1.461358
INFO Start FUSE (0.125827 s)
DEBUG Overlay has 226 chunks
INFO [Transfer] out-of-order fetching : 0 / 1 == 0.00 %
INFO [Transfer] : (1460633418.1)~(1460633418.13)=(0.0292608737946) (0 loop, 19472 bytes, 5.077072 Mbps)
INFO [Decomp] : (1460633418.11)-(1460633418.14)=(0.0296721458435) (2 loop, 19472 bytes)
INFO [Delta] Handle dangling DeltaItem (0)
INFO [Delta] : (1460633418.1)-(1460633418.16)=(0.0575399398804), delta 226 chunks
INFO [FUSE] : (1460633418.11)-(1460633418.18)=(0.0741338729858)
DEBUG File closing time for recover memory snapshot: 0.038017
INFO QEMU access file : /tmp/cloudlet-overlay-cWUQq2/qemu-trim-log
INFO QEMU access file : /tmp/cloudlet-overlay-cWUQq2/qmp-channel
INFO Launch disk: /tmp/cloudlet-launch-disk-5l125V
INFO Launch memory: /tmp/cloudlet-launch-mem-uD3YUo
INFO QMP channel: /tmp/cloudlet-overlay-cWUQq2/qmp-channel
INFO start monitoring at /var/tmp/cloudletfs-Tjb7Z7/disk/streams/chunks_modified
INFO start monitoring at /var/tmp/cloudletfs-Tjb7Z7/disk/streams/chunks_accessed
INFO start monitoring at /var/tmp/cloudletfs-Tjb7Z7/memory/streams/chunks_accessed
INFO start monitoring at /tmp/cloudlet-overlay-cWUQq2/qemu-trim-log
INFO restoring VM...
INFO VM is restored...
INFO [RESUME] : QEMU resume time (1460633418.842166)~(1460633419.256199)=(0.414033)
INFO SUCCESS to launch VM
DEBUG
Pipelined measurement
Transfer Decomp Delta(Fuse) Resume Total
0000.029261 0000.004185 0000.044269 0000.459376 0002.810598
Transmission BW : 5.077072
INFO Resource is allocated for Session: 67537851228157445
INFO [SOCKET] waiting for client exit message
INFO Deallocating resources for the Session (67537851228157445)
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
INFO - {'App End at (s)': 10.263102054595947,
'App Start at (s)': 2.8142518997192383,
'Header Transfer End at (s)': 0.0005710124969482422,
'Synthesis Finishes at (s)': 2.81400990486145,
'command': 19,
'session_id': 67537851228157445}
WARNING No resource to be deallocated found at Session (67537851228157445)
INFO - {'command': 22, 'session_id': 67537851228157445}
CLOUDLET ON VM Problem:
I have successfully installed cloudlet environment, but I can't create my own base. When i try to create my own base VM, it freezes at:
cloudlet base ub14serv64VM.img
INFO save VM memory state
DEBUG start machine save
INFO Header size of memory snapshot is 8192
[================================================================================>] 100%
DEBUG finish machine save
Instead, if I import my own base created on other systems, there are the same incompatibility problems exposed above.