Alarm is not successfully created using openstack4j library

38 Views Asked by At

I have created an alarm using openstack4j as follows:

 Alarm alarm2 = os
    .telemetry()
    .alarms()
    .create(alarm);
    System.out.println("Alarm details:"+alarm.getAlarmId());
    System.out.println("alarms:"+os.telemetry().alarms().list());

But after alarm is created the AlarmId is null and is also not found in the list of alarms. There are no errors during the creation of alarms also.

Openstack4j Version used is: 3.0.4-SNAPSHOT

0

There are 0 best solutions below