fab backup_cassandra_db is throwing exception for skip_keyspace=["DISCOVERY_SERVER", "system"] config
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
aswani kumar | |||
R2.21.x |
Fix Committed
|
High
|
aswani kumar | |||
R2.22.x |
Fix Committed
|
High
|
aswani kumar | |||
R3.0 |
Fix Committed
|
High
|
aswani kumar | |||
Trunk |
Fix Committed
|
High
|
aswani kumar |
Bug Description
Version:2.22.1-8
When system keyspace is skipped, it is stripping the system_trace to _trace and trying to snapshot
In the log we can see:
2016-04-06 13:32:50:200330: [root@99.1.1.4] sudo: nodetool -h localhost -p 7199 snapshot config_db_uuid dm_keyspace _traces ContrailAnalytics svc_monitor_
The traceback:
2016-04-06 13:32:50:098571: 2016-04-06 13:32:50:098445: [root@99.1.1.4] sudo: ls
2016-04-06 13:32:50:113563: [root@99.1.1.4] out: config_db_uuid dm_keyspace system_traces
2016-04-06 13:32:50:195111: [root@99.1.1.4] out: ContrailAnalytics svc_monitor_
2016-04-06 13:32:50:195331: [root@99.1.1.4] out: DISCOVERY_SERVER system useragent
2016-04-06 13:32:50:195455: [root@99.1.1.4] out:
2016-04-06 13:32:50:195787:
2016-04-06 13:32:50:200330: [root@99.1.1.4] sudo: nodetool -h localhost -p 7199 snapshot config_db_uuid dm_keyspace _traces ContrailAnalytics svc_monitor_
2016-04-06 13:32:50:200525: [root@99.1.1.4] out: Requested creating snapshot for: config_db_uuid dm_keyspace _traces ContrailAnalytics svc_monitor_
2016-04-06 13:32:50:984052: [root@99.1.1.4] out: Exception in thread "main" java.io.
2016-04-06 13:32:50:999911: [root@99.1.1.4] out: at org.apache.
2016-04-06 13:32:51:000275: [root@99.1.1.4] out: at org.apache.
2016-04-06 13:32:51:000361: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:000563: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:001042: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:001131: [root@99.1.1.4] out: at java.lang.
2016-04-06 13:32:51:001237: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:001503: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:002036: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:002699: [root@99.1.1.4] out: at java.lang.
2016-04-06 13:32:51:003032: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:003450: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:003844: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:004216: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:004599: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:004902: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:005250: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:005631: [root@99.1.1.4] out: at com.sun.
2016-04-06 13:32:51:006986: [root@99.1.1.4] out: at javax.managemen
2016-04-06 13:32:51:007237: [root@99.1.1.4] out: at javax.managemen
2016-04-06 13:32:51:007637: [root@99.1.1.4] out: at javax.managemen
2016-04-06 13:32:51:008104: [root@99.1.1.4] out: at javax.managemen
2016-04-06 13:32:51:008568: [root@99.1.1.4] out: at javax.managemen
2016-04-06 13:32:51:008640: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:008707: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:008774: [root@99.1.1.4] out: at sun.reflect.
2016-04-06 13:32:51:008841: [root@99.1.1.4] out: at java.lang.
2016-04-06 13:32:51:008907: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:008972: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009038: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009103: [root@99.1.1.4] out: at java.security.
2016-04-06 13:32:51:009168: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009234: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009300: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009367: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009490: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009587: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:009682: [root@99.1.1.4] out: at java.security.
2016-04-06 13:32:51:011054: [root@99.1.1.4] out: at sun.rmi.
2016-04-06 13:32:51:011204: [root@99.1.1.4] out: at java.util.
2016-04-06 13:32:51:011336: [root@99.1.1.4] out: at java.util.
2016-04-06 13:32:51:011435: [root@99.1.1.4] out: at java.lang.
2016-04-06 13:32:51:011529: [root@99.1.1.4] out:
2016-04-06 13:32:51:027389:
2016-04-06 13:32:51:033116: Fatal error: sudo() received nonzero return code 1 while executing!
2016-04-06 13:32:51:033116:
2016-04-06 13:32:51:033116: Requested: nodetool -h localhost -p 7199 snapshot config_db_uuid dm_keyspace _traces ContrailAnalytics svc_monitor_
2016-04-06 13:32:51:033116: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "nodetool -h localhost -p 7199 snapshot config_db_uuid dm_keyspace _traces ContrailAnalytics svc_monitor_
Changed in juniperopenstack: | |
milestone: | r2.22 → r2.22.1 |
description: | updated |
Workaround:
==============
workaround is to list the system_traces before system in the skip_keyspace list.
skip_keyspace = ["system_traces", "system"]