The rollout folder is not created if the Host Controller is restated in JBoss EAP 7.1
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 7.1
Issue
It looks like there is a directory created locally in data/content/ on each host when a rollout-plan is created. If a Host Controller is offline when the rollout-plan is created, the local directory on that offline host is not created. Obviously, that would be expected behavior, but when the remote Host Controller comes back online this content should be created automatically.
Resolution
The workaround is:
Add a ignored-resourceselement to the domain-controller/remote element in the slave's host XML file to ignore management-client-content resources. For example:
<domain-controller>
<remote security-realm="ManagementRealm">
<ignored-resources type="management-client-content" wildcard="true"/>
<discovery-options>
<static-discovery name="primary" protocol="${jboss.domain.master.protocol:remote}" host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}"/>
</discovery-options>
</remote>
</domain-controller>
This allows the slave to boot. However, it removes the ability for that slave to use pre-stored rollout plans when deciding how to roll out changes targeted at it to its servers (i.e. operations targeted at addresses in the /host=slave resource tree.) However, most operations involving rolling plans are targeted at Domain Controller, which will have access to the rollout plans.
Root Cause
The Jira [This content is not included.GSS Booting a slave HC fails if the content repository entry for a rollout plan is not present](https://issues.jboss.org/browse/JBEAP-15559) and [This content is not included.GSS Booting a slave HC fails if the content repository entry for a rollout plan is not present](https://issues.jboss.org/browse/JBEAP-15530) were opened to cover this issue.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.