Este contenido no está disponible en el idioma seleccionado.
Chapter 3. Known Issues
This section describes issues that users of Red Hat Container Development Kit 3.1 may encounter, as well as possible workarounds for these issues.
3.1. General Issues Copiar enlaceEnlace copiado en el portapapeles!
Issues affecting all supported platforms.
3.1.1. Cached images can be slow Copiar enlaceEnlace copiado en el portapapeles!
Using cached images created by minishift start --image-caching can sometimes be slower than downloading those images.
3.1.2. Metrics containers not deployed properly Copiar enlaceEnlace copiado en el portapapeles!
The minishift start --metrics command fails to properly deploy metrics container images due to a problem with version tags on these images. The workaround is to use --ocp-tag v3.6. Despite using the same OCP version, this allows minishift start to pull metrics images properly.
3.1.3. Logging containers not deployed properly Copiar enlaceEnlace copiado en el portapapeles!
The minishift start --logging command fails to properly deploy logging container images due to a problem with version tags on these images. The workaround is to use --ocp-tag v3.6. Despite using the same OCP version, this allows minishift start to pull logging images properly.
3.1.4. MINISHIFT_HOME directory rewritten on every run of minishift setup-cdk Copiar enlaceEnlace copiado en el portapapeles!
The directory set in the MINISHIFT_HOME environment variable is rewritten whenever the minishift setup-cdk command is executed. Do not set it to a directory that contains data that cannot be discarded, such as your home directory. The minishift command displays a warning about the deletion of the directory.
3.1.5. Support for OpenShift v3.6 added Copiar enlaceEnlace copiado en el portapapeles!
Support for --ocp-tag v3.6.0 was not originally available with Container Development Kit 3.1, so no version of OpenShift later than 3.5 could be used with CDK 3.1. For Container Development Kit 3.1.1, the default version of OpenShift is 3.6.173.0.5, so --ocp-tag is not needed to get OpenShift v3.6.
3.1.6. The "latest" tag not supported with --ocp-tag Copiar enlaceEnlace copiado en el portapapeles!
The --ocp-tag flag for the minishift start command does not support the "latest" tag. Workaround: If you want to use any OCP image other than the default, you need to find the version number of the specific image you want and select that version. You can find the image using --ocp-tag help. The tag will be in the format: "v.X.Y.Z". Currently, no version later than the default 3.6.173.0.5 is available.
3.1.7. Typo in minishift openshift service command Copiar enlaceEnlace copiado en el portapapeles!
The minishift openshift service outputs the word namsepace instead of namespace. This causes no functional problem.
3.1.8. Improper minishift ssh error message Copiar enlaceEnlace copiado en el portapapeles!
When you exit from minishift ssh after executing a command that fails, Minishift will print an improper error message. Workaround: Ignore the error message, nothing bad happened. Here is an example:
3.1.9. Improper warning from minishift setup-cdk command Copiar enlaceEnlace copiado en el portapapeles!
On a fresh Container Development Kit 3.1.1 setup, when you execute minishift version the .minishift directory is created and default addons are automatically installed. After that, when you run the minishift setup-cdk command, you are warned the .minishift directory exists and that all data will be deleted, then asked if you want to continue. Workaround: Always type y to continue. The addons will be properly installed.
3.1.10. Wrong URL in minishift start -h output Copiar enlaceEnlace copiado en el portapapeles!
Output from the minishift start -h command improperly identifies the URL for finding available OpenShift tags as follows:
Check the available tags in https://access.redhat.com/containers/#/registry.access.redhat.com/openshift3/ose/images (default "v3.6.173.0.5")
Check the available tags in https://access.redhat.com/containers/#/registry.access.redhat.com/openshift3/ose/images (default "v3.6.173.0.5")
The proper URL is:
https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/openshift3/ose
https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/openshift3/ose
3.2. Issues on Microsoft Windows Copiar enlaceEnlace copiado en el portapapeles!
This section describes issues that only affect users using Container Development Kit on a Microsoft Windows host system.
3.2.1. The minishift openshift config set command does not work as expected Copiar enlaceEnlace copiado en el portapapeles!
Microsoft Windows CMD and PowerShell have problems with parsing JSON into minishift openshift config set command. Special attention needed from user when using this command on Windows. The workaround is to use exact and verified example commands as mentioned on github.
minishift openshift config set --patch '{"corsAllowedOrigins": [".*"]}'
C:\Users\CDK> minishift openshift config set --patch '{"corsAllowedOrigins": [".*"]}'
The specified patch need to be valid JSON.
The workaround for Microsoft Windows CMD environments is to escape the quotes so that the JSON is correctly parsed:
minishift.exe openshift config set --patch "{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}"
C:\Users\CDK> minishift.exe openshift config set --patch "{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}"
For Powershell v2 environments on Microsoft Windows, the workaround is to use a variable to store the JSON code:
3.2.2. Gow ssh utility causes error message in VM startup Copiar enlaceEnlace copiado en el portapapeles!
Using the Gow (GNU on Windows) utility installer to install the SSH utility causes the following error message when SSH is invoked to start Container Development Kit virtual machine with VirtualBox on Windows 7:
0907 09:49:02.791900 3456 start.go:282] Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded. Retrying.
0907 09:49:02.791900 3456 start.go:282] Error starting the VM: Error
creating the VM. Error creating machine: Error in driver during machine
creation: Too many retries waiting for SSH to be available. Last error:
Maximum number of retries (60) exceeded. Retrying.
Despite this message, the VM started successfully.