Unable to change SLA for the hypervsior from the Satellite webui
Issue
- Changing the system purpose attributes for a hypervisor fails with the below error.
Hosts --> Content hosts --> virt-who.example.com --> Overview --> System purpose --> SLA --> Select any --> Save
The host virt-who.example.com does not exist or there are access permissions needed. Please contact your administrator if this issue continues.
Katello::Resources::Candlepin::Consumer: 400 Bad Request
{"displayMessage":"Runtime Error com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.util.ArrayList<org.candlepin.dto.api.server.v1.EnvironmentDTO>` from String value (token `JsonToken.VALUE_STRING`)\n at [Source: (org.candlepin.servlet.filter.logging.TeeHttpServletRequest$1); line: 1, column: 112] (through reference chain: org.candlepin.dto.api.server.v1.ConsumerDTO[\"environments\"]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from:59","requestUuid":"xxx-xxx-xxxx-xxxx"}
(PUT /candlepin/consumers/xxx-xxxx-xxxx-xxxx-xxxx)
Environment
- Red Hat Satellite 6.14 and above versions.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.