Hi Jeffrey,

On Sat, 20 Dec 2008, jeffrey huang wrote:

> Hi, Alok, Please see my comments inline:
>
> Alok Aggarwal ??:
>> Here is what I'm thinking of implementing in the AI engine
>> as far as dry run functionality goes -
>> 
> Can we have the step that getting manifest, I think it is just a call to:
> /usr/bin/ai_get_manifest
>
> With this step, we can test the criteria manifest that get various manifests
> from server.

I think what you're asking for is covered under
this defect -

4170 Need a tool to simulate client obtaining AI manifests
      from the service

>> - Parse and validate the manifest obtained from the AI
>>   webserver
>> - Set up installation parameters based on the information
>>   in the manifest
>> - Initiate target discovery to either select a target
>>   device specified in the manifest or pick a default target
>> - Initiate target instantiation in dry run mode to do
>>   some sanity checking
> Only checking or can we do actually target instantiation?
> If not physically create partition or slice, maybe these features can not be
> verified.

If the target is actually instatiated, it isn't dry run
any mode since we've touched the target at that point.

> Other checkings can includes:
> - if mirror zfs root pool can be done
> - if the given size swap can be created

Neither of this is possible in AI as it currently stands.
Once these features are implemented, it would be worthwhile
to revisit this.

>> - Print out the installation parameters such as target
>>   device, IPS repo name/port, list of packages to be
>>   installed
>> 
> Better also include partition and slice infos.

Agreed, I will add that to the list.

>> Note that the IPS repo won't be contacted as part of this
>> process so if there are problems with name resolution, etc.
>> the dry run won't catch those.
>> 
> Better also have following checkings:
> - set the given keyboard
> - set timezone
> - create given user account

I don't believe any of these is possible without touching
the target system. So, this would also fall outside of
the dry run mode.

[ FYI, I will be on vacation starting tomorrow through
   January 19th in case you wonder why I didn't send further
   replies ]

Alok

Reply via email to