You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -391,21 +391,20 @@ pod domain1-create-weblogic-sample-domain-job-4qwt2 status is Pending
391
391
The create domain job is not showing status completed after waiting 300 seconds.`
392
392
The most likely cause is related to the value of `persistentVolumeClaimName`, defined in `domain-home-on-pv/create-domain-inputs.yaml`. To determine if this is the problem:
393
393
394
-
* Execute `kubectl get all --all-namespaces` to find the name of the `create-weblogic-sample-domain-job`.
395
-
* Execute `kubectl describe pod <name-of-create-weblogic-sample-domain-job>` to see if there is an event that has text similar to `persistentvolumeclaim "domain1-weblogic-sample-pvc" not found`.
396
-
* Find the name of the PVC that was created by executing [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md), using `kubectl describe pvc`. It is likely to be `weblogic-sample-pvc`.
397
-
398
-
* Change the value of `persistentVolumeClaimName` to match the name created when you executed [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md).
399
-
* Rerun the `create-domain.sh` script with the same arguments as you did before.
400
-
* Verify that the operator is deployed. Use the command:
394
+
* Execute `kubectl get all --all-namespaces` to find the name of the `create-weblogic-sample-domain-job`.
395
+
* Execute `kubectl describe pod <name-of-create-weblogic-sample-domain-job>` to see if there is an event that has text similar to `persistentvolumeclaim "domain1-weblogic-sample-pvc" not found`.
396
+
* Find the name of the PVC that was created by executing [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md), using `kubectl describe pvc`. It is likely to be `weblogic-sample-pvc`.
397
+
* Change the value of `persistentVolumeClaimName` to match the name created when you executed [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md).
398
+
* Rerun the `create-domain.sh` script with the same arguments as you did before.
399
+
* Verify that the operator is deployed. Use the command:
401
400
```
402
401
kubectl get all --all-namespaces
403
402
```
404
403
Look for lines similar to:
405
404
```
406
405
weblogic-operator1 pod/weblogic-operator-
407
406
```
408
-
If you do not find something similar in the output, the WebLogic Operator for Kubernetes may not have been installed completely. Review the operator [installation instructions](../../../../../site/install.md).
407
+
If you do not find something similar in the output, the WebLogic Operator for Kubernetes may not have been installed completely. Review the operator [installation instructions](../../../../../site/install.md).
409
408
410
409
411
410
2. Message: `ERROR: Unable to create folder /shared/domains`
@@ -419,17 +418,17 @@ create-domain.sh
419
418
```
420
419
A correct value for `weblogicDomainStoragePath` will meet the following requirements:
421
420
422
-
* Must be the name of a directory.
423
-
* The directory must be world writable.
421
+
* Must be the name of a directory.
422
+
* The directory must be world writable.
424
423
425
424
Optionally, follow these steps to tighten permissions on the named directory after you run the sample the first time:
426
425
427
-
* Become the root user.
428
-
*`ls -nd $value-of-weblogicDomainStoragePath`
426
+
* Become the root user.
427
+
* `ls -nd $value-of-weblogicDomainStoragePath`
429
428
* Note the values of the third and fourth field of the output.
3. Message: `ERROR: The create domain job will not overwrite an existing domain. The domain folder /shared/domains/domain1 already exists`
435
434
You will see this message if the directory `domains/domain1` exists in the directory named as the value of `weblogicDomainStoragePath` in `create-pv-pvc-inputs.yaml`. For example, if the value of `weblogicDomainStoragePath` is `/tmp/wls-op-4-k8s`, you would need to remove (or move) `/tmp/wls-op-4-k8s/domains/domain1`.
0 commit comments