On 04/28/10 07:25, Jan Damborsky wrote:
Hi Ethan,

it looks pretty good - I have only couple of questions/comments.

Thank you,
Jan


5.2.5
I am wondering if we might need to support 'commit' as well,
especially with respect to 5.2.6.2. Or would be the changes
automatically flushed to the resultant manifest ? At which point ?


When the script finishes execution, the DMM will always issue
a validate, to check validity, and a commit, to output the resultant
manifest, so its not needed through aimanifest.

5.2.6.1
Could you please elaborate more on the problem we are going
to solve by running derivation script as aiuser ?
It is not quite obvious why this mechanism is needed.

The purpose of this functionality is to dynamically build the derived
manifest based on system attributes, and we are restricting access
of the script to essentially be able to do that.  This functionality is
not meant to provide for a open "begin phase" to generically do
anything.  So the design here is that script will have 'read-only'
access to the system, with very restricted 'write' access.


5.2.6.2
In 5.2.5 it is mentioned that derivation script needs the
running environment to be established by the consumer (e.g.
determining name of resultant manifest and exposing it via
environment variable).
How it will work for purposes of testing ? Will it be up to
user to take care of those steps ?

Yes the user has to take care of an extra step, and I forgot to
document that in 5.2.6.2  We will expose the environment variable
name, AI_MANIFEST, that aimanifest consumes.  User can set
this manually, and test

# export AI_MANIFEST=/tmp/foo
# ./script


thanks,
-ethan



On 04/24/10 04:47 AM, Ethan Quach wrote:

I have posted a revision to the derived manifest design.

(I've removed the pieces about an interactive manifest CLI on
the server side, as that needs to be a separate design.)

http://hub.opensolaris.org/bin/download/Project+caiman/DerivedManifests/DerivedManifestsDesignSpec.pdf


Please review.  Comments appreciated.

thanks,
-ethan



_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to