Release Notes and Known Issues
Release Notes and Known Issues
Abstract
Chapter 1. Release Notes Copy linkLink copied to clipboard!
This section documents the most important features of the Red Hat Container Development Kit 2.0 product.
Please, note that the Red Hat Container Development Kit 2.0 product has been released as Technical Preview. This impacts the level of support offered by Red Hat. For additional information, please, see Technology Preview Features Support Scope.
1.1. Set up OpenShift Enterprise with a single command Copy linkLink copied to clipboard!
Red Hat Container Development Kit 2.0 offers a simple way to set up the OpenShift Enterprise Platform as a Service (PaaS), which extends the functionality of the Docker service and the Kubernetes container orchestration tool to provide a powerful and easy-to-use platform for building, deploying, and orchestrating multi-container applications and services.
A Vagrantfile is provided (cdk/components/rhel/rhel-ose/Vagrantfile in the Red Hat Developer Tools ZIP file) that automatically provisions an OpenShift instance and sets it up for use in the Red Hat CDK Vagrant box, along with all other prerequisities, including the Docker service.
1.2. Set up Kubernetes with a single command Copy linkLink copied to clipboard!
Red Hat Container Development Kit 2.0 offers a simple way to set up the Kubernetes container orchestration service (both in master and node modes) using a single command. A Vagrantfile is provided (cdk/components/rhel/misc/rhel-k8s-singlenode-setup/Vagrantfile in the Red Hat Developer Tools ZIP file) that provisions the Red Hat CDK Vagrant box to have the Kubernetes service and all other prerequisities, including the Docker service, ready for use.
1.3. Interact with the Red Hat CDK box using tools on the host Copy linkLink copied to clipboard!
The vagrant-service-manager plugin, included in version 1.0.1, provides for a way to configure the Red Hat CDK for different use cases. The plugin also displays information about services running within the Red Hat CDK box, thus providing an interface between Red Hat CDK and the host workstation. Users can utilize familiar tools, such as the Eclipse IDE, in their development environment of choice (Linux, Mac OS X, or Windows) to interact with the container services deployed in the Red Hat CDK box.
1.4. Universal, bi-directional file synchronization Copy linkLink copied to clipboard!
The vagrant-sshfs plugin, included in version 1.1.0, uses the SSHFS software to open a file-synchronization channel between the Red Hat CDK box and the host system. The solution works on all supported platforms (Linux, Mac OS X, Windows) and with both supported virtualization providers (KVM/libvirt, VirtualBox), and therefore provides a good alternative to other ways of synchronizing data (NFS, rsync, VirtualBox shared folders).
1.5. Automatic registration of Red Hat Enterprise Linux virtual machines Copy linkLink copied to clipboard!
The vagrant-registration plugin, included in version 1.2.1, provides for an easy to way to register the Red Hat CDK Vagrant boxes, which are based on Red Hat Enterprise Linux, during their provisioning. The process can be automated by adding login credentials into a system-wide or box-specific Vagrantfile or by setting respective environment variables (SUB_USERNAME and SUB_PASSWORD).
Chapter 2. Known Issues Copy linkLink copied to clipboard!
This section describes issues that users of Red Hat Container Development Kit 2.0 may encounter, as well as possible workarounds for these issues.
2.1. SELinux blocking the use of emptyDir volumes in Kubernetes Copy linkLink copied to clipboard!
Running an application using Kubernetes fails when a Kubernetes pod needs to use an emptyDir volume because a corresponding SELinux context is not automatically set for emptyDir.
2.2. Kubernetes status not shown correctly by the vagrant-service-manager plugin Copy linkLink copied to clipboard!
Due to a bug in the vagrant-service-manager plugin, the vagrant service-manager env command reports that the Kubernetes service is stopped in the Red Hat CDK box even when it is running. To work around this issue, users can upgrade to the latest version of the vagrant-service-manager plugin from rubygems.org, in which the bug has been fixed. To upgrade, run the following command: vagrant plugin update vagrant-service-manager or install the newest version by running the following command: vagrant plugin install vagrant-service-manager.
2.3. Running AtomicApp fails when using sudo Copy linkLink copied to clipboard!
Due to a bug in Atomic CLI, the command to run AtomicApp fails when issued with sudo as follows: sudo atomic run <atomicapp-docker-image>. To work around the problem, use sudo with the -E option: sudo -E atomic run <atomicapp-docker-image>.
2.4. Red Hat CDK Vagrant box does not have Virtaulbox Guest Additions pre-installed Copy linkLink copied to clipboard!
Virtualbox is a supported virtualization provider for Red Hat CDK, but the Virtualbox Guest Additions software, which offers various drivers and applications and is useful for sharing folders between the Vagrant box and the host system, is not pre-installed in the Red Hat CDK box because its licence is not compatible with Red Hat CDK. Users are recommended to use SSHFS provided by the vagrant-sshfs plugin to enable Vagrant synchronized folders.
2.5. Vagrant plugins vagrant-registration and vagrant-vbguest do not work together Copy linkLink copied to clipboard!
The Red Hat CDK Vagrant box for the Virtualbox virtualization provider does not come with the Virtualbox Guest Additions software pre-installed because of a licensing-incompatibity issue. Users who attempt to work around the absence of Virtualbox Guest Additions by installing the software using the vagrant-vbguest plugin are advised that it is not possible to use both the vagrant-vbguest and vagrant-registartion plugins together. If you wish to install either one of the plugins, make sure that the other one is not installed.
2.6. Warning message when running vagrant ssh on Mac OS X with VirtualBox Copy linkLink copied to clipboard!
When the vagrant ssh command is used on Mac OS X to log into the Red Hat CDK Vagrant box, the following warning message is displayed:
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory"
The message can be safely disregarded.
2.7. No support for network proxies Copy linkLink copied to clipboard!
Internal network proxies, which are used for connecting to the Internet in some networking configurations, are not supported by Red Hat CDK.
2.8. Internet connection required for running applications in OpenShift Copy linkLink copied to clipboard!
While it is possible to start the OpenShift service in Red Hat CDK when the host system is not connected to the Internet, Internet connection is required for running applications using OpenShift because OpenShift needs to download required Docker-formatted container images for applications to function.
2.9. DNS service provided by xip.io only works with an Internet connection Copy linkLink copied to clipboard!
DNS addressing provided by the external xip.io service is unavailable without a working Internet connection.
2.10. Starting or Restarting OpenShift Is Time Consuming Copy linkLink copied to clipboard!
Starting or restarting OpenShift takes more time than expected. The reason lies in the way the Red Hat CDK virtual machine is configured. The same problem occurs when running the vagrant service-manager restart openshift command or during initialization using the vagrant up command. This command may fail with a timeout error, even though the environment is running. It is only the OpenShift service that starts slowly.
2.11. Credentials Stored in System Vagrantfile not Supported when Using rhel-k8s-singlenode-setup Copy linkLink copied to clipboard!
The Vagrantfile for the rhel-k8s-singlenode-setup configuration does not support credentials stored in the system Vagrantfile. While storing user credentials in the system Vagrantfile works for registering an environment initialized using the rhel-ose configuration, for the rhel-k8s-singlenode-setup Vagranfile, the registration plugin asks for credentials interactively. This problem is caused by a bug in the Vagrantfile.
To work around the problem, delete the config.registration lines from the Vagrantfile, or copy this part from the rhel-ose Vagrantfile.
Chapter 3. Additional Resources Copy linkLink copied to clipboard!
- See the Red Hat CDK Installation Guide for installation instructions for all supported platforms (Linux, Mac OS X, Windows).
- See the Red Hat CDK Getting Started Guide for an overview of Red Hat CDK features and for an introduction into the use of the Docker service and the OpenShift Enterprise platform.