On Jan. 20, 2015, 7:53 p.m., Miloslav Trmac wrote:
> What about rolekit use within anaconda? Wouldn’t it be cleaner to modify the
installers not to start the servers, instead?
The planned approach for rolekit use "within" anaconda is actually to have
anaconda generate a one-time systemd unit that will run rolectl in the first-boot
environment. So in that case, it should work fine.
We can't modify the installers not to start the servers in any case, as some (like
postgresql) must be running in order to complete their configuration (such as creating a
database instance and granting a user ownership of it).
- Stephen
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/124/#review366
-----------------------------------------------------------
On Jan. 20, 2015, 1:19 p.m., Stephen Gallagher wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/124/
-----------------------------------------------------------
(Updated Jan. 20, 2015, 1:19 p.m.)
Review request for RoleKit Mailing List, Miloslav Trmac, Stephen Gallagher, Simo Sorce,
and Thomas Woerner.
Bugs: 31 and 35
https://fedorahosted.org/rolekit/ticket/31
https://fedorahosted.org/rolekit/ticket/35
Repository: rolekit
Description
-------
Many server installers will automatically start their services as
soon as installation is complete (such as FreeIPA). This means that
the real state of the system will disagree with rolekit's view of
it. To be sure that we are aligned, it makes the most sense to just
ensure that all roles are deployed into the RUNNING state.
Diffs
-----
src/rolekit/server/rolebase.py 7f960bf41206c2552996936839a100325382e3be
Diff:
http://reviewboard-fedoraserver.rhcloud.com/r/124/diff/
Testing
-------
Deployed a domain controller and verified that after deployment, 'rolectl status
domaincontroller/teeceetwo.sgallagh.rht' reported "running" and
'systemctl status role-domaincontroller-teeceetwo.sgallagh.rht.target' reported
"active".
Thanks,
Stephen Gallagher