aboutsummaryrefslogtreecommitdiff
path: root/tests/describe-instance-status.at
blob: bbbd56dffd25740b0fc356b6f136b046eb72c0cb (plain)
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# This file is part of Eclat -*- Autotest -*-
# Copyright (C) 2012-2014 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Eclat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Eclat.  If not, see <http://www.gnu.org/licenses/>.

ECLAT_TEST_FORMAT([DescribeInstanceStatus],
[DescribeInstanceStatus],
[describe-instance-status.fln],
[<DescribeInstanceStatusResponse xmlns='http://ec2.amazonaws.com/doc/2012-04-01/'>
    <requestId>3be1508e-c444-4fef-89cc-0b1223c4f02f</requestId>
    <instanceStatusSet>
        <item>
            <instanceId>i-283f9f47</instanceId>
            <availabilityZone>us-east-1d</availabilityZone>
            <instanceState>
                <code>16</code>
                <name>running</name>
            </instanceState>
            <systemStatus>
                <status>impaired</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>failed</status>
                        <impairedSince>2012-03-27T16:10:46.000Z</impairedSince>
                    </item>
                </details>
            </systemStatus>
            <instanceStatus>
                <status>impaired</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>failed</status>
                        <impairedSince>2012-03-27T16:10:46.000Z</impairedSince>
                    </item>
                </details>
            </instanceStatus>
            <eventsSet>
	        <item>
                    <code>instance-retirement</code>
                    <notBefore>2011-12-05T13:00:00+0000</notBefore>
                    <notAfter>2011-12-06T13:00:00+000</notAfter>
                    <description>The instance is running on degraded hardware</description>
		</item>
            </eventsSet>
        </item>
        <item>
            <instanceId>i-d2e36dbd</instanceId>
            <availabilityZone>us-east-1d</availabilityZone>
            <instanceState>
                <code>16</code>
                <name>running</name>
            </instanceState>
            <systemStatus>
                <status>ok</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>passed</status>
                    </item>
                </details>
            </systemStatus>
            <instanceStatus>
                <status>ok</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>passed</status>
                    </item>
                </details>
            </instanceStatus>
            <eventsSet>
	        <item>
                    <code>instance-reboot</code>
                    <notBefore>2011-12-05T13:00:00+0000</notBefore>
                    <notAfter>2011-12-06T13:00:00+000</notAfter>
                    <description>The instance is scheduled for a reboot</description>
	        </item>
            </eventsSet>
        </item>
        <item>
            <instanceId>i-9fa454f1</instanceId>
            <availabilityZone>us-east-1c</availabilityZone>
            <instanceState>
                <code>16</code>
                <name>running</name>
            </instanceState>
            <systemStatus>
                <status>ok</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>passed</status>
                    </item>
                </details>
            </systemStatus>
            <instanceStatus>
                <status>ok</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>passed</status>
                    </item>
                </details>
            </instanceStatus>
        </item>
        <item>
            <instanceId>i-0ed2936e</instanceId>
            <availabilityZone>us-east-1c</availabilityZone>
            <instanceState>
                <code>16</code>
                <name>running</name>
            </instanceState>
            <systemStatus>
                <status>ok</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>passed</status>
                    </item>
                </details>
            </systemStatus>
            <instanceStatus>
                <status>insufficient-data</status>
                <details>
                    <item>
                        <name>reachability</name>
                        <status>insufficient-data</status>
                    </item>
                </details>
            </instanceStatus>
         </item>
    </instanceStatusSet>
</DescribeInstanceStatusResponse>
],[i-283f9f47	us-east-1d	running	impaired	Sys.reachability=failed	Inst.reachability=failed
i-d2e36dbd	us-east-1d	running	ok	Sys.reachability=passed	Inst.reachability=passed
i-9fa454f1	us-east-1c	running	ok	Sys.reachability=passed	Inst.reachability=passed
i-0ed2936e	us-east-1c	running	ok	Sys.reachability=passed	Inst.reachability=insufficient-data
],
[i-283f9f47	Event: "The instance is running on degraded hardware"
i-d2e36dbd	Event: "The instance is scheduled for a reboot"
])

Return to:

Send suggestions and report system problems to the System administrator.