Fix tox linters for zuul

Fix bashate and yamllint to only run if files are provided
Fix whitespace errors in fm-doc/fm_doc/events.yaml
Relax line length requirement in yamllint

Story: 2003361
Task: 24413

Change-Id: I097beeea4a2e36790ba0de7d9c4fb6dcb55c24a6
Signed-off-by: Lachlan Plant <lachlan.plant@windriver.com>
This commit is contained in:
Lachlan Plant 2018-08-23 13:31:24 -05:00
parent e1e60fd5d1
commit 647dd28d1c
2 changed files with 111 additions and 113 deletions

View File

@ -57,7 +57,7 @@
# Management_Affecting_Severity: < none | critical | major | minor | warning > # Management_Affecting_Severity: < none | critical | major | minor | warning >
# // lowest alarm level of this type that will block forced upgrades & orchestration actions # // lowest alarm level of this type that will block forced upgrades & orchestration actions
# Degrade_Affecting_Severity: < none | critical | major | minor > # Degrade_Affecting_Severity: < none | critical | major | minor >
# // lowest alarm level of this type sets a host to 'degraded' # // lowest alarm level of this type sets a host to 'degraded'
# #
# #
# Other Notes: # Other Notes:
@ -95,7 +95,7 @@
MAJOR @ 90% MAJOR @ 90%
MINOR @ 80% MINOR @ 80%
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -116,7 +116,7 @@
MAJOR @ 90% MAJOR @ 90%
MINOR @ 80% MINOR @ 80%
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -137,7 +137,7 @@
MAJOR @ 80% MAJOR @ 80%
MINOR @ 70% MINOR @ 70%
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support; may require additional memory on Host." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support; may require additional memory on Host."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -165,7 +165,7 @@
host=<hostname>.filesystem=<mount-dir> host=<hostname>.filesystem=<mount-dir>
OR OR
host=<hostname>.volumegroup=<volumegroup-name> host=<hostname>.volumegroup=<volumegroup-name>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -205,7 +205,7 @@
OR OR
'OAM' Interface failed. 'OAM' Interface failed.
Entity_Instance_ID: host=<hostname>.interface=<if-name> Entity_Instance_ID: host=<hostname>.interface=<if-name>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -240,7 +240,7 @@
OR OR
'MGMT' Interface failed. 'MGMT' Interface failed.
Entity_Instance_ID: host=<hostname>.interface=<if-name> Entity_Instance_ID: host=<hostname>.interface=<if-name>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -275,7 +275,7 @@
OR OR
'INFRA' Interface failed. 'INFRA' Interface failed.
Entity_Instance_ID: host=<hostname>.interface=<if-name> Entity_Instance_ID: host=<hostname>.interface=<if-name>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -310,7 +310,7 @@
OR OR
'DATA-VRS' Interface down. 'DATA-VRS' Interface down.
Entity_Instance_ID: host=<hostname>.interface=<if-name> Entity_Instance_ID: host=<hostname>.interface=<if-name>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
major: degrade major: degrade
@ -330,7 +330,7 @@
Entity_Instance_ID: Entity_Instance_ID:
major: host=<hostname>.ntp major: host=<hostname>.ntp
minor: host=<hostname>.ntp=<IP address> minor: host=<hostname>.ntp=<IP address>
Severity: [ major, minor ] Severity: [major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: none Maintenance_Action: none
Inhibit_Alarms: Inhibit_Alarms:
@ -345,7 +345,7 @@
Type: Alarm Type: Alarm
Description: "VSwitch Memory Usage, processor <processor> threshold exceeded; threshold x%, actual y% ." Description: "VSwitch Memory Usage, processor <processor> threshold exceeded; threshold x%, actual y% ."
Entity_Instance_ID: host=<hostname>.processor=<processor> Entity_Instance_ID: host=<hostname>.processor=<processor>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -362,7 +362,7 @@
Type: Alarm Type: Alarm
Description: "Cinder LVM Thinpool Usage threshold exceeded; threshold x%, actual y% ." Description: "Cinder LVM Thinpool Usage threshold exceeded; threshold x%, actual y% ."
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -379,7 +379,7 @@
Type: Alarm Type: Alarm
Description: "Nova LVM Thinpool Usage threshold exceeded; threshold x%, actual y% ." Description: "Nova LVM Thinpool Usage threshold exceeded; threshold x%, actual y% ."
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support." Proposed_Repair_Action: "Monitor and if condition persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -394,7 +394,7 @@
100.118: 100.118:
Type: Alarm Type: Alarm
Description: Controller cannot establish connection with remote logging server. Description: Controller cannot establish connection with remote logging server.
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: minor Severity: minor
Proposed_Repair_Action: "Ensure Remote Log Server IP is reachable from Controller through OAM interface; otherwise contact next level of support." Proposed_Repair_Action: "Ensure Remote Log Server IP is reachable from Controller through OAM interface; otherwise contact next level of support."
@ -513,7 +513,7 @@
Failure: Failure:
<hostname> is experiencing a persistent critical 'Management Network' communication failure." <hostname> is experiencing a persistent critical 'Management Network' communication failure."
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: "Check 'Management Network' connectivity and support for multicast messaging. If problem consistently occurs after that and Host is reset, then contact next level of support or lock and replace failing host." Proposed_Repair_Action: "Check 'Management Network' connectivity and support for multicast messaging. If problem consistently occurs after that and Host is reset, then contact next level of support or lock and replace failing host."
Maintenance_Action: auto recover Maintenance_Action: auto recover
Inhibit_Alarms: False Inhibit_Alarms: False
@ -533,7 +533,7 @@
Failure: Failure:
<hostname> is experiencing a persistent critical 'Infrastructure Network' communication failure." <hostname> is experiencing a persistent critical 'Infrastructure Network' communication failure."
Entity_Instance_ID: host=<hostname> Entity_Instance_ID: host=<hostname>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: "Check 'Infrastructure Network' connectivity and support for multicast messaging. If problem consistently occurs after that and Host is reset, then contact next level of support or lock and replace failing host." Proposed_Repair_Action: "Check 'Infrastructure Network' connectivity and support for multicast messaging. If problem consistently occurs after that and Host is reset, then contact next level of support or lock and replace failing host."
Maintenance_Action: auto recover Maintenance_Action: auto recover
Inhibit_Alarms: False Inhibit_Alarms: False
@ -559,7 +559,7 @@
OR OR
<hostname> '<processname>' process has failed. Manual recovery is required. <hostname> '<processname>' process has failed. Manual recovery is required.
Entity_Instance_ID: host=<hostname>.process=<processname> Entity_Instance_ID: host=<hostname>.process=<processname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: |- Proposed_Repair_Action: |-
If this alarm does not automatically clear after some time and continues to be asserted after Host is locked and unlocked then contact next level of support for root cause analysis and recovery. If this alarm does not automatically clear after some time and continues to be asserted after Host is locked and unlocked then contact next level of support for root cause analysis and recovery.
@ -604,10 +604,10 @@
Type: Alarm Type: Alarm
Description: Description:
critical: "Host is degraded due to a 'critical' out-of-tolerance reading from the '<sensorname>' sensor" critical: "Host is degraded due to a 'critical' out-of-tolerance reading from the '<sensorname>' sensor"
major: "Host is degraded due to a 'major' out-of-tolerance reading from the '<sensorname>' sensor" major: "Host is degraded due to a 'major' out-of-tolerance reading from the '<sensorname>' sensor"
minor: "Host is reporting a 'minor' out-of-tolerance reading from the '<sensorname>' sensor" minor: "Host is reporting a 'minor' out-of-tolerance reading from the '<sensorname>' sensor"
Entity_Instance_ID: host=<hostname>.sensor=<sensorname> Entity_Instance_ID: host=<hostname>.sensor=<sensorname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: "If problem consistently occurs after Host is power cycled and or reset, contact next level of support or lock and replace failing host." Proposed_Repair_Action: "If problem consistently occurs after Host is power cycled and or reset, contact next level of support or lock and replace failing host."
Maintenance_Action: Maintenance_Action:
critical: degrade critical: degrade
@ -657,14 +657,14 @@
200.020: 200.020:
Type: Log Type: Log
Description: [ "<hostname> has been 'discovered' on the network", Description: ["<hostname> has been 'discovered' on the network",
"<hostname> has been 'added' to the system", "<hostname> has been 'added' to the system",
"<hostname> has 'entered' multi-node failure avoidance", "<hostname> has 'entered' multi-node failure avoidance",
"<hostname> has 'exited' multi-node failure avoidance" ] "<hostname> has 'exited' multi-node failure avoidance"]
Entity_Instance_ID: [ host=<hostname>.event=discovered, Entity_Instance_ID: [host=<hostname>.event=discovered,
host=<hostname>.event=add, host=<hostname>.event=add,
host=<hostname>.event=mnfa_enter, host=<hostname>.event=mnfa_enter,
host=<hostname>.event=mnfa_exit ] host=<hostname>.event=mnfa_exit]
Severity: warning Severity: warning
Alarm_Type: other Alarm_Type: other
Probable_Cause: unspecified-reason Probable_Cause: unspecified-reason
@ -673,30 +673,30 @@
200.021: 200.021:
Type: Log Type: Log
Description: [ "<hostname> board management controller has been 'provisioned'", Description: ["<hostname> board management controller has been 'provisioned'",
"<hostname> board management controller has been 're-provisioned'", "<hostname> board management controller has been 're-provisioned'",
"<hostname> board management controller has been 'de-provisioned'", "<hostname> board management controller has been 'de-provisioned'",
"<hostname> manual 'unlock' request", "<hostname> manual 'unlock' request",
"<hostname> manual 'reboot' request", "<hostname> manual 'reboot' request",
"<hostname> manual 'reset' request", "<hostname> manual 'reset' request",
"<hostname> manual 'power-off' request", "<hostname> manual 'power-off' request",
"<hostname> manual 'power-on' request", "<hostname> manual 'power-on' request",
"<hostname> manual 'reinstall' request", "<hostname> manual 'reinstall' request",
"<hostname> manual 'force-lock' request", "<hostname> manual 'force-lock' request",
"<hostname> manual 'delete' request", "<hostname> manual 'delete' request",
"<hostname> manual 'controller switchover' request" ] "<hostname> manual 'controller switchover' request"]
Entity_Instance_ID: [ host=<hostname>.command=provision, Entity_Instance_ID: [host=<hostname>.command=provision,
host=<hostname>.command=reprovision, host=<hostname>.command=reprovision,
host=<hostname>.command=deprovision, host=<hostname>.command=deprovision,
host=<hostname>.command=unlock, host=<hostname>.command=unlock,
host=<hostname>.command=reboot, host=<hostname>.command=reboot,
host=<hostname>.command=reset, host=<hostname>.command=reset,
host=<hostname>.command=power-off, host=<hostname>.command=power-off,
host=<hostname>.command=power-on, host=<hostname>.command=power-on,
host=<hostname>.command=reinstall, host=<hostname>.command=reinstall,
host=<hostname>.command=force-lock, host=<hostname>.command=force-lock,
host=<hostname>.command=delete, host=<hostname>.command=delete,
host=<hostname>.command=swact ] host=<hostname>.command=swact]
Severity: warning Severity: warning
Alarm_Type: other Alarm_Type: other
Probable_Cause: unspecified-reason Probable_Cause: unspecified-reason
@ -705,20 +705,20 @@
200.022: 200.022:
Type: Log Type: Log
Description: [ "<hostname> is now 'disabled'", Description: ["<hostname> is now 'disabled'",
"<hostname> is now 'enabled'", "<hostname> is now 'enabled'",
"<hostname> is now 'online'", "<hostname> is now 'online'",
"<hostname> is now 'offline'", "<hostname> is now 'offline'",
"<hostname> is 'disabled-failed' to the system", "<hostname> is 'disabled-failed' to the system",
"<hostname> reinstall failed", "<hostname> reinstall failed",
"<hostname> reinstall completed successfully"] "<hostname> reinstall completed successfully"]
Entity_Instance_ID: [ host=<hostname>.state=disabled, Entity_Instance_ID: [host=<hostname>.state=disabled,
host=<hostname>.state=enabled, host=<hostname>.state=enabled,
host=<hostname>.status=online, host=<hostname>.status=online,
host=<hostname>.status=offline, host=<hostname>.status=offline,
host=<hostname>.status=failed, host=<hostname>.status=failed,
host=<hostname>.status=reinstall-failed, host=<hostname>.status=reinstall-failed,
host=<hostname>.status=reinstall-complete ] host=<hostname>.status=reinstall-complete]
Severity: warning Severity: warning
Alarm_Type: other Alarm_Type: other
Probable_Cause: unspecified-reason Probable_Cause: unspecified-reason
@ -857,7 +857,7 @@
280.002: 280.002:
Type: Alarm Type: Alarm
Description: <subcloud> <resource> sync_status is out-of-sync Description: <subcloud> <resource> sync_status is out-of-sync
Entity_Instance_ID: [subcloud=<subcloud>.resource=<compute | network | platform | volumev2>] Entity_Instance_ID: [subcloud=<subcloud>.resource=<compute | network | platform | volumev2>]
Severity: major Severity: major
Proposed_Repair_Action: If problem persists contact next level of support Proposed_Repair_Action: If problem persists contact next level of support
@ -898,7 +898,7 @@
OR OR
'Data' Interface failed. 'Data' Interface failed.
Entity_Instance_ID: host=<hostname>.interface=<if-uuid> Entity_Instance_ID: host=<hostname>.interface=<if-uuid>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
Inhibit_Alarms: Inhibit_Alarms:
@ -1007,7 +1007,7 @@
OR OR
One or more Openflow controller connections in disconnected state for this network. One or more Openflow controller connections in disconnected state for this network.
Entity_Instance_ID: host=<hostname>.openflow-network=<name> Entity_Instance_ID: host=<hostname>.openflow-network=<name>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment. Proposed_Repair_Action: Check cabling and far-end port configuration and status on adjacent equipment.
Maintenance_Action: Maintenance_Action:
Inhibit_Alarms: Inhibit_Alarms:
@ -1079,7 +1079,7 @@
OR OR
Service group warning; <list of affected services>. Service group warning; <list of affected services>.
Entity_Instance_ID: service_domain=<domain_name>.service_group=<group_name>.host=<hostname> Entity_Instance_ID: service_domain=<domain_name>.service_group=<group_name>.host=<hostname>
Severity: [ critical, major, minor ] Severity: [critical, major, minor]
Proposed_Repair_Action: Contact next level of support. Proposed_Repair_Action: Contact next level of support.
Maintenance_Action: Maintenance_Action:
Inhibit_Alarms: False Inhibit_Alarms: False
@ -1281,7 +1281,6 @@
Service_Affecting: False Service_Affecting: False
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# VM # VM
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@ -2610,7 +2609,7 @@
Storage Alarm Condition: Storage Alarm Condition:
1 mons down, quorum 1,2 controller-1,storage-0 1 mons down, quorum 1,2 controller-1,storage-0
Entity_Instance_ID: cluster=<dist-fs-uuid> Entity_Instance_ID: cluster=<dist-fs-uuid>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: "If problem persists, contact next level of support." Proposed_Repair_Action: "If problem persists, contact next level of support."
Maintenance_Action: Maintenance_Action:
Inhibit_Alarms: Inhibit_Alarms:
@ -2628,7 +2627,7 @@
Description: |- Description: |-
Potential data loss. No available OSDs in storage replication group. Potential data loss. No available OSDs in storage replication group.
Entity_Instance_ID: cluster=<dist-fs-uuid>.peergroup=<group-x> Entity_Instance_ID: cluster=<dist-fs-uuid>.peergroup=<group-x>
Severity: [ critical ] Severity: [critical]
Proposed_Repair_Action: "Ensure storage hosts from replication group are unlocked and available. Proposed_Repair_Action: "Ensure storage hosts from replication group are unlocked and available.
Check if OSDs of each storage host are up and running. Check if OSDs of each storage host are up and running.
If problem persists contact next level of support." If problem persists contact next level of support."
@ -2647,7 +2646,7 @@
Description: |- Description: |-
Loss of replication in peergroup. Loss of replication in peergroup.
Entity_Instance_ID: cluster=<dist-fs-uuid>.peergroup=<group-x> Entity_Instance_ID: cluster=<dist-fs-uuid>.peergroup=<group-x>
Severity: [ major ] Severity: [major]
Proposed_Repair_Action: "Ensure storage hosts from replication group are unlocked and available. Proposed_Repair_Action: "Ensure storage hosts from replication group are unlocked and available.
Check if OSDs of each storage host are up and running. Check if OSDs of each storage host are up and running.
If problem persists contact next level of support." If problem persists contact next level of support."
@ -2663,39 +2662,39 @@
800.002: 800.002:
Type: Alarm Type: Alarm
Description: [ "Image storage media is full: There is not enough disk space on the image storage media.", Description: ["Image storage media is full: There is not enough disk space on the image storage media.",
"Instance <instance name> snapshot failed: There is not enough disk space on the image storage media.", "Instance <instance name> snapshot failed: There is not enough disk space on the image storage media.",
"Supplied <attrs> (<supplied>) and <attrs> generated from uploaded image (<actual>) did not match. Setting image status to 'killed'.", "Supplied <attrs> (<supplied>) and <attrs> generated from uploaded image (<actual>) did not match. Setting image status to 'killed'.",
"Error in store configuration. Adding images to store is disabled.", "Error in store configuration. Adding images to store is disabled.",
"Forbidden upload attempt: <exception>", "Forbidden upload attempt: <exception>",
"Insufficient permissions on image storage media: <exception>", "Insufficient permissions on image storage media: <exception>",
"Denying attempt to upload image larger than <size> bytes.", "Denying attempt to upload image larger than <size> bytes.",
"Denying attempt to upload image because it exceeds the quota: <exception>", "Denying attempt to upload image because it exceeds the quota: <exception>",
"Received HTTP error while uploading image <image_id>", "Received HTTP error while uploading image <image_id>",
"Client disconnected before sending all data to backend", "Client disconnected before sending all data to backend",
"Failed to upload image <image_id>" ] "Failed to upload image <image_id>"]
Entity_Instance_ID: [ "image=<image-uuid>, instance=<instance-uuid>", Entity_Instance_ID: ["image=<image-uuid>, instance=<instance-uuid>",
"tenant=<tenant-uuid>, instance=<instance-uuid>", "tenant=<tenant-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>", "image=<image-uuid>, instance=<instance-uuid>",
"image=<image-uuid>, instance=<instance-uuid>" ] "image=<image-uuid>, instance=<instance-uuid>"]
Alarm_Type: [ physical-violation, Alarm_Type: [physical-violation,
physical-violation, physical-violation,
integrity-violation, integrity-violation,
integrity-violation, integrity-violation,
security-service-or-mechanism-violation, security-service-or-mechanism-violation,
security-service-or-mechanism-violation, security-service-or-mechanism-violation,
security-service-or-mechanism-violation, security-service-or-mechanism-violation,
security-service-or-mechanism-violation, security-service-or-mechanism-violation,
communication, communication,
communication, communication,
operational-violation ] operational-violation]
Severity: warning Severity: warning
Proposed_Repair_Action: Proposed_Repair_Action:
Maintenance_Action: Maintenance_Action:
@ -2768,7 +2767,7 @@
Storage Alarm Condition: Storage Alarm Condition:
PV configuration <error/failed to apply> on <hostname>. Reason: <detailed reason>. PV configuration <error/failed to apply> on <hostname>. Reason: <detailed reason>.
Entity_Instance_ID: pv=<pv_uuid> Entity_Instance_ID: pv=<pv_uuid>
Severity: [ critical, major ] Severity: [critical, major]
Proposed_Repair_Action: "Remove failed PV and associated Storage Device then recreate them." Proposed_Repair_Action: "Remove failed PV and associated Storage Device then recreate them."
Maintenance_Action: Maintenance_Action:
Inhibit_Alarms: Inhibit_Alarms:
@ -2776,7 +2775,7 @@
Probable_Cause: configuration-or-customization-error Probable_Cause: configuration-or-customization-error
Service_Affecting: True Service_Affecting: True
Suppression: False Suppression: False
Management_Affecting_Severity: major Management_Affecting_Severity: major
Degrade_Affecting_Severity: none Degrade_Affecting_Severity: none
800.103: 800.103:
@ -2796,7 +2795,7 @@
Probable_Cause: threshold-crossed Probable_Cause: threshold-crossed
Service_Affecting: False Service_Affecting: False
Suppression: False Suppression: False
Management_Affecting_Severity: major Management_Affecting_Severity: major
Degrade_Affecting_Severity: none Degrade_Affecting_Severity: none
800.104: 800.104:
@ -2819,7 +2818,6 @@
Degrade_Affecting_Severity: none Degrade_Affecting_Severity: none
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# SOFTWARE # SOFTWARE
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------

View File

@ -21,12 +21,12 @@ commands =
-not -name \*~ \ -not -name \*~ \
-not -name \*.md \ -not -name \*.md \
-name \*.sh \ -name \*.sh \
-print0 | xargs -0 bashate -v" -print0 | xargs --no-run-if-empty -0 bashate -v"
bash -c "find {toxinidir} \ bash -c "find {toxinidir} \
\( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \ \( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \
-o \( -name .tox -prune \) \ -o \( -name .tox -prune \) \
-o -type f -name '*.yaml' \ -o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint" -print0 | xargs -0 yamllint -d '\{extends: relaxed, rules: \{line-length: \{max: 120\}\}\}'"
#### ####
# Add flake8 as pep8 codestyle check. # Add flake8 as pep8 codestyle check.