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
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
+
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:
392
393
393
-
The most likely cause is related to the value of `persistentVolumeClaimName`, defined in `domain-home-on-pv/create-domain-inputs.yaml`.
394
-
* To determine if this is the problem:
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`.
395
397
396
-
* Execute `kubectl get all --all-namespaces` to find the name of the `create-weblogic-sample-domain-job`.
397
-
* 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`.
398
-
* 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`.
399
-
400
-
* Change the value of `persistentVolumeClaimName` to match the name created when you executed [create-pv-pvc.sh](../../create-weblogic-domain-pv-pvc/README.md).
401
-
* Rerun the `create-domain.sh` script with the same arguments as you did before.
402
-
* Verify that the operator is deployed. Use the command:
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:
403
401
```
404
402
kubectl get all --all-namespaces
405
403
```
@@ -415,23 +413,23 @@ The most common cause is a poor choice of value for `weblogicDomainStoragePath`
415
413
```
416
414
create-pv-pvc.sh
417
415
```
418
-
You should [delete the resources for your sample domain](../../delete-domain/README.md), correct the value in that file, and rerun the commands to create the PV/PVC and the credential before you attempt to rerun:
416
+
You should [delete the resources for your sample domain](../../delete-domain/README.md), correct the value in that file, and rerun the commands to create the PV/PVC and the credential before you attempt to rerun:
419
417
```
420
418
create-domain.sh
421
419
```
422
-
A correct value for `weblogicDomainStoragePath` will meet the following requirements:
420
+
A correct value for `weblogicDomainStoragePath` will meet the following requirements:
423
421
424
422
* Must be the name of a directory.
425
423
* The directory must be world writable.
426
424
427
-
Optionally, follow these steps to tighten permissions on the named directory after you run the sample the first time:
425
+
Optionally, follow these steps to tighten permissions on the named directory after you run the sample the first time:
428
426
429
-
* Become the root user.
430
-
*`ls -nd $value-of-weblogicDomainStoragePath`
431
-
* 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`
437
435
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