-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.19.0
-
None
-
False
-
sat-proton
-
None
-
None
-
None
-
None
Description of problem:
Registration fails with 'Cannot add content view environment to content facet' when registering Host to Capsule with Activation Key having multiple content-views.
- Host registration fails with:
~~~
Validation failed: Host host.example.com: Cannot add content view environment to content facet. The host's content source 'capsule.example.com' does not sync lifecycle environment 'Library'. (HTTP error code 422: Unprocessable Entity)
~~~
Although message is clear that content view is not part of the LCE synced to Capsule server but, one of the CV and LCE is synced with the Capsule server, so host should ideally get registered with available LCE synced with Capsule server and doesn't remain unregistered.
How reproducible:
- Always
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Create a Activation Key (AK)
2. Add 2 Content-views to it: [a] LCE: test, CV: CV1 , [b] LCE: Library, CV: CV2
(So it can be used to register hosts with Capsule/Satellite server without any hassle)
3. Sync LCE test with Capsule server.
4. Register host with this AK and select source external Capsule server.
Actual behavior:
- Validation failed: Host host.example.com: Cannot add content view environment to content facet. The host's content source 'capsule.example.com' does not sync lifecycle environment 'Library'. (HTTP error code 422: Unprocessable Entity)
- Host remains unregistered.
Expected behavior:
- Host should get registered to available LCE and CV synced in the external Capsule.
Business Impact / Additional info: