Evan,
I had exactly the same problem with the same image this week. What
version of smartos are you running?
I was running a version of smartos from Jan2015; I updated to
joyent_20151112T052215Z and it worked straight away
on reboot.
My json looked like this
{
"brand": "lx",
"image_uuid": "52be84d0-6b06-11e5-a4c0-9f0c52fa368a",
"alias": "ubuntu-1404-lxzone",
"kernel_version": "3.13.0",
"hostname": "ubunut-1404-lx-zone",
"max_physical_memory": 4096,
"quota": 40,
"resolvers": ["8.8.8.8", "208.67.220.220"],
"nics": [
{
"nic_tag": "admin",
"ip": "192.168.1.83",
"netmask": "255.255.255.0",
"gateway": "192.168.1.1"
}
]
}
Regards
Will
On 26/11/2015 21:16, Evan Rowley wrote:
Hello,
vmadm is hanging when creating LX zone using the lxtest JSON shown on
the Getting Started steps of the wiki, last edited Oct 08, 2015.
Link:
https://wiki.smartos.org/display/DOC/LX+Branded+Zones
I successfully ran:
# imgadm import 52be84d0-6b06-11e5-a4c0-9f0c52fa368a
Created the following JSON file, lxtest.json, with appropriate values
for <ip>, <netmask>, and <gw>.
{
"alias": "lxtest",
"brand": "lx",
"kernel_version": "3.13.0",
"max_physical_memory": 2048,
"image_uuid": "52be84d0-6b06-11e5-a4c0-9f0c52fa368a",
"resolvers": ["8.8.8.8","8.8.4.4"],
"nics": [
{
"nic_tag": "admin",
"ip": "<ip>",
"netmask": <netmask>",
"gateway": "<gw>",
"primary": true
}
]
}
Proceeded to create the zone via:
# vmadm create -f lxtest.json
After a while, this is what was output to the terminal:
timed out waiting for /var/svc/provisioning to move for
3168e569-3687-4367-abba-1a35094e3d33
I can see that the vmadm command has failed:
# vmadm list
UUID TYPE RAM STATE ALIAS
3168e569-3687-4367-abba-1a35094e3d33 LX 2048 failed lxtest
I'm running release version 20151112T052215Z.
--
- EJR
*smartos-discuss* | Archives
<https://www.listbox.com/member/archive/184463/=now>
<https://www.listbox.com/member/archive/rss/184463/27709494-c1d4d27e>
| Modify
<https://www.listbox.com/member/?&>
Your Subscription [Powered by Listbox] <http://www.listbox.com>
-------------------------------------------
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