我在使用 openstack4j-3.0.3-withdeps.jar 创建警报时遇到问题。观察到同样的问题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);
错误是:org.jboss.resteasy.client.ClientResponseFailure: Unable to find a MessageBodyReader of content-type text/plain;charset="UTF-8" and type null