0

I am facing an issue while creating the alarm with openstack4j-3.0.3-withdeps.jar. Same issue observed with openstack4j-3.0.5-20170507.171628-1-withdeps.jar

CeilometerThresholdRule ceilometerThresholdRule = new CeilometerThresholdRule();   

Alarm alarm = Builders.alarm().name("high_Cpu1").description("testcpu-high")
        .type(Alarm.Type.THRESHOLD).thresholeRule(ceilometerThresholdRule).alarmActions(alarmActions).okActions(oKActions).isEnabled(true).build();

Alarm alarm2 = os
        .telemetry()
        .alarms()
        .create(alarm);

The Error is : org.jboss.resteasy.client.ClientResponseFailure: Unable to find a MessageBodyReader of content-type text/plain;charset="UTF-8" and type null

prashr186
  • 1
  • 4

0 Answers0