[OpenIndiana-discuss] OI148 and zones

Deano deano at rattie.demon.co.uk
Fri Jan 7 15:59:09 UTC 2011


Hi,

 

Sent this yesterday but seems to have disappeared, resending with another
log of another failed attempt.

 

----

I'm trying to create a zone but it keeps failing...

 

Machine is a fresh install of 147, then 

pkg image_update to 148,

Few mini admin tasks (set Primary Administrator, took a snapshot etc.)

Then tried to create zones

Zfs create rpool/export/zones

Zonecfg -z dev-zone

zonecfg:dev-zone> create

zonecfg:dev-zone> set zonepath=/export/zones/dev-zone

zonecfg:dev-zone> verify

zonecfg:dev-zone> commit

zonecfg:dev-zone> exit

deano at chicco:~$ pfexec zoneadm -z dev-zone install

A ZFS file system has been created for this zone.

   Publisher: Using openindiana.org (http://pkg.openindiana.org/dev/ ).

   Publisher: Using opensolaris.org (http://pkg.openindiana.org/legacy/).

       Image: Preparing at /export/zones/dev-zone/root.

       Cache: Using /var/pkg/download.

Sanity Check: Looking for 'entire' incorporation.

  Installing: Core System (output follows)

pkg: No solution was found to satisfy constraints

ERROR: failed to install package

 

 

Tried lots of combinations, setting zone net parameters, different zonepath
and zfs bits but always fails to install the core packages.

 

Never done zones before, so perhaps I'm missing something obvious, but the
existing howtos and guides I could find seem to indicate this used to work
on oSol?

 

Latest log

 

Last login: Fri Jan  7 10:59:57 2011 from 192.168.254.3

OpenIndiana     SunOS 5.11      oi_148  November 2010

deano at chicco:~$ su

Password:

deano at chicco:~# zonecfg -z webserver-zone

webserver-zone: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:webserver-zone> create

zonecfg:webserver-zone> set autoboot=true

zonecfg:webserver-zone> set zonepath=/export/webserver-zone

zonecfg:webserver-zone> info

zonecfg:webserver-zone> verify

zonecfg:webserver-zone> commit

zonecfg:webserver-zone> exit

deano at chicco:~# zoneadm list -cv

  ID NAME             STATUS     PATH                           BRAND    IP

   0 global           running    /                              ipkg
shared

   - webserver-zone   configured /export/webserver-zone         ipkg
shared

deano at chicco:~# mkdir /export/webserver-zone

deano at chicco:~# chmod 700 /export/webserver-zone

deano at chicco:~# zoneadm -z webserver-zone verify

deano at chicco:~# zoneadm -z webserver-zone install

A ZFS file system has been created for this zone.

   Publisher: Using openindiana.org (http://pkg.openindiana.org/dev/ ).

   Publisher: Using opensolaris.org (http://pkg.openindiana.org/legacy/).

       Image: Preparing at /export/webserver-zone/root.

       Cache: Using /var/pkg/download.

Sanity Check: Looking for 'entire' incorporation.

  Installing: Core System (output follows)

pkg: No solution was found to satisfy constraints

ERROR: failed to install package

 

 

 

Thanks for your help,

Deano

 

deano at cloudpixies.com

 



More information about the OpenIndiana-discuss mailing list