Hi Sean,
On 02/18/09 13:46, Sean McGrath wrote: > The suituation: > Network boot a machine with AI image osol_0906-106a > Fine, creates the zpool, pulls the pkgs from repo, sets up grub etc.. > All nice. > > However the latest bits on the IPS repo are snv_107 based. > > So all the pkgs pulled with this 106 based AI image are snv_107 ones. > So we end up with a snv_107 based osol installed machine. > > The package version can be specified in the manifest like: > <ai_packages> > <package_name>slim_install at 0.1,5.11-0.106</package_name> > </ai_packages> > > (right ?) That is expected to work. But to be honest, I haven't tried, so please feel free to report possible issues there. > > but on an AI server which may be installed a few dozen machines at > any given time and where scripts to create manifests can break :}, > theres an amount of work needed to be sure we install with what we want. > We may want to at any time install AI image $bar and not have version $foo > installed. Understood - I think we could add support for specifying particular branch in AI manifest - thanks for filing bug for this ! > > As an enhancement, the AI image could pull packages whose version > matches its own build. Eg. for osol_0906-106a it'd pull version > 0.5.11,5.11-0.106 packages unless otherwise specified in a manifest. This is a good suggestion - it reflects one of approaches which are being considered with respect to avoiding/addressing problems with incompatibilities (like ZFS issue you mention below). It is based on the requirement to always use image created from build N for installing build N (1:1 relationship). Thanks for the comments ! Jan > > Without this enhancement, the suituation could arise where an older > version of an AI image is used, it creates a zpool, installs the pkgs etc. > However on rebooting the machine finds its zpool being an older version, > the grub menu possibly different to what it expects, even perhaps the > boot_archive synced with the AI image's idea of the universe instead of > the version on disk. > > Sound viable ? > > Logged this as an RFE: > 6724 AI image should perhaps specifiy the pkg versions of any pkgs it > pulls from a repo >
