Questo contenuto non è disponibile nella lingua selezionata.

Chapter 3. Known Issues


This section describes issues that users of Red Hat Container Development Kit 2.3 may encounter, as well as possible workarounds for these issues.

3.1. General Issues

Issues affecting all supported platforms.

3.1.1. DNS service provided by xip.io only works with an Internet connection

DNS addressing provided by the external xip.io service is unavailable without a working Internet connection.

3.1.2. Red Hat Subscription Delay

After signing up for a Red Hat Developers account, you must wait approximately fifteen minutes to allow the new account information to propagate to the Red Hat Subscription Management system before the Container Development Environment can be registered.

3.1.3. The nodejs-4-rhel7 Container Image Does Not Work Behind Proxy

The nodejs-4-rhel7 Docker-formatted container image, which is available from the Red Hat Atomic Registry, does not work when the Container Development Environment is connected to the Internet through a proxy server.

To enable automatic registration of the Container Development Environment Vagrant box, credentials for to Red Hat Subscription must be defined in the Vagrantfiles that are supplied in the Red Hat Container Tools ZIP file. Credentials defined in the user’s global Vagrantfile in /home/<username>/.vagrant.d/ are ignored by the vagrant-registration plugin.

3.1.5. Certificate Error upon Log in to OpenShift

An insecure certificate causes an error when using oc login. Use the --insecure-skip-tls-verify=true option with the oc login command to prevent the warning about insecure connection.

3.1.6. Vagrant Reload Does Not Work behind Proxy

When using the Container Development Environment behind a proxy server, the vagrant reload command does not work properly, which results in OpenShift applications not loading. To avoid this issue, halt and restart your Container Development Environment Vagrant box using the vagrant halt and vagrant start commands.

Using the --path option with the install-cli command of the vagrant-service-manager plugin does not work as expected. The following error is shown:

# Binary now available at /path/to/CDK/2.3/components/rhel/rhel-ose/cli
# run binary as:
# oc <command>
export PATH=/path/to/CDK/2.3/components/rhel/rhel-ose:$PATH

# run following command to configure your shell:
# eval "$(VAGRANT_NO_COLOR=1 vagrant service-manager install-cli openshift --path cli | tr -d '\r')"
Copy to Clipboard Toggle word wrap

3.1.8. Vagrant Box Will Not Start if PROXY_USER or PROXY_PASSWORD Are Not Set

If either of the environment variables, PROXY_USER or PROXY_PASSWORD, is unset, the vagrant up command does not work as expected. If they are unset, Vagrant may also log many events more rapidly than expected. There are two workarounds:

  • Export the environment variables PROXY_USER and PROXY_PASSWD to an empty string.

    $ export PROXY_USER=''
    $ export PROXY_PASSWORD=''
    Copy to Clipboard Toggle word wrap
  • Comment out the relevant parts of the Vagrantfile by inserting the # character at the beginning of each of these lines:

    config.registration.proxy = PROXY = ENV['PROXY']
    config.registration.proxyUser = PROXY_USER = ENV['PROXY_USER']                                    # if ENV.key?('PROXY_USER')
    config.registration.proxyPassword = PROXY_PASSWORD = ENV['PROXY_PASSWORD']    # if ENV.key?('PROXY_PASSWORD')
    Copy to Clipboard Toggle word wrap

3.1.9. The Vagrant VM May Run Out of Space Unexpectedly

In some circumstances, the filesystem may become full more quickly than expected. This impact can be minimized by running oadm-prune periodically. Filesystems that fill up can have an additional volume added to the affected volume group, to extend the runtime of the system. As the filesystem becomes full, growing log files may also fill the remaining space.

The install-cli command provided by the vagrant-service-manager plugin does not install the 1.3.1 version recommended for OpenShift Container Platform version 3.3.1.3, which is supplied by the Container Development Environment by default. The correct version can be installed using the following command:

$ vagrant service-manager install-cli openshift --cli-version 1.3.1
Copy to Clipboard Toggle word wrap

3.1.11. The Filesystem May Become Full After Several Days

In some circumstances, the filesystem may become full more quickly than expected. This impact can be minimized by running oadm-prune periodically. Filesystems that fill up can have an additional volume added to the affected volume group, to extend the runtime of the system. As the filesystem becomes full, growing log files may also the remaining space.

3.2. Issues on Microsoft Windows

This section describes issues that only affect users using Container Development Kit on a Microsoft Windows host system.

3.2.1. The vagrant-registration Plugin on Cygwin Bash Does Not Hide Password

When the vagrant-registration plugin is used in interactive mode in the Cygwin Bash terminal, the entered password is visible in the standard input. The following warning will be printed:

Error! Your console doesn't support hiding input. We'll ask for
input again below, but we WILL NOT be able to hide input. If this
is a problem for you, ctrl-C to exit and fix your stdin.
Copy to Clipboard Toggle word wrap

3.3. Issues on Red Hat Enterprise Linux

This section describes issues that only affect users using Container Development Kit on a Red Hat Enterprise Linux host system.

3.3.1. The docker Command Cannot Communicate with Container Development Kit

The /usr/bin/docker wrapper on Red Hat Enterprise Linux 7 overwrites the DOCKER_CERT_PATH environment variable, which means that the Docker client does not work properly with the Docker service provided by the Container Development Environment. To work around this issue, use directly the docker-current command.

3.3.3. Installation May Fail on Red Hat Enterprise Linux 7

Installing the vagrant-service-manager plugin may fail on Red Hat Enterprise Linux 7 due to missing dependencies. You can install the missing packages with:

# sudo yum -y install @'Development Tools'
# sudo yum -y install libvirt-devel rh-ruby22-ruby-devel
Copy to Clipboard Toggle word wrap

The Vagrant plugins should then be installed:

# vagrant plugin install vagrant-service-manager
# vagrant plugin install vagrant-registration vagrant-sshfs
# vagrant plugin list
Copy to Clipboard Toggle word wrap

3.3.4. Kubernetes Causes Openshift to Stop or Prevent Openshift From Starting

Kubernetes startup will cause the openshift service in a VM to stop. Starting openshift after Kubernetes may also fail with an error. This problem can be verified with the command vagrant service-manager status openshift.

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat