I'm trying my hand at LX zones for the first time, and I'm running into a
problem with provisioning. I was hoping that somebody might have a pointer.
I'm running the latest version of SmartOS: 20150917T232817Z. The computer is
brand new, with everything setup using this latest version. It's just a testing
system, so everything was installed from scratch with the latest SmartOS USB
image. I downloaded the latest Ubuntu 14.04 image for use in my LX zone:
[root@00-1b-21-bf-71-fb ~]# imgadm list
UUID NAME VERSION OS
PUBLISHED
a21a64a0-0809-11e5-a64f-ff80e8e8086f lx-ubuntu-14.04 20150601 other
2015-06-01T02:55:17Z
Here's my JSON:
[root@00-1b-21-bf-71-fb ~]# cat /tmp/zonedef
{
"alias": "lxtest",
"brand": "lx",
"kernel_version": "3.13.0",
"max_physical_memory": 2048,
"image_uuid": "a21a64a0-0809-11e5-a64f-ff80e8e8086f",
"resolvers": ["8.8.8.8","8.8.4.4"],
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp",
"primary": 1
}
]
}
When I attempt to create the zone, I get the following:
[root@00-1b-21-bf-71-fb ~]# vmadm create -f /tmp/zonedef
timed out waiting for /var/svc/provisioning to move for
33f34168-0782-497a-9c16-74b7346c7faf
[root@00-1b-21-bf-71-fb ~]# vmadm list -civ
UUID TYPE RAM STATE ALIAS
33f34168-0782-497a-9c16-74b7346c7faf LX 2048 failed lxtest
While it's provisioning, before the timeout, I can actually log into the zone
from another SSH session. However, once provisioning fails, I can't access the
zone anymore.
[root@00-1b-21-bf-71-fb ~]# vmadm list -civ
UUID TYPE RAM STATE ALIAS
33f34168-0782-497a-9c16-74b7346c7faf LX 2048 provisioning lxtest
[root@00-1b-21-bf-71-fb ~]# zlogin 33f34168-0782-497a-9c16-74b7346c7faf
[Connected to zone '33f34168-0782-497a-9c16-74b7346c7faf' pts/3]
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-51-generic x86_64)
* Documentation: https://help.ubuntu.com/
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
__ . .
_| |_ | .-. . . .-. :--. |-
|_ _| ;| || |(.-' | | |
|__| `--' `-' `;-| `-' ' ' `-'
/ ; Instance (Ubuntu 14.04 lx-brand 20150601)
`-' https://docs.joyent.com/images/lx-brand-beta
root@33f34168-0782-497a-9c16-74b7346c7faf:~# logout
[Connection to zone '33f34168-0782-497a-9c16-74b7346c7faf' pts/3 closed]
Does anybody have any idea as to what's going on? I've tried other LX zones,
all with the same result. Any help would be very appreciated.
Thanks,
John
-------------------------------------------
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