My Oracle Support Banner

[PCA 2.4.4] Fault Monitor storage_path_flapping_monitor Ended with Critical Error (Doc ID 2801611.1)

Last updated on AUGUST 23, 2021

Applies to:

Private Cloud Appliance - Version 2.4.4 and later
Linux x86-64

Symptoms

Storage path flapping monitor is not working as expected when there is a path flapping event exist in OVM manager. It failed with following error in ovca-faultmonitor.log

[2021-08-09 10:58:14 40065] INFO (ovm:108) Calling ovmwsh script [storage_path_flapping_monitor.py] with args ()
[2021-08-09 10:58:19 40065] WARNING (ovm:148) ovmwsh script finished with error: 1
STDOUT: Error in storage path flapping monitor type object 'datetime' has no attribute 'datetime'
Traceback (most recent call last):
File "/var/lib/ovca/ovm_scripts/storage_path_flapping_monitor.py", line 52,
in <module>
current_date = (datetime.datetime.now().strftime(date_format))
AttributeError: type object 'datetime' has no attribute 'datetime'

STDERR:
Oracle VM Manager Core WS-API Shell 3.4.7.301 (20210506_301)

Copyright (C) 2007, 2016 Oracle. All rights reserved.
See the LICENSE file for redistribution information.

[2021-08-09 10:58:19 40065] ERROR (ovmfaultmonitor_utils:593) Error in storage path flapping monitor type object 'datetime' has no attribute 'datetime'
Traceback (most recent call last):
File "/var/lib/ovca/ovm_scripts/storage_path_flapping_monitor.py", line 52,
in <module>
current_date = (datetime.datetime.now().strftime(date_format))
AttributeError: type object 'datetime' has no attribute 'datetime'

[2021-08-09 10:58:19 40065] INFO (faultmonitor_management:100) Oracle VM Fault Monitor storage_path_flapping_monitor ended with Critical status

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.