right after first machine is started with freshly created template and in "pending" phase:
cat /var/log/scalarizr_update.log
2015-06-27 09:19:43,160 - INFO - upd.client - Starting UpdateClient (pid: 1439)
2015-06-27 09:19:43,161 - INFO - upd.client - Starting API on port 8008
2015-06-27 09:19:43,175 - DEBUG - scalarizr.util - system: ('/bin/rpm', '-qa', 'scalarizr*', '--queryformat', '%{NAME}|%{VERSION}\n')
2015-06-27 09:19:44,005 - DEBUG - root - stdout: scalarizr-ec2|3.7.13
scalarizr|3.7.13
2015-06-27 09:19:44,005 - INFO - scalarizr.updclient.api - Getting System ID
2015-06-27 09:19:44,006 - DEBUG - scalarizr.util - system: dmidecode -s system-uuid
2015-06-27 09:19:44,084 - DEBUG - root - stdout: EC29496A-2EDD-2A38-EE06-611ABB9652AA
2015-06-27 09:19:44,085 - DEBUG - scalarizr.updclient.api - Status file /etc/scalr/private.d/update.status not exists
2015-06-27 09:19:44,085 - INFO - scalarizr.updclient.api - Initializing UpdateClient...
2015-06-27 09:19:44,085 - INFO - scalarizr.util.metadata - Getting user-data
2015-06-27 09:19:44,091 - DEBUG - scalarizr.util.metadata.cloudstack - Use DHCP leases file: /var/lib/dhclient/dhclient-eth0.leases
2015-06-27 09:19:44,091 - DEBUG - scalarizr.util.metadata.cloudstack - Use DHCP server: 169.254.1.0
2015-06-27 09:19:44,091 - DEBUG - scalarizr.util.metadata.verizon - system: vmtoolsd --cmd "info-get guestinfo.personality.count"
2015-06-27 09:19:44,093 - DEBUG - scalarizr.util.metadata.openstack-xenbus - Try '/proc/xen/xenbus': not exists
2015-06-27 09:19:44,093 - DEBUG - scalarizr.util.metadata.file - Try '/etc/.scalr-user-data': not exists
2015-06-27 09:19:44,093 - DEBUG - scalarizr.util.metadata.file - Try '/etc/scalr/private.d/.user-data': not exists
2015-06-27 09:19:44,094 - DEBUG - scalarizr.util.metadata - GcePvd.vote raised: <urlopen error [Errno -2] Name or service not known>
2015-06-27 09:19:44,096 - DEBUG - scalarizr.util.metadata.ec2 - matched instance_id
2015-06-27 09:19:44,097 - DEBUG - scalarizr.util.metadata.ec2 - matched user_data
2015-06-27 09:19:44,100 - DEBUG - scalarizr.util.metadata.verizon - stderr: /bin/sh: vmtoolsd: command not found
2015-06-27 09:19:44,100 - DEBUG - scalarizr.util.metadata - VerizonPvd.vote raised: vmtoolsd (code: 127) <out>: <err>: /bin/sh: vmtoolsd: command not found <args>: vmtoolsd --cmd "info-get guestinfo.personality.count"
2015-06-27 09:19:54,101 - DEBUG - scalarizr.util.metadata - provider for 'instance_id': <scalarizr.util.metadata.Ec2Pvd object at 0x7fb0b538ad10>
2015-06-27 09:19:54,101 - DEBUG - scalarizr.util.metadata - provider for 'user_data': <scalarizr.util.metadata.Ec2Pvd object at 0x7fb0b538ad10>
2015-06-27 09:19:54,101 - INFO - scalarizr.updclient.api - Applying configuration from user-data
2015-06-27 09:19:54,117 - INFO - scalarizr.updclient.api - Testing that crypto key works (file: /etc/scalr/private.d/keys/default)
2015-06-27 09:19:54,117 - DEBUG - scalarizr.updclient.api - Initializing database connection
2015-06-27 09:19:54,120 - DEBUG - scalarizr.util - Wait 0.10 seconds before the next attempt
2015-06-27 09:19:54,228 - DEBUG - scalarizr.updclient.api - Initializing QueryEnv
2015-06-27 09:19:54,231 - DEBUG - scalarizr.queryenv - QueryEnv request: {'operation': 'get-latest-version', 'version': u'2012-07-01'}
2015-06-27 09:19:54,280 - DEBUG - requests.packages.urllib3.connectionpool - Starting new HTTP connection (1):
scalr.glispa.com2015-06-27 09:19:54,591 - WARNING - scalarizr.queryenv - QueryEnv failed: 403 Client Error: Forbidden
2015-06-27 09:19:54,591 - WARNING - scalarizr.queryenv - Sleep 30 seconds before next attempt...
2015-06-27 09:20:24,621 - DEBUG - scalarizr.queryenv - QueryEnv request: {'operation': 'get-latest-version', 'version': u'2012-07-01'}
2015-06-27 09:20:24,622 - DEBUG - requests.packages.urllib3.connectionpool - Starting new HTTP connection (1):
scalr.glispa.com2015-06-27 09:20:24,868 - WARNING - scalarizr.queryenv - QueryEnv failed: 403 Client Error: Forbidden
2015-06-27 09:20:24,868 - WARNING - scalarizr.queryenv - Sleep 30 seconds before next attempt...
now if i restart scalr-update service and scalarizer at least 2 times (and then server shows as initializing and then running) the log is that:
so it really seems that something is broken when images are created :( I can work around this if i create images by login in to pending machines and restart updater and scalarizer and then taking a snapshot of a machine and using this as images. Images from "fixed" snapshots work as usual but i cant explain that to my users i think.