I am following the instructions for zones intro at oracle.com (I can't post the url yet.)
I get up to Listing 2 when the error occurs.
# zoneadm -z testzone install
The following ZFS file system(s) have been created:
rpool/zones/testzone
Progress being logged to /var/log/zones/zoneadm.20140522T025544Z.testzone.install
Image: Preparing at /zones/testzone/root.
ERROR: an exception occurred.
'NoneType' object has no attribute 'bind'
Please check logs for further information.
ERROR: auto-install failed.
The more information you give us, even if it seems obvious to you, can be precious information for us. That is why we keep on saying the more information you give better the assistance you will get!
Are you sure you did not get warnings before?
What are all the commands past and what output (logs) did you receive?...
Sorry, I more meant that it contained the same information, but there's slightly more.
root@solaris-11:~# cat /var/log/zones/zoneadm.20140523T065105Z.testzone.install
[Fri May 23 16:51:05 EST 2014] ==== Starting: /usr/lib/brand/solaris/pkgcreatezone -z testzone -R /zones/testzone ====
[Fri May 23 16:51:05 EST 2014] Progress being logged to /var/log/zones/zoneadm.20140523T065105Z.testzone.install
[Fri May 23 16:51:08 EST 2014] Image: Preparing at /zones/testzone/root.
[Fri May 23 16:51:12 EST 2014] Running auto-install: '/usr/bin/auto-install -z testzone -Z rpool/zones/testzone/rpool -m /tmp/manifest.xml.PCa4ad -c /usr/share/auto_install/sc_profiles/enable_sci.xml'
[Fri May 23 16:51:14 EST 2014] ERROR: auto-install failed.
[Fri May 23 16:51:14 EST 2014] Exiting with exit code 255
[Fri May 23 16:51:14 EST 2014] ==== Completed: /usr/lib/brand/solaris/pkgcreatezone -z testzone -R /zones/testzone ====
The previous commands were:
root@global:~# zonecfg -z testzone
testzone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:testzone> create
create: Using system default template 'SYSdefault'
zonecfg:testzone> set zonepath=/zones/testzone
zonecfg:testzone> set autoboot=true
zonecfg:testzone> set bootargs="-m verbose"
zonecfg:testzone> verify
zonecfg:testzone> commit
zonecfg:testzone> exit
I can see the zone is now incomplete, but I think it was configured after I first ran the command.
root@solaris-11:~# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- testzone incomplete /zones/testzone solaris excl
I don't think I got any warnings originally, unfortunately my shell timed out and closed, I can't backtrack.
root@solaris-11:~# zonecfg -z testzone info
zonename: testzone
zonepath: /zones/testzone
brand: solaris
autoboot: true
bootargs: -m verbose
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
fs-allowed:
anet:
linkname: net0
lower-link: auto
allowed-address not specified
configure-allowed-address: true
defrouter not specified
allowed-dhcp-cids not specified
link-protection: mac-nospoof
mac-address: random
mac-prefix not specified
mac-slot not specified
vlan-id not specified
priority not specified
rxrings not specified
txrings not specified
mtu not specified
maxbw not specified
rxfanout not specified
vsi-typeid not specified
vsi-vers not specified
vsi-mgrid not specified
etsbw-lcl not specified
cos not specified
pkey not specified
linkmode not specified
root@solaris-11:~#