-
Notifications
You must be signed in to change notification settings - Fork 0
/
2015_Nov_03_14_37_51___10.10.20.34.txt
332 lines (134 loc) · 5.71 KB
/
2015_Nov_03_14_37_51___10.10.20.34.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Last login: Tue Nov 3 14:35:02 2015 from 10.10.80.189
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect disk_info
Traceback (most recent call last):
File "main.py", line 19, in <module>
ter.main()
File "/home/woqu/qdatamgr/terminate/term_main.py", line 123, in main
self.run_command_in_one()
File "/home/woqu/qdatamgr/terminate/term_main.py", line 115, in run_command_in_one
sub_main(argv[2:])
File "/home/woqu/qdatamgr/bin/bin_collect.py", line 102, in main
args.func(args)
File "/home/woqu/qdatamgr/bin/bin_collect.py", line 81, in do_check_disk
check.run(**args)
File "/home/woqu/qdatamgr/collect/collect_disk.py", line 26, in run
info_disk = disk.getAllInfo()
File "/home/woqu/qdatamgr/collect/module_megacli.py", line 143, in getAllInfo
healthInfo = self.get_healthInfo()
File "/home/woqu/qdatamgr/collect/module_megacli.py", line 103, in get_healthInfo
info = parse_smartctl(output)
File "/home/woqu/qdatamgr/get_info/parser_smartctl.py", line 26, in parse_smartctl
father_info = parse_father(cmd_output)
File "/home/woqu/qdatamgr/get_info/parser_smartctl.py", line 44, in parse_father
result = GetInfo_Father(cmd_output, pattern_father, pattern_child)
File "/home/woqu/qdatamgr/utils/cmd_parser.py", line 72, in GetInfo_Father
father_list = father.splitlines()
AttributeError: 'NoneType' object has no attribute 'splitlines'
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect disk_info -a
usage: collect [-h] <subcommands> ...
error: unrecognized arguments: -a
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect disk_info -i 10.10.20.33
usage: collect [-h] <subcommands> ...
error: unrecognized arguments: 10.10.20.33
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect disk_info --all
usage: collect [-h] <subcommands> ...
error: unrecognized arguments: --all
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect flash_info
usage: collect [-h] <subcommands> ...
error: argument <subcommands>: invalid choice: 'flash_info'
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect flash_info -a
usage: collect [-h] <subcommands> ...
error: argument <subcommands>: invalid choice: 'flash_info'
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect flash_info -i 10.10.20.33
usage: collect [-h] <subcommands> ...
error: argument <subcommands>: invalid choice: 'flash_info'
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect flash_info --all
usage: collect [-h] <subcommands> ...
error: argument <subcommands>: invalid choice: 'flash_info'
Try 'collect --help' for more information.
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#qdatamgr collect ib_info
healthy
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#
]0;root@sto2
[1;37m[[m[1;31mroot[m[1;31m@[m[1;31msto2[m [4m/root[m[1;37m][m[1;36m[m
#