rolekit, docker and some image (like database)

Stephen Gallagher sgallagh at redhat.com
Wed Sep 23 13:01:13 UTC 2015


On Wed, 2015-09-23 at 14:56 +0200, Petr Hracek wrote:
> Hi Stephen,
> 
> let's say that I am a newbie who would like to play with rolekit.
> Could you please explain me a bit how rolekit can work together with 
> docker and images.
> Of course if it can do that.
> 
> I have already installed rolekit on my desktop.
> I tried to run command like `rolectl deploy domaincontroller --name 
> docker-database`
> 
> But it fails with message like:
> Deployment can take a long time. To monitor the progress, run
> journalctl -ef -u rolekit
> Error: INVALID_VALUE: admin_password unset
> 
> I guess that I did not write a config file (in JSON), right?
> How does it look like the config file? Any reference?
> 

The config file options are available in the manpages
(rolekit.roles.domaincontroller(5)), but starting with rolekit-0.4.0rc1 
(in F23 beta), what you used up above actually would have worked. (We
can now generate the passwords for you which would be retrieved with
`rolectl settings domaincontroller/docker-database` (though that's an
odd name for a domain... I'm guessing you tried the database server
first.



> I would like to write down a some cook book (or demo) how to do it
> and 
> share it to our E&S team via Google documents.


Here is the test case we used for the F23 Beta release validation,
which should be a good place to start. https://fedoraproject.org/wiki/Q
A:Testcase_Server_role_deploy  Note that it is written for F23 only; as
I noted above, some of the options were simplified there. If you look
in the history of that page, you can find the F22 release validation
instructions as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.fedoraproject.org/pipermail/env-and-stacks/attachments/20150923/87adae98/attachment.sig>


More information about the env-and-stacks mailing list