Release Notes and Known Issues

Red Hat Container Development Kit 3.11

Highlighted features and identified problems in Red Hat Container Development Kit 3.11

Red Hat Developer Group Documentation Team

Abstract

This document lists and briefly describes new and improved features of Red Hat Container Development Kit 3.11. It also contains information about potential problems you may encounter while using the software. Where possible, workarounds are described for identified issues.

Part I. Introducing Red Hat Container Development Kit

Red Hat Container Development Kit provides a platform for developing containerized applications. It is a set of tools that enables developers to quickly and easily set up an environment for developing and testing containerized applications on the Red Hat Enterprise Linux platform.

  • Container Development Kit provides a personal Container Development Environment you can install on your own laptop, desktop, or server system. The Container Development Environment is provided in the form of a Red Hat Enterprise Linux virtual machine.
  • Container Development Kit is available for the Microsoft Windows, macOS, and Linux operating systems, thus allowing developers to use their preferred platform while producing applications ready to be deployed in the Red Hat Enterprise Linux ecosystem.

Container Development Kit is a part of the Red Hat Developers program, which provides tools, resources, and support for developers who wish to utilize Red Hat solutions and products to create applications, both locally and in the cloud. For additional information and to register to become a part of the program, visit developers.redhat.com.

Chapter 1. Understanding Container Development Kit documentation

Part II. Release notes

This section documents the most important features and bug fixes in the Red Hat Container Development Kit 3.11 product.

Chapter 2. Component Versions

Red Hat Container Development Kit 3.11 is shipped with the following versions of the main components:

Table 2.1. Container Development Kit, Component Versions

ComponentVersion

Docker

1.13.1

Docker API

1.26

Kubernetes

1.11.0

OpenShift Container Platform

3.11.157

Chapter 3. VirtualBox Compatibility

Red Hat Container Development Kit 3.11 has been tested with VirtualBox 5.2.12 and higher, but is known to not work correctly with VirtualBox 5.1.11 or older. Ensure that you have VirtualBox 5.1.12 or higher if you intend to use VirtualBox as your virtualization provider. VirtualBox 5.2.12 is recommended.

Chapter 4. Changes and Improvements

This section highlights some of the notable changes introduced in Red Hat Container Development Kit 3.11. Red Hat Container Development Kit 3.11 is a maintenance release and does not introduce any new features. This version contains updates to the default add-ons.

Red Hat Container Development Kit 3.11 contains the Minishift tool, a Red Hat Enterprise Linux 7 ISO, and the oc (OpenShift client) binary for interacting with OpenShift Container Platform.

4.1. Minishift

Red Hat Container Development Kit 3.11 is based on Minishift, a command line tool to provision OpenShift locally for application developers. It supports all native hypervisors and some additional ones:

macOS
Linux
Windows

4.2. Notable Changes

  • The xhyve driver plug-in for macOS has been deprecated and will be removed in the next release. Run the following command to start CDK using the supported Hyperkit driver plug-in:

    $ minishift start --vm-driver hyperkit
  • The eap-cd add-on has been updated to version 18. For more information, see the JBoss EAP continuous delivery 18 Release Notes.
  • The che add-on has been updated with minor fixes and improvements.
  • The default OpenShift Container Platform version is now 3.11.157.

Part III. Known issues

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

Chapter 5. General Issues

Issues affecting all supported platforms.

Chapter 6. Container Development Kit does not start with VirtualBox 6

When running Container Development Kit with VirtualBox 6, you may encounter the following error message:

Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.4r128413\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

Workaround: run minishift start with the --vm-driver virtualbox option.

Chapter 7. OpenShift Container Platform cluster times out waiting for response from API server

When starting the cluster via minishift start, you may encounter the following error message:

Error: timed out waiting for the condition

Cause: This issue is caused by oc cluster up, which is used by Container Development Kit to start the OpenShift Container Platform cluster. The underlying cause of the timeout is unknown.

Workaround: Delete the existing Container Development Kit virtual machine, then retry starting the cluster using the following commands:

$ minishift delete
$ minishift start
Note

This issue may be persistent on your hardware. In this case, the only known workaround is to use a more powerful host machine.

7.1. Building FUSE templates with registry.redhat.io streams fails

When you attempt to build a FUSE template, it fails because the template specifies that images are to be pulled from registry.redhat.io, and credentials for the registry are not included in the myproject OpenShift namespace used by Container Development Kit. This works as expected in the openshift namespace.

7.2. xPaaS addon causes start failure

When running minishift start and the xPaaS addon is applied before the API server becomes responsive, the process fails with the following error message:

Error during post cluster up configuration: Error executing command 'oc apply -f v#{OPENSHIFT_VERSION}/xpaas-streams -n openshift'.

To work around this issue, re-apply the addon:

$ minishift addons apply xpaas

Chapter 8. Issues on macOS

This section describes CDK issues that affect users on a macOS host.

8.1. CDK does not start with xhyve version 0.4.4

Due to a regression in version 0.4.4 of the xhyve driver plug-in, CDK fails to start.

Workaround: Uninstall the existing version of the xhyve driver plug-in and install version 0.3.3:

$ brew uninstall docker-machine-driver-xhyve
$ brew install https://raw.githubusercontent.com/igas/homebrew-core/33639d982eb5d0470562c3311e33040054eb87ee/Formula/docker-machine-driver-xhyve.rb

8.2. OpenShift web console does not work with older versions of Safari

minishift console does not work on older versions of the Safari web browser such as version 10.1.2 (12603.3.8). Attempting to access the web console results in the following error:

Error unable to load details about the server

Retry after updating Safari to the latest version or use the Firefox or Chrome web browsers for this. Safari version 11.0.3 (13604.5.6) has been tested and works with the OpenShift web console. You can use minishift console --url to get the web console URL.

Chapter 9. Issues on Microsoft Windows

This section describes CDK issues that affect users on a Microsoft Windows host.

9.1. System tray icon does not reflect profile status

The system tray icon (introduced as a Technology Preview feature in Container Development Kit 3.7) does not show profile status. There is no workaround available.

9.2. Default Switch does not work as expected with static IP

The experimental static IP feature is not possible with the Default Switch provided by Windows. The minishift virtual machine will receive an IP address, but network traffic will not be able to pass through it.

See Assign IP Address to Hyper-V for more information about how to assign a static IP address to the minishift VM on Windows.

9.3. Windows Command Prompt and PowerShell improperly parse JSON patches for the minishift openshift config set command

Windows Command Prompt and PowerShell have problems with parsing JSON into the minishift openshift config set command. Special attention is required when using this command on Windows.

The workaround for Windows Command Prompt environments is to escape the quotes so that the JSON content is correctly parsed:

C:\Users\CDK> minishift.exe openshift config set --patch "{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}"

The workaround for Windows PowerShell environments is to use a variable to store the JSON content:

PS C:\Users\CDK> $json='{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}'
PS C:\Users\CDK> echo $json
{\"routingConfig\": {\"subdomain\": \"192.168.99.101.nip.io\"}}
PS C:\Users\CDK> minishift.exe openshift config set --patch $json
Patching OpenShift configuration /var/lib/origin/openshift.local.config/master/master-config.yaml with {"routingConfig": {"subdomain": "192.168.99.101.nip.io"}}

9.4. minishift openshift config set --patch may fail on some Windows 7 and 10 hosts

The reason for this failure is currently unknown.

Workaround: Configure the OpenShift cluster from inside of the provisioned VM using minishift ssh:

C:\Users\CDK> minishift.exe ssh
[docker@minishift ~]$ docker exec -t origin /usr/bin/openshift ex config patch /var/lib/origin/openshift.local.config/master/master-config.yaml --patch='<json-to-be-applied-to-the-cluster>'

Additional resources

Legal Notice

Copyright © 2019 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.