There should be additional logs for the qemu part inside the zone (/zones/<uuid>/root/tmp/)
If it does wait about 5 minutes before failing you hit the provisioning timeout of 300 seconds. I would first look at the qemu logs - if qemu does run the image fine there should not be much in those. Then you’ll be able to look into the provisioning zone via vnc (just open second session and look for the provisioning uuid with "vmadm list“; get the vnc data via „vnc info <uuid> vnc“; connect + see what it does inside the VM) If it looks fine … add "nowait: true“ to the json that should disable the provisioning waiting time + timeout so you have it in a running state and can investigate further. btw: if you did write changes to the smartos-vmtools for gentoo - where can I fetch those? :) — Daniel Am 05.03.2014 um 23:10 schrieb Tim Boudreau <[email protected]>: > Just had a forehead-slapping moment noting that the size was set, but there > was no image_uuid at all in the JSON. So that sort of explains the no-disks > problem (why didn't it just fail or give me an empty disk, though?). > > So I added that, removed the size field and tried again with the JSON below. > That gets me several minutes in the "provisioning" state before transitioning > to "failed". I found the following log file which might be relevant but > doesn't show anything that's obviously an error message: > http://timboudreau.com/files/zone_bh.7ba7e983-2613-4667-b0b3-cab1c435ec3f.log > > > { > "brand": "kvm", > "resolvers": [ > "8.8.8.8", > "8.8.4.4" > ], > "default-gateway": "10.30.0.1", > "ram": "1536", > "vcpus": "2", > "nics": [ > { > "nic_tag": "stub0", > "ip": "10.0.0.30", > "netmask": "255.255.255.0", > "gateway": "10.0.0.1", > "model": "virtio", > "primary": true > } > ], > "disks": [ > { > "image_uuid": "5dd00a5a-a4a2-11e3-b108-872584435077", > "boot": true, > "model": "virtio" > } > ], > "customer_metadata": { > "root_authorized_keys":"ssh-rsa > AAAAB3NzaC1yc2EAAAADAQABAAACAQCqnpuUpUDqCIh+IaKJH/5W2W1TninunSsqdeLhEDemd8ObQP9x57kIDX/wAD3HmwMXQ8L5/PPOVcIE4sB23jSaO55MJJObcedLvdZLaDC5sAQOVyRSC5McfMx73FBcI4CXTP2bNWyN3NKQg9DR5uWd4S8x0nqus4j2ciVCqPeH1OINMSYtI/JPoa+ihTzz26kNTWx2evzO+zTT/mKBvH259GYcJlFjBkTtoXAyOYL/T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QISPATOsGRYR4fpz/ACu/EZaCvOeVtinIJdxNPH3tpHIx0tYlZ0Hyt9k1i4jX2sM+Kk0NpGtoPd1xE+N8IUUCCgB6sP/WwrvQfQzVvp7Q== > [email protected]" > } > } > > smartos-discuss | Archives | Modify Your Subscription ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
