Review Request 203: Domain Controller: Use instance name for the domain
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/203/
-----------------------------------------------------------
Review request for RoleKit Mailing List, Miloslav Trmac, Nils Philippsen, Stephen Gallagher, and Thomas Woerner.
Repository: rolekit
Description
-------
This patch changes the default behavior of the domain controller
role. After discussions with UXD experts, it was determined that
the domain should never be auto-detected from the environment,
since it is very difficult to change later. It should always come
from some user action.
This patch changes the default domain to use the role instance name
for the domain name, as long as the instance name contains valid
characters. It also changes the behavior of the host_name option to
set the hostname to dc-<16 characters> if it is currently set to
localhost.
Diffs
-----
config/roles/domaincontroller/role.py 62d2bc64d6efb9c2b7e254c8d61c612f05e4c4be
doc/xml/rolekit.roles.domaincontroller.xml 2416c889ba0035dc6247b2eb209dbe13eb3b9708
Diff: http://reviewboard-fedoraserver.rhcloud.com/r/203/diff/
Testing
-------
Deployed multiple domain controllers with varying initial hostnames.
Thanks,
Stephen Gallagher
8 years, 8 months
Review Request 179: Support deferred deployment
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-fedoraserver.rhcloud.com/r/179/
-----------------------------------------------------------
Review request for RoleKit Mailing List, Miloslav Trmac, Nils Philippsen, Stephen Gallagher, and Thomas Woerner.
Bugs: 1
http://github.com/libre-server/rolekit/issues#issue/1
Repository: rolekit
Description
-------
We want to be able to support configuring role deployments during
automated system setup (such as Anaconda kickstart for Fedora and
Red Hat Enterprise Linux systems). With this patch, we add a
--next-boot argument to 'rolectl deploy'. This will cause a one-
time systemd service unit to be created and configured to run at
the first boot.
This service unit will execute the real 'rolectl deploy' after the
network is online and will process the role deployment, then
delete the temporary files. These files will not be deleted in the
event of an error.
Fixes https://github.com/libre-server/rolekit/issues/1
Diffs
-----
config/Makefile.am 480f74f450bb2c6397848e20e3973be806123302
rolekit.spec 0acce035a3745572226e93443515eb0d20b0c77e
src/Makefile.am bbcdf37b417416fa0a5eeeb800a81417f3b81380
src/rolectl ac36bb94c80992c51dcadfa24d93806bc6598954
src/rolekit/config/__init__.py.in d9295f37061576fe697402206e18342e0f0a22be
src/rolekit/rolectl/__init__.py PRE-CREATION
src/rolekit/server/io/rolesettings.py 18f4871faf87ba23d21a3f9bc2c13b14463a8ccf
src/rolekit/server/rolebase.py b8bc640bd70fe995e4183c71bd77b355a42a4228
Diff: http://reviewboard-fedoraserver.rhcloud.com/r/179/diff/
Testing
-------
Deployed the memcache role with --next-boot. Tested it by doing 'systemctl start pendingrole-memcache-name.service'
It has not been tested with an actual kickstart yet; I am waiting for Alpha RC1 to arrive and will test it with that.
Thanks,
Stephen Gallagher
8 years, 8 months