使用openstack4j-3.0.3-withdeps.jar创建报警时出错

使用openstack4j-3.0.3-withdeps.jar创建报警时出错,openstack,ceilometer,Openstack,Ceilometer,我在使用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").descriptio

我在使用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:找不到内容类型为text/plain的MessageBodyReader;charset=“UTF-8”并键入null

您正在使用哪个版本的openstack?您好,我正在使用openstack[root@localhost~]#nova管理--版本14.0.3