-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathupdate_license_sample_output.log
388 lines (373 loc) · 15.8 KB
/
update_license_sample_output.log
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
[root@docker-test-server test]# kubectl describe dbcssystems.database.oracle.com dbcssystem-existing
Name: dbcssystem-existing
Namespace: default
Labels: <none>
Annotations: lastSuccessfulSpec:
{"dbSystem":{"compartmentId":"ocid1.compartment.oc1..aaaaaaaa4hecw2shffuuc4fcatpin4x3rdkesmmf4he67osupo7g6f7i6eya","availabilityDomain":"O...
API Version: database.oracle.com/v1alpha1
Kind: DbcsSystem
Metadata:
Creation Timestamp: 2022-03-08T23:27:48Z
Generation: 4
Managed Fields:
API Version: database.oracle.com/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:lastSuccessfulSpec:
f:spec:
f:dbSystem:
f:cpuCoreCount:
f:dbBackupConfig:
f:dbEdition:
f:dbName:
f:dbUniqueName:
f:dbVersion:
f:diskRedundancy:
f:displayName:
f:faultDomains:
f:nodeCount:
f:status:
.:
f:availabilityDomain:
f:cpuCoreCount:
f:dataStoragePercentage:
f:dataStorageSizeInGBs:
f:dbEdition:
f:dbInfo:
f:displayName:
f:id:
f:licenseModel:
f:network:
.:
f:clientSubnet:
f:domainName:
f:hostName:
f:listenerPort:
f:scanDnsName:
f:vcnName:
f:nodeCount:
f:recoStorageSizeInGB:
f:shape:
f:state:
f:storageManagement:
f:subnetId:
f:timeZone:
f:workRequests:
Manager: manager
Operation: Update
Time: 2022-03-08T23:32:55Z
API Version: database.oracle.com/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:dbSystem:
.:
f:availabilityDomain:
f:compartmentId:
f:dbAdminPaswordSecret:
f:hostName:
f:initialDataStorageSizeInGB:
f:shape:
f:sshPublicKeys:
f:subnetId:
f:id:
f:ociConfigMap:
f:ociSecret:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2022-03-09T00:48:11Z
Resource Version: 55222013
UID: 96d7bc49-33e9-42cc-8dd0-ada9a5a4c7e5
Spec:
Db System:
Availability Domain: OLou:PHX-AD-1
Compartment Id: ocid1.compartment.oc1..aaaaaaaa4hecw2shffuuc4fcatpin4x3rdkesmmf4he67osupo7g6f7i6eya
Db Admin Pasword Secret: admin-password
Host Name: host0130
Initial Data Storage Size In GB: 512
Shape: VM.Standard2.1
Ssh Public Keys:
oci-publickey
Subnet Id: ocid1.subnet.oc1.phx.aaaaaaaauso243tymnzeh6zbz5vkejgyu4ugujul5okpa5xbaq3275izbc7a
Id: ocid1.dbsystem.oc1.phx.anyhqljrabf7htyanr3lnp6wtu5ld7qwszohiteodvwahonr2yymrftarkqa
Oci Config Map: oci-cred
Oci Secret: oci-privatekey
Status:
Availability Domain: OLou:PHX-AD-1
Cpu Core Count: 1
Data Storage Percentage: 80
Data Storage Size In G Bs: 512
Db Edition: ENTERPRISE_EDITION
Db Info:
Db Home Id: ocid1.dbhome.oc1.phx.anyhqljr5gy3jhqat52milqwt3gq6lwohhacwg5yi4mtzq7c7hag53lrkugq
Db Name: db0130
Db Unique Name: db0130_phx1zn
Db Workload: OLTP
Id: ocid1.database.oc1.phx.anyhqljrabf7htyackgmsaqjfexoqgrzuuk33ju2q25z2al43tnd5mhhvkra
Display Name: dbsystem20220308221302
Id: ocid1.dbsystem.oc1.phx.anyhqljrabf7htyanr3lnp6wtu5ld7qwszohiteodvwahonr2yymrftarkqa
License Model: LICENSE_INCLUDED
Network:
Client Subnet: k8test-pubvcn
Domain Name: k8testpubvcn.k8test.oraclevcn.com
Host Name: host0130
Listener Port: 1521
Scan Dns Name: host0130-scan.k8testpubvcn.k8test.oraclevcn.com
Vcn Name: k8test
Node Count: 1
Reco Storage Size In GB: 256
Shape: VM.Standard2.1
State: AVAILABLE
Storage Management: ASM
Subnet Id: ocid1.subnet.oc1.phx.aaaaaaaauso243tymnzeh6zbz5vkejgyu4ugujul5okpa5xbaq3275izbc7a
Time Zone: UTC
Work Requests:
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrxivzvgzel47zuoyke5yk36o7mrgjl27vscd5z3bqptmyh3rxwbqq
Operation Type: Create DB System
Percent Complete: 100
Time Accepted: 2022-03-08 22:13:02.999 +0000 UTC
Time Finished: 2022-03-08 23:11:50.46 +0000 UTC
Time Started: 2022-03-08 22:13:16.995 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrc3fx6kwq4yxerk3ngztdbbngm7w4dnlddcdhxqxjn6e4kcyux5ca
Operation Type: Update Shape
Percent Complete: 100
Time Accepted: 2022-03-08 23:33:42.807 +0000 UTC
Time Finished: 2022-03-08 23:46:21.126 +0000 UTC
Time Started: 2022-03-08 23:33:52.109 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljr5sveun3f6k3zuz23py7mm7jncmpq5vwyajbo5ezhc765347defwq
Operation Type: Update Shape
Percent Complete: 100
Time Accepted: 2022-03-09 00:25:03.644 +0000 UTC
Time Finished: 2022-03-09 00:38:59.526 +0000 UTC
Time Started: 2022-03-09 00:25:15.578 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrbaqah6qktukvdlnx66fp2hlevegryfuppsshkqemfcdjtwfwaq3q
Operation Type: Scale Storage
Percent Complete: 100
Time Accepted: 2022-03-09 00:48:54.849 +0000 UTC
Time Finished: 2022-03-09 01:03:10.885 +0000 UTC
Time Started: 2022-03-09 00:49:05.911 +0000 UTC
Events: <none>
[root@docker-test-server test]#
[root@docker-test-server test]# cat update_license.yaml
apiVersion: database.oracle.com/v1alpha1
kind: DbcsSystem
metadata:
name: dbcssystem-existing
spec:
id: "ocid1.dbsystem.oc1.phx.anyhqljrabf7htyanr3lnp6wtu5ld7qwszohiteodvwahonr2yymrftarkqa"
dbSystem:
availabilityDomain: "OLou:PHX-AD-1"
compartmentId: "ocid1.compartment.oc1..aaaaaaaa4hecw2shffuuc4fcatpin4x3rdkesmmf4he67osupo7g6f7i6eya"
dbAdminPaswordSecret: "admin-password"
hostName: "host0130"
licenseModel: "BRING_YOUR_OWN_LICENSE"
shape: "VM.Standard2.1"
sshPublicKeys:
- "oci-publickey"
subnetId: "ocid1.subnet.oc1.phx.aaaaaaaauso243tymnzeh6zbz5vkejgyu4ugujul5okpa5xbaq3275izbc7a"
ociConfigMap: "oci-cred"
ociSecret: "oci-privatekey"
[root@docker-test-server test]#
[root@docker-test-server test]# kubectl apply -f update_license.yaml
dbcssystem.database.oracle.com/dbcssystem-existing configured
[root@docker-test-server test]#
[root@docker-test-server test]# kubectl get ns
kubectl get allNAME STATUS AGE
cert-manager Active 13d
default Active 139d
kube-node-lease Active 139d
kube-public Active 139d
kube-system Active 139d
oracle-database-operator-system Active 13d
shns Active 88d
[root@docker-test-server test]#
[root@docker-test-server test]# kubectl get all -n oracle-database-operator-system
NAME READY STATUS RESTARTS AGE
pod/oracle-database-operator-controller-manager-665874bd57-dlhls 1/1 Running 3 13d
pod/oracle-database-operator-controller-manager-665874bd57-g2cgw 1/1 Running 3 13d
pod/oracle-database-operator-controller-manager-665874bd57-q42f8 1/1 Running 4 13d
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/oracle-database-operator-controller-manager-metrics-service ClusterIP 10.96.130.124 <none> 8443/TCP 13d
service/oracle-database-operator-webhook-service ClusterIP 10.96.4.104 <none> 443/TCP 13d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/oracle-database-operator-controller-manager 3/3 3 3 13d
NAME DESIRED CURRENT READY AGE
replicaset.apps/oracle-database-operator-controller-manager-665874bd57 3 3 3 13d
[root@docker-test-server test]#
[root@docker-test-server test]# kubectl logs -f pod/oracle-database-operator-controller-manager-665874bd57-dlhls -n oracle-database-operator-system
.
.
2022-03-09T01:15:19.090Z INFO controller-runtime.manager.controller.dbcssystem OCI provider configured succesfully {"reconciler group": "database.oracle.com", "reconciler kind": "DbcsSystem", "name": "dbcssystem-existing", "namespace": "default"}
2022-03-09T01:15:23.534Z INFO controller-runtime.manager.controller.dbcssystem DB System current state is still:UPDATING. Sleeping for 60 seconds. {"reconciler group": "database.oracle.com", "reconciler kind": "DbcsSystem", "name": "dbcssystem-existing", "namespace": "default"}
2022-03-09T01:16:23.931Z INFO controller-runtime.manager.controller.dbcssystem DB System current state is still:UPDATING. Sleeping for 60 seconds. {"reconciler group": "database.oracle.com", "reconciler kind": "DbcsSystem", "name": "dbcssystem-existing", "namespace": "default"}
2022-03-09T01:17:24.701Z INFO controller-runtime.manager.controller.dbcssystem DB System current state is still:UPDATING. Sleeping for 60 seconds. {"reconciler group": "database.oracle.com", "reconciler kind": "DbcsSystem", "name": "dbcssystem-existing", "namespace": "default"}
[root@docker-test-server test]# kubectl describe dbcssystems.database.oracle.com dbcssystem-existing
Name: dbcssystem-existing
Namespace: default
Labels: <none>
Annotations: lastSuccessfulSpec:
{"dbSystem":{"compartmentId":"ocid1.compartment.oc1..aaaaaaaa4hecw2shffuuc4fcatpin4x3rdkesmmf4he67osupo7g6f7i6eya","availabilityDomain":"O...
API Version: database.oracle.com/v1alpha1
Kind: DbcsSystem
Metadata:
Creation Timestamp: 2022-03-08T23:27:48Z
Generation: 5
Managed Fields:
API Version: database.oracle.com/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:lastSuccessfulSpec:
f:spec:
f:dbSystem:
f:cpuCoreCount:
f:dbBackupConfig:
f:dbEdition:
f:dbName:
f:dbUniqueName:
f:dbVersion:
f:diskRedundancy:
f:displayName:
f:faultDomains:
f:nodeCount:
f:status:
.:
f:availabilityDomain:
f:cpuCoreCount:
f:dataStoragePercentage:
f:dataStorageSizeInGBs:
f:dbEdition:
f:dbInfo:
f:displayName:
f:id:
f:licenseModel:
f:network:
.:
f:clientSubnet:
f:domainName:
f:hostName:
f:listenerPort:
f:scanDnsName:
f:vcnName:
f:nodeCount:
f:recoStorageSizeInGB:
f:shape:
f:state:
f:storageManagement:
f:subnetId:
f:timeZone:
f:workRequests:
Manager: manager
Operation: Update
Time: 2022-03-08T23:32:55Z
API Version: database.oracle.com/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:dbSystem:
.:
f:availabilityDomain:
f:compartmentId:
f:dbAdminPaswordSecret:
f:hostName:
f:licenseModel:
f:shape:
f:sshPublicKeys:
f:subnetId:
f:id:
f:ociConfigMap:
f:ociSecret:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2022-03-09T01:15:19Z
Resource Version: 55226409
UID: 96d7bc49-33e9-42cc-8dd0-ada9a5a4c7e5
Spec:
Db System:
Availability Domain: OLou:PHX-AD-1
Compartment Id: ocid1.compartment.oc1..aaaaaaaa4hecw2shffuuc4fcatpin4x3rdkesmmf4he67osupo7g6f7i6eya
Db Admin Pasword Secret: admin-password
Host Name: host0130
License Model: BRING_YOUR_OWN_LICENSE
Shape: VM.Standard2.1
Ssh Public Keys:
oci-publickey
Subnet Id: ocid1.subnet.oc1.phx.aaaaaaaauso243tymnzeh6zbz5vkejgyu4ugujul5okpa5xbaq3275izbc7a
Id: ocid1.dbsystem.oc1.phx.anyhqljrabf7htyanr3lnp6wtu5ld7qwszohiteodvwahonr2yymrftarkqa
Oci Config Map: oci-cred
Oci Secret: oci-privatekey
Status:
Availability Domain: OLou:PHX-AD-1
Cpu Core Count: 1
Data Storage Percentage: 80
Data Storage Size In G Bs: 512
Db Edition: ENTERPRISE_EDITION
Db Info:
Db Home Id: ocid1.dbhome.oc1.phx.anyhqljr5gy3jhqat52milqwt3gq6lwohhacwg5yi4mtzq7c7hag53lrkugq
Db Name: db0130
Db Unique Name: db0130_phx1zn
Db Workload: OLTP
Id: ocid1.database.oc1.phx.anyhqljrabf7htyackgmsaqjfexoqgrzuuk33ju2q25z2al43tnd5mhhvkra
Display Name: dbsystem20220308221302
Id: ocid1.dbsystem.oc1.phx.anyhqljrabf7htyanr3lnp6wtu5ld7qwszohiteodvwahonr2yymrftarkqa
License Model: BRING_YOUR_OWN_LICENSE
Network:
Client Subnet: k8test-pubvcn
Domain Name: k8testpubvcn.k8test.oraclevcn.com
Host Name: host0130
Listener Port: 1521
Scan Dns Name: host0130-scan.k8testpubvcn.k8test.oraclevcn.com
Vcn Name: k8test
Node Count: 1
Reco Storage Size In GB: 256
Shape: VM.Standard2.1
State: AVAILABLE
Storage Management: ASM
Subnet Id: ocid1.subnet.oc1.phx.aaaaaaaauso243tymnzeh6zbz5vkejgyu4ugujul5okpa5xbaq3275izbc7a
Time Zone: UTC
Work Requests:
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrxivzvgzel47zuoyke5yk36o7mrgjl27vscd5z3bqptmyh3rxwbqq
Operation Type: Create DB System
Percent Complete: 100
Time Accepted: 2022-03-08 22:13:02.999 +0000 UTC
Time Finished: 2022-03-08 23:11:50.46 +0000 UTC
Time Started: 2022-03-08 22:13:16.995 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrc3fx6kwq4yxerk3ngztdbbngm7w4dnlddcdhxqxjn6e4kcyux5ca
Operation Type: Update Shape
Percent Complete: 100
Time Accepted: 2022-03-08 23:33:42.807 +0000 UTC
Time Finished: 2022-03-08 23:46:21.126 +0000 UTC
Time Started: 2022-03-08 23:33:52.109 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljr5sveun3f6k3zuz23py7mm7jncmpq5vwyajbo5ezhc765347defwq
Operation Type: Update Shape
Percent Complete: 100
Time Accepted: 2022-03-09 00:25:03.644 +0000 UTC
Time Finished: 2022-03-09 00:38:59.526 +0000 UTC
Time Started: 2022-03-09 00:25:15.578 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrbaqah6qktukvdlnx66fp2hlevegryfuppsshkqemfcdjtwfwaq3q
Operation Type: Scale Storage
Percent Complete: 100
Time Accepted: 2022-03-09 00:48:54.849 +0000 UTC
Time Finished: 2022-03-09 01:03:10.885 +0000 UTC
Time Started: 2022-03-09 00:49:05.911 +0000 UTC
Operation Id: ocid1.coreservicesworkrequest.oc1.phx.abyhqljrvhcpme5ijlsxup22kuumjuzn367vdxwhblv2nxpwshfwnig5au7a
Operation Type: Update DB System License Type
Percent Complete: 100
Time Accepted: 2022-03-09 01:16:16.991 +0000 UTC
Time Finished: 2022-03-09 01:17:05.025 +0000 UTC
Time Started: 2022-03-09 01:16:24.716 +0000 UTC
Events: <none>
[root@docker-test-server test]#