fog-proxmox 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/lib/fog/identity/proxmox/requests/change_password.rb +1 -1
- data/lib/fog/proxmox.rb +9 -8
- data/lib/fog/proxmox/version.rb +1 -1
- data/spec/compute_spec.rb +106 -106
- data/spec/fixtures/proxmox/compute/containers.yml +1387 -2096
- data/spec/fixtures/proxmox/compute/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/compute/nodes.yml +24 -24
- data/spec/fixtures/proxmox/compute/servers.yml +2849 -2920
- data/spec/fixtures/proxmox/compute/snapshots.yml +308 -293
- data/spec/fixtures/proxmox/compute/storages.yml +32 -32
- data/spec/fixtures/proxmox/compute/tasks.yml +57 -55
- data/spec/fixtures/proxmox/identity/auth.yml +125 -8
- data/spec/fixtures/proxmox/identity/domains.yml +120 -118
- data/spec/fixtures/proxmox/identity/groups.yml +52 -52
- data/spec/fixtures/proxmox/identity/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/identity/permissions.yml +119 -119
- data/spec/fixtures/proxmox/identity/pools.yml +97 -97
- data/spec/fixtures/proxmox/identity/read_version.yml +8 -8
- data/spec/fixtures/proxmox/identity/roles.yml +55 -55
- data/spec/fixtures/proxmox/identity/users.yml +115 -115
- data/spec/fixtures/proxmox/network/identity_ticket.yml +8 -8
- data/spec/fixtures/proxmox/network/networks.yml +84 -64
- data/spec/identity_spec.rb +82 -60
- data/spec/network_spec.rb +6 -6
- metadata +2 -2
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog-core/1.
|
11
|
+
- fog-core/2.1.2
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Cookie:
|
15
|
-
- PVEAuthCookie=PVE:root@pam:
|
15
|
+
- PVEAuthCookie=PVE:root@pam:5DB706E8::tMQwoWbWxURwMFxOG2mT1/0mUDNHXY5ScROqO2HsnuQd0LBUWwBfgp9HzyfGKyQJZsPnNGDGxu8AVCrOsI36SW9xXAOzzSnSyAbVsf54QH2cbennt9uCK2Hr36mu8reOQlyHgP8e1esebHdq7EWwOowgvJCMaiiDI2tz/3BgT3hEAFpP1D58IMsztH+FSL1d53fEIfCIkQlju+uAj+z3+DaW2GncigLj4SB4oS5ivl2GvoeJMzaBQxrLtidKR/FWkjR4F1z11EU6N4inG3jmrWDYLXVQgG0V9iiJr39mm1YVQsOw/L6au0SsbwMuuQhsfKMsDw2/G9RkDnWr08zEuQ==
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -23,35 +23,35 @@ http_interactions:
|
|
23
23
|
Connection:
|
24
24
|
- Keep-Alive
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
27
27
|
Pragma:
|
28
28
|
- no-cache
|
29
29
|
Server:
|
30
30
|
- pve-api-daemon/3.0
|
31
31
|
Content-Length:
|
32
|
-
- '
|
32
|
+
- '324'
|
33
33
|
Content-Type:
|
34
34
|
- application/json;charset=UTF-8
|
35
35
|
Expires:
|
36
|
-
-
|
36
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
37
37
|
body:
|
38
38
|
encoding: ASCII-8BIT
|
39
|
-
string: '{"data":[{"
|
39
|
+
string: '{"data":[{"level":"","ssl_fingerprint":"2E:91:22:23:8C:58:6F:0D:39:1E:55:43:EA:A2:9E:D7:C8:3E:E8:DA:AD:6F:07:1B:54:98:66:62:2B:F1:77:6B","cpu":0.439948837103641,"maxdisk":3896197120,"uptime":2432,"node":"pve","maxcpu":2,"disk":1578840064,"mem":926375936,"maxmem":4136439808,"type":"node","id":"node/pve","status":"online"}]}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 28 Oct 2019 15:19:05 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
44
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/storage
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
48
48
|
headers:
|
49
49
|
User-Agent:
|
50
|
-
- fog-core/1.
|
50
|
+
- fog-core/2.1.2
|
51
51
|
Accept:
|
52
52
|
- application/json
|
53
53
|
Cookie:
|
54
|
-
- PVEAuthCookie=PVE:root@pam:
|
54
|
+
- PVEAuthCookie=PVE:root@pam:5DB706E8::tMQwoWbWxURwMFxOG2mT1/0mUDNHXY5ScROqO2HsnuQd0LBUWwBfgp9HzyfGKyQJZsPnNGDGxu8AVCrOsI36SW9xXAOzzSnSyAbVsf54QH2cbennt9uCK2Hr36mu8reOQlyHgP8e1esebHdq7EWwOowgvJCMaiiDI2tz/3BgT3hEAFpP1D58IMsztH+FSL1d53fEIfCIkQlju+uAj+z3+DaW2GncigLj4SB4oS5ivl2GvoeJMzaBQxrLtidKR/FWkjR4F1z11EU6N4inG3jmrWDYLXVQgG0V9iiJr39mm1YVQsOw/L6au0SsbwMuuQhsfKMsDw2/G9RkDnWr08zEuQ==
|
55
55
|
response:
|
56
56
|
status:
|
57
57
|
code: 200
|
@@ -62,35 +62,35 @@ http_interactions:
|
|
62
62
|
Connection:
|
63
63
|
- Keep-Alive, Keep-Alive
|
64
64
|
Date:
|
65
|
-
-
|
65
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
66
66
|
Pragma:
|
67
67
|
- no-cache
|
68
68
|
Server:
|
69
69
|
- pve-api-daemon/3.0
|
70
70
|
Content-Length:
|
71
|
-
- '
|
71
|
+
- '362'
|
72
72
|
Content-Type:
|
73
73
|
- application/json;charset=UTF-8
|
74
74
|
Expires:
|
75
|
-
-
|
75
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
76
76
|
body:
|
77
77
|
encoding: ASCII-8BIT
|
78
|
-
string: '{"data":[{"
|
78
|
+
string: '{"data":[{"used":1578852352,"avail":2099240960,"shared":0,"enabled":1,"storage":"local","used_fraction":0.4052290742415,"content":"vztmpl,iso,backup","total":3896197120,"type":"dir","active":1},{"used":0,"shared":0,"avail":6438256640,"enabled":1,"used_fraction":0,"storage":"local-lvm","active":1,"type":"lvmthin","total":6438256640,"content":"rootdir,images"}]}'
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Mon, 28 Oct 2019 15:19:05 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
83
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/storage
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
86
|
string: ''
|
87
87
|
headers:
|
88
88
|
User-Agent:
|
89
|
-
- fog-core/1.
|
89
|
+
- fog-core/2.1.2
|
90
90
|
Accept:
|
91
91
|
- application/json
|
92
92
|
Cookie:
|
93
|
-
- PVEAuthCookie=PVE:root@pam:
|
93
|
+
- PVEAuthCookie=PVE:root@pam:5DB706E8::tMQwoWbWxURwMFxOG2mT1/0mUDNHXY5ScROqO2HsnuQd0LBUWwBfgp9HzyfGKyQJZsPnNGDGxu8AVCrOsI36SW9xXAOzzSnSyAbVsf54QH2cbennt9uCK2Hr36mu8reOQlyHgP8e1esebHdq7EWwOowgvJCMaiiDI2tz/3BgT3hEAFpP1D58IMsztH+FSL1d53fEIfCIkQlju+uAj+z3+DaW2GncigLj4SB4oS5ivl2GvoeJMzaBQxrLtidKR/FWkjR4F1z11EU6N4inG3jmrWDYLXVQgG0V9iiJr39mm1YVQsOw/L6au0SsbwMuuQhsfKMsDw2/G9RkDnWr08zEuQ==
|
94
94
|
response:
|
95
95
|
status:
|
96
96
|
code: 200
|
@@ -101,35 +101,35 @@ http_interactions:
|
|
101
101
|
Connection:
|
102
102
|
- Keep-Alive, Keep-Alive
|
103
103
|
Date:
|
104
|
-
-
|
104
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
105
105
|
Pragma:
|
106
106
|
- no-cache
|
107
107
|
Server:
|
108
108
|
- pve-api-daemon/3.0
|
109
109
|
Content-Length:
|
110
|
-
- '
|
110
|
+
- '362'
|
111
111
|
Content-Type:
|
112
112
|
- application/json;charset=UTF-8
|
113
113
|
Expires:
|
114
|
-
-
|
114
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
115
115
|
body:
|
116
116
|
encoding: ASCII-8BIT
|
117
|
-
string: '{"data":[{"
|
117
|
+
string: '{"data":[{"used":0,"enabled":1,"avail":6438256640,"shared":0,"active":1,"content":"images,rootdir","total":6438256640,"type":"lvmthin","used_fraction":0,"storage":"local-lvm"},{"used_fraction":0.4052290742415,"storage":"local","active":1,"type":"dir","total":3896197120,"content":"vztmpl,iso,backup","shared":0,"avail":2099240960,"enabled":1,"used":1578852352}]}'
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Mon, 28 Oct 2019 15:19:05 GMT
|
120
120
|
- request:
|
121
121
|
method: get
|
122
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
122
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/storage
|
123
123
|
body:
|
124
124
|
encoding: US-ASCII
|
125
125
|
string: ''
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
|
-
- fog-core/1.
|
128
|
+
- fog-core/2.1.2
|
129
129
|
Accept:
|
130
130
|
- application/json
|
131
131
|
Cookie:
|
132
|
-
- PVEAuthCookie=PVE:root@pam:
|
132
|
+
- PVEAuthCookie=PVE:root@pam:5DB706E8::tMQwoWbWxURwMFxOG2mT1/0mUDNHXY5ScROqO2HsnuQd0LBUWwBfgp9HzyfGKyQJZsPnNGDGxu8AVCrOsI36SW9xXAOzzSnSyAbVsf54QH2cbennt9uCK2Hr36mu8reOQlyHgP8e1esebHdq7EWwOowgvJCMaiiDI2tz/3BgT3hEAFpP1D58IMsztH+FSL1d53fEIfCIkQlju+uAj+z3+DaW2GncigLj4SB4oS5ivl2GvoeJMzaBQxrLtidKR/FWkjR4F1z11EU6N4inG3jmrWDYLXVQgG0V9iiJr39mm1YVQsOw/L6au0SsbwMuuQhsfKMsDw2/G9RkDnWr08zEuQ==
|
133
133
|
response:
|
134
134
|
status:
|
135
135
|
code: 200
|
@@ -140,20 +140,20 @@ http_interactions:
|
|
140
140
|
Connection:
|
141
141
|
- Keep-Alive, Keep-Alive
|
142
142
|
Date:
|
143
|
-
-
|
143
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
144
144
|
Pragma:
|
145
145
|
- no-cache
|
146
146
|
Server:
|
147
147
|
- pve-api-daemon/3.0
|
148
148
|
Content-Length:
|
149
|
-
- '
|
149
|
+
- '362'
|
150
150
|
Content-Type:
|
151
151
|
- application/json;charset=UTF-8
|
152
152
|
Expires:
|
153
|
-
-
|
153
|
+
- Mon, 28 Oct 2019 15:19:04 GMT
|
154
154
|
body:
|
155
155
|
encoding: ASCII-8BIT
|
156
|
-
string: '{"data":[{"
|
156
|
+
string: '{"data":[{"used":1578852352,"enabled":1,"avail":2099240960,"shared":0,"total":3896197120,"type":"dir","content":"vztmpl,backup,iso","active":1,"storage":"local","used_fraction":0.4052290742415},{"enabled":1,"shared":0,"avail":6438256640,"used":0,"total":6438256640,"type":"lvmthin","content":"rootdir,images","active":1,"storage":"local-lvm","used_fraction":0}]}'
|
157
157
|
http_version:
|
158
|
-
recorded_at:
|
159
|
-
recorded_with: VCR
|
158
|
+
recorded_at: Mon, 28 Oct 2019 15:19:05 GMT
|
159
|
+
recorded_with: VCR 4.0.0
|
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog-core/1.
|
11
|
+
- fog-core/2.1.2
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
14
|
Cookie:
|
15
|
-
- PVEAuthCookie=PVE:root@pam:
|
15
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -23,35 +23,35 @@ http_interactions:
|
|
23
23
|
Connection:
|
24
24
|
- Keep-Alive
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
27
27
|
Pragma:
|
28
28
|
- no-cache
|
29
29
|
Server:
|
30
30
|
- pve-api-daemon/3.0
|
31
31
|
Content-Length:
|
32
|
-
- '
|
32
|
+
- '324'
|
33
33
|
Content-Type:
|
34
34
|
- application/json;charset=UTF-8
|
35
35
|
Expires:
|
36
|
-
-
|
36
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
37
37
|
body:
|
38
38
|
encoding: ASCII-8BIT
|
39
|
-
string: '{"data":[{"
|
39
|
+
string: '{"data":[{"ssl_fingerprint":"2E:91:22:23:8C:58:6F:0D:39:1E:55:43:EA:A2:9E:D7:C8:3E:E8:DA:AD:6F:07:1B:54:98:66:62:2B:F1:77:6B","maxdisk":3896197120,"cpu":0.184269372777537,"level":"","maxmem":4136439808,"mem":859467776,"maxcpu":2,"disk":1578577920,"status":"online","id":"node/pve","type":"node","uptime":2401,"node":"pve"}]}'
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Mon, 28 Oct 2019 15:18:33 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
44
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/tasks?limit=1
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
48
48
|
headers:
|
49
49
|
User-Agent:
|
50
|
-
- fog-core/1.
|
50
|
+
- fog-core/2.1.2
|
51
51
|
Accept:
|
52
52
|
- application/json
|
53
53
|
Cookie:
|
54
|
-
- PVEAuthCookie=PVE:root@pam:
|
54
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
55
55
|
response:
|
56
56
|
status:
|
57
57
|
code: 200
|
@@ -62,35 +62,35 @@ http_interactions:
|
|
62
62
|
Connection:
|
63
63
|
- Keep-Alive
|
64
64
|
Date:
|
65
|
-
-
|
65
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
66
66
|
Pragma:
|
67
67
|
- no-cache
|
68
68
|
Server:
|
69
69
|
- pve-api-daemon/3.0
|
70
70
|
Content-Length:
|
71
|
-
- '
|
71
|
+
- '240'
|
72
72
|
Content-Type:
|
73
73
|
- application/json;charset=UTF-8
|
74
74
|
Expires:
|
75
|
-
-
|
75
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
76
76
|
body:
|
77
77
|
encoding: ASCII-8BIT
|
78
|
-
string: '{"data":[{"
|
78
|
+
string: '{"total":236,"data":[{"upid":"UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:","status":"OK","id":"100","type":"vzdestroy","pid":11276,"node":"pve","starttime":1572275911,"user":"root@pam","endtime":1572275911,"pstart":240158}]}'
|
79
79
|
http_version:
|
80
|
-
recorded_at:
|
80
|
+
recorded_at: Mon, 28 Oct 2019 15:18:33 GMT
|
81
81
|
- request:
|
82
82
|
method: get
|
83
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
83
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/tasks/UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:/status
|
84
84
|
body:
|
85
85
|
encoding: US-ASCII
|
86
86
|
string: ''
|
87
87
|
headers:
|
88
88
|
User-Agent:
|
89
|
-
- fog-core/1.
|
89
|
+
- fog-core/2.1.2
|
90
90
|
Accept:
|
91
91
|
- application/json
|
92
92
|
Cookie:
|
93
|
-
- PVEAuthCookie=PVE:root@pam:
|
93
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
94
94
|
response:
|
95
95
|
status:
|
96
96
|
code: 200
|
@@ -101,35 +101,35 @@ http_interactions:
|
|
101
101
|
Connection:
|
102
102
|
- Keep-Alive, Keep-Alive
|
103
103
|
Date:
|
104
|
-
-
|
104
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
105
105
|
Pragma:
|
106
106
|
- no-cache
|
107
107
|
Server:
|
108
108
|
- pve-api-daemon/3.0
|
109
109
|
Content-Length:
|
110
|
-
- '
|
110
|
+
- '228'
|
111
111
|
Content-Type:
|
112
112
|
- application/json;charset=UTF-8
|
113
113
|
Expires:
|
114
|
-
-
|
114
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
115
115
|
body:
|
116
116
|
encoding: ASCII-8BIT
|
117
|
-
string: '{"data":{"
|
117
|
+
string: '{"data":{"exitstatus":"OK","starttime":1572275911,"status":"stopped","id":"100","node":"pve","user":"root@pam","pid":11276,"type":"vzdestroy","upid":"UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:","pstart":240158}}'
|
118
118
|
http_version:
|
119
|
-
recorded_at:
|
119
|
+
recorded_at: Mon, 28 Oct 2019 15:18:33 GMT
|
120
120
|
- request:
|
121
121
|
method: get
|
122
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
122
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/tasks/UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:/log
|
123
123
|
body:
|
124
124
|
encoding: US-ASCII
|
125
125
|
string: ''
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
|
-
- fog-core/1.
|
128
|
+
- fog-core/2.1.2
|
129
129
|
Accept:
|
130
130
|
- application/json
|
131
131
|
Cookie:
|
132
|
-
- PVEAuthCookie=PVE:root@pam:
|
132
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
133
133
|
response:
|
134
134
|
status:
|
135
135
|
code: 200
|
@@ -140,37 +140,38 @@ http_interactions:
|
|
140
140
|
Connection:
|
141
141
|
- Keep-Alive, Keep-Alive
|
142
142
|
Date:
|
143
|
-
-
|
143
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
144
144
|
Pragma:
|
145
145
|
- no-cache
|
146
146
|
Server:
|
147
147
|
- pve-api-daemon/3.0
|
148
148
|
Content-Length:
|
149
|
-
- '
|
149
|
+
- '112'
|
150
150
|
Content-Type:
|
151
151
|
- application/json;charset=UTF-8
|
152
152
|
Expires:
|
153
|
-
-
|
153
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
154
154
|
body:
|
155
155
|
encoding: ASCII-8BIT
|
156
|
-
string: '{"data":[{"n":1,"t":"
|
156
|
+
string: '{"total":2,"data":[{"n":1,"t":" Logical volume \"vm-100-disk-0\" successfully
|
157
|
+
removed"},{"t":"TASK OK","n":2}]}'
|
157
158
|
http_version:
|
158
|
-
recorded_at:
|
159
|
+
recorded_at: Mon, 28 Oct 2019 15:18:34 GMT
|
159
160
|
- request:
|
160
161
|
method: delete
|
161
|
-
uri: 'https://192.168.56.101:8006/api2/json/nodes/
|
162
|
+
uri: 'https://192.168.56.101:8006/api2/json/nodes/pve/tasks/UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:'
|
162
163
|
body:
|
163
164
|
encoding: US-ASCII
|
164
165
|
string: ''
|
165
166
|
headers:
|
166
167
|
User-Agent:
|
167
|
-
- fog-core/1.
|
168
|
+
- fog-core/2.1.2
|
168
169
|
Accept:
|
169
170
|
- application/json
|
170
171
|
Csrfpreventiontoken:
|
171
|
-
-
|
172
|
+
- 5DB706C8:XMviF4gQCttW3mZgDruqkPu067k
|
172
173
|
Cookie:
|
173
|
-
- PVEAuthCookie=PVE:root@pam:
|
174
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
174
175
|
response:
|
175
176
|
status:
|
176
177
|
code: 200
|
@@ -181,7 +182,7 @@ http_interactions:
|
|
181
182
|
Connection:
|
182
183
|
- Keep-Alive, Keep-Alive
|
183
184
|
Date:
|
184
|
-
-
|
185
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
185
186
|
Pragma:
|
186
187
|
- no-cache
|
187
188
|
Server:
|
@@ -191,25 +192,25 @@ http_interactions:
|
|
191
192
|
Content-Type:
|
192
193
|
- application/json;charset=UTF-8
|
193
194
|
Expires:
|
194
|
-
-
|
195
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
195
196
|
body:
|
196
197
|
encoding: ASCII-8BIT
|
197
198
|
string: '{"data":null}'
|
198
199
|
http_version:
|
199
|
-
recorded_at:
|
200
|
+
recorded_at: Mon, 28 Oct 2019 15:18:34 GMT
|
200
201
|
- request:
|
201
202
|
method: get
|
202
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
203
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/tasks/UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:/status
|
203
204
|
body:
|
204
205
|
encoding: US-ASCII
|
205
206
|
string: ''
|
206
207
|
headers:
|
207
208
|
User-Agent:
|
208
|
-
- fog-core/1.
|
209
|
+
- fog-core/2.1.2
|
209
210
|
Accept:
|
210
211
|
- application/json
|
211
212
|
Cookie:
|
212
|
-
- PVEAuthCookie=PVE:root@pam:
|
213
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
213
214
|
response:
|
214
215
|
status:
|
215
216
|
code: 200
|
@@ -220,35 +221,35 @@ http_interactions:
|
|
220
221
|
Connection:
|
221
222
|
- Keep-Alive, Keep-Alive
|
222
223
|
Date:
|
223
|
-
-
|
224
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
224
225
|
Pragma:
|
225
226
|
- no-cache
|
226
227
|
Server:
|
227
228
|
- pve-api-daemon/3.0
|
228
229
|
Content-Length:
|
229
|
-
- '
|
230
|
+
- '228'
|
230
231
|
Content-Type:
|
231
232
|
- application/json;charset=UTF-8
|
232
233
|
Expires:
|
233
|
-
-
|
234
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
234
235
|
body:
|
235
236
|
encoding: ASCII-8BIT
|
236
|
-
string: '{"data":{"
|
237
|
+
string: '{"data":{"upid":"UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:","pstart":240158,"pid":11276,"type":"vzdestroy","node":"pve","user":"root@pam","status":"stopped","id":"100","exitstatus":"OK","starttime":1572275911}}'
|
237
238
|
http_version:
|
238
|
-
recorded_at:
|
239
|
+
recorded_at: Mon, 28 Oct 2019 15:18:34 GMT
|
239
240
|
- request:
|
240
241
|
method: get
|
241
|
-
uri: https://192.168.56.101:8006/api2/json/nodes/
|
242
|
+
uri: https://192.168.56.101:8006/api2/json/nodes/pve/tasks/UPID:pve:00002C0C:0003AA1E:5DB706C7:vzdestroy:100:root@pam:/log
|
242
243
|
body:
|
243
244
|
encoding: US-ASCII
|
244
245
|
string: ''
|
245
246
|
headers:
|
246
247
|
User-Agent:
|
247
|
-
- fog-core/1.
|
248
|
+
- fog-core/2.1.2
|
248
249
|
Accept:
|
249
250
|
- application/json
|
250
251
|
Cookie:
|
251
|
-
- PVEAuthCookie=PVE:root@pam:
|
252
|
+
- PVEAuthCookie=PVE:root@pam:5DB706C8::VMfbF+gfN0g18kOYP8Ge+D6mfaJS1F7Ye0KVh5c+70FkmYf2Z8lF5D639E3AxZ6JpJiWx3ZDqJxR79QmdIwX2xv84r6ASkt8Jwad1o09lYTuiuENXbCyuvtXJkHV2J3vtcBsgLUaBqwvx4w62d52HwNjcCgs9ZjNt3iCbxnpPQK7VHqufWhGYNs5nsLCnztzKWC2bt9hNbqa+9o+swn29rEemDTBo1/5C4i5wL2Bzd18Ffut/chXY7cP40WLsFNDdXlzWeVSgQB3/PDl5lvM7A64Ld4GiKCgH7kNd+fL4Pe52ZC6iG8UUhvv/e1/7XtWrluGb6jEmyT2xar7NcWQdg==
|
252
253
|
response:
|
253
254
|
status:
|
254
255
|
code: 200
|
@@ -259,20 +260,21 @@ http_interactions:
|
|
259
260
|
Connection:
|
260
261
|
- Keep-Alive, Keep-Alive
|
261
262
|
Date:
|
262
|
-
-
|
263
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
263
264
|
Pragma:
|
264
265
|
- no-cache
|
265
266
|
Server:
|
266
267
|
- pve-api-daemon/3.0
|
267
268
|
Content-Length:
|
268
|
-
- '
|
269
|
+
- '112'
|
269
270
|
Content-Type:
|
270
271
|
- application/json;charset=UTF-8
|
271
272
|
Expires:
|
272
|
-
-
|
273
|
+
- Mon, 28 Oct 2019 15:18:32 GMT
|
273
274
|
body:
|
274
275
|
encoding: ASCII-8BIT
|
275
|
-
string: '{"total":
|
276
|
+
string: '{"total":2,"data":[{"n":1,"t":" Logical volume \"vm-100-disk-0\" successfully
|
277
|
+
removed"},{"t":"TASK OK","n":2}]}'
|
276
278
|
http_version:
|
277
|
-
recorded_at:
|
278
|
-
recorded_with: VCR
|
279
|
+
recorded_at: Mon, 28 Oct 2019 15:18:34 GMT
|
280
|
+
recorded_with: VCR 4.0.0
|