It will cause error in ansible bootstrap:
Failed to update the initial system config
so disable the service by default, and it will be
configured and enabled by ansible bootstrap.
fix #385
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Do the following changes to align with stx 3.0:
- Split to 3 packages
- Add postinsts for workerconfig-standalone and workerconfig-subfunction
- workerconfig-standalone and workerconfig-subfunction are exclusive,
and workerconfig-subfunction is used for AIO and
workerconfig-standalone is used for the worker node in standard
deployment, so install workerconfig-subfunction only for AIO
- Fix the dependencies.
fix #377
fix #378
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Use SYSTEMD_AUTO_ENABLE to enable controllerconfig.service,
which is required by controller unlock process.
fix #376
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Some sripts from stx need to be intalled in /etc/init.d:
etc/init.d/worker_config
etc/init.d/storage_config
etc/init.d/sysinv-agent
etc/init.d/controller_config
but for the reicpe that inherit systemd, there is a postrunc
rm_sysvinit_initddir that will remove the installed scripts
in /etc/init.d if sysvinit is not present in DISTRO_FEATURE,
remove 'sysvinit' from DISTRO_FEATURES_BACKFILL_CONSIDERED
so it can be backfilled into DISTRO_FEATURE.
fix #185
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
resource-agents provides /usr/lib/ocf/lib/heartbeat/ocf-shellfuncs
which is used by sysinv-api.
fix #230
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
upon completing the etcd bootstrap, service fails to start because of the
override.
1 - fixed typo
2 - removed /usr/bin/forward-journald from unit file
stx-config/puppet-manifest:
- set ldap module path to libexec
- default is lib64 which is not where OE installs openldap
sudo:
- build --with-ldap and apply stx patches
- needed for sudo.schema / slapd
openldap:
- install ldap / la modules
packagegroups:
- stx-python: pexpect, trove, colorama, debtcollector, mysql
- stx: e2fsprogs-resize2fs nss-pam-ldapd openldap-devand libmysqld + deps
rabbitmq-server:
- run under uid 0 to bypass permission errors
conf/layer.conf:
- Add ldap user
- set preferred versions
- Set CONTROLLER_IP to localhost
classes/stx-postrun.bbclass:
- Add openldap fine tuning
- fix permissions for keystone to start