// Tutorial //

How To Install and Configure OpenShift Origin on CentOS 6.5

Published on October 31, 2014
Default avatar
By Wayne Hartmann
Developer and author at DigitalOcean.
How To Install and Configure OpenShift Origin on CentOS 6.5

Status: Deprecated

This article covers a version of CentOS that is no longer supported. If you are currently operating a server running CentOS 6, we highly recommend upgrading or migrating to a supported version of CentOS.

Reason: CentOS 6 reached end of life (EOL) on November 30th, 2020 and no longer receives security patches or updates. For this reason, this guide is no longer maintained.

See Instead: This guide might still be useful as a reference, but may not work on other CentOS releases. If available, we strongly recommend using a guide written for the version of CentOS you are using.

Introduction

OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. OpenShift Origin is the open source upstream of OpenShift. It has built-in support for a variety of languages, runtimes, and data layers, including Java EE6, Ruby, PHP, Python, Perl, MongoDB, MySQL, and PostgreSQL. You can add new runtimes and frameworks to OpenShift with custom or community cartridges.

Easily scaling your web applications is a primary reason to run them on OpenShift Origin.

NOTE: Throughout this tutorial user input will be highlighted in red.

How OpenShift Works

OpenShift Roles

There are four roles used on the OpenShift platform. While it is not significantly important you know what the roles do for this tutorial, if you wish to deploy a cluster of servers to offer high availability, load-balancing, etc., you will need to understand the functions these roles provide.

In our tutorial, we’ll be configuring a single server to run all of these roles.

Broker

The Broker role consists of the OpenShift Broker RPMs and an MCollective client. The Broker serves as a central hub of the OpenShift deployment, and provides a web interface where users can manage their hosted applications.

DBServer

This role consists of the MongoDB database that the Broker uses to track users and applications.

MsgServer

The MsgServer role includes the ActiveMQ server plus an MCollective client.

Node

The Node role is assigned to any host that will actually be used to store and serve OpenShift-hosted applications. oo-install supports the deployment of Nodes as part of an initial installation and as part of a workflow to add a new Node to an existing OpenShift deployment.

The OpenShift Architecture

OpenShift is designed to be a high-availability, scalable application platform. When configured properly, a large OpenShift deployment can offer an easy way to scale your application when demands increase, while providing zero downtime. With a cluster of OpenShift hosts in multiple data center locations, you can survive an entire data center going down. In this tutorial we will set up our first OpenShift host running all the roles required by OpenShift.

How it works from a client’s perspective

  • A client wants to visit the site app-owner.apps.example.com.
  • The client’s browser requests the DNS record for the domain.
  • The DNS server responds with the IP Address of a Node hosting the application.
  • The clients browser sends a GET request to the Node.
  • The Node maps the request to the desired Application.
  • The Application itself responds to the request directly.

How did the DNS server know which Node is running the application?

The developer connects to a Broker to create/manage an application. When the owner modifies an application, the Broker will send a message to the DNS server with the new information. This information includes the domain(s) being used for the application, and which Nodes are hosting the application. Because of this automation, it is a requirement for OpenShift to have control over the DNS Zone of the domain or subdomain used for apps.

OpenShift uses the Bind DNS Server. If you have an existing Bind DNS server, you can configure OpenShift to work with it. However, in this tutorial, we will cover the process of using a new DNS server configured automatically by the OpenShift Origin installer.

If you would prefer to use an existing BIND DNS server, you can read instructions for setting up DNS in the OpenShift Origin Comprehensive Deployment Guide.

DNS Configuration

For the remainder of this tutorial we will be using the following domains. Substitute these with your own, and feel free to use a personalized naming convention.

Prerequisites

Droplet Requirements

  • 1GB Droplet or larger

The Installation of OpenShift is fairly resource intensive, and some packages can exceed 512 MB of RAM usage. You should use a 1 GB or larger Droplet. If you have any issues registering the cartridges at the end of the installer, chances are some packages failed to install do to the lack of memory. This can be confirmed by examining the installation logs.

To check the installation log:

cat /tmp/openshift-deploy.log

Supported Operating Systems

  • CentOS 6.5 64-bit (standard DigitalOcean image)

OpenShift Origin 4 is supported on 64-bit versions of Red Hat Enterprise Linux (RHEL) 6.4 or higher and CentOS 6.4 or higher. It is not supported on Fedora, RHEL 7.x, or CentOS 7.x. A minimal installation of RHEL / CentOS is recommended to avoid package incompatibilities with OpenShift. This tutorial will use the standard Digital Ocean CentOS 6.5 x64 image on a 1 GB Droplet.

Installer Dependencies

The following utilities are required by the OpenShift Origin installer. This tutorial will show you how to install Ruby. The other packages are already installed by default with the DigitalOcean CentOS 6.5 image.

  • curl
  • ruby - 1.8.7 or greater
  • ssh - If you are deploying to systems other than the installer host

Root Access

The rest of this tutorial will assume you are connected to your server with the root user account, or a user account with sudo privileges.

To enter the root shell from another account:

sudo su

Step One — Install Updates

Before proceeding, it is always a good idea to make sure you have the latest updates installed.

To install updates:

yum update

Step Two — Install Preferred Text Editor

You can use your favorite text editor throughout this tutorial; however, the examples will use Nano.

Install Nano with:

yum install nano

When you are done editing a file in Nano, press Ctrl+X, press Y to save, and press Enter to overwrite the existing file.

Step Three — Install Ruby

Ruby is not installed by default on a minimal CentOS 6.5 installation.

To install Ruby:

yum install ruby

Step Four — Set Your Hostname

We need to make sure our hostname is configured correctly and resolves to our local machine. If this is configured incorrectly, Puppet will not be able to deploy some required services.

To check the current hostname:

hostname

It should show the URL you want to use for the OpenShift control panel. In our case, this is master.openshift.example.com.

Open the file /etc/sysconfig/network:

nano /etc/sysconfig/network

Edit the file to suit your needs:

NETWORKING=yes
HOSTNAME=master.openshift.example.com

Upon next reboot your hostname will be updated. We will reboot after a few more steps.

Step Five — Make Hostname Resolve to localhost

This will ensure that puppet can resolve the hostname correctly during the installation.

Next, open the file /etc/hosts:

nano /etc/hosts

Add your hostname to the 127.0.0.1 line:

127.0.0.1   master.openshift.example.com localhost localhost.localdomain
::1         localhost6 localhost6.localdomain6

Step Six — Enable SELinux

SELinux (Security-Enhanced Linux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including United States Department of Defense–style mandatory access controls (MAC). This kernel module is a requirement for OpenShift to isolate applications securely.

For more information on SELinux, and advanced configurations that should be done before using OpenShift in a production environment, please see the series linked below. While the series is based on CentOS 7, the principles and deployment process are the same.

For the purposes of this tutorial we will enable SELinux by setting it to enforcing mode.

Open /etc/sysconfig/selinux:

nano /etc/sysconfig/selinux

Change SELinux to enforcing:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0

Then reboot to enable our settings:

reboot

If using SSH, you will have to reconnect after the reboot is complete.

Step Seven — Install OpenShift Origin

Now we’ll install OpenShift Origin.

We have three options to install OpenShift: curl-to-shell, a portable installer, or installing from source. In this article we will be using the curl-to-shell method for installing OpenShift Origin.

This configuration will take a few minutes, and the installation itself can take up to an hour, although you don’t have to babysit the server for that part.

To start the installer:

sh <(curl -s https://install.openshift.com/)

(Optional) Installation Options

The command line options are useful for larger and Enterprise deployments. If you have predefined configuration files or have an existing Puppet installation, you can use these options to speed up the installation process. Since this is our first deployment on a single server, we will not be using any of the options listed below. However, it’s useful to know what functions these options provide if you need to scale your Openshift deployment in the future.

For more information you can check the official documentation.

-a	--advanced-mode				Enable access to message server and db server customization
-c	--config-file FILEPATH		The path to an alternate config file
-w	--workflow WORKFLOW_ID		The installer workflow for unattended deployment
	--force						Ignore workflow warnings and automatically install missing RPMs
-l	--list-workflows			List the workflow IDs for use with unattended deployment
-e	--enterprise-mode			Show OpenShift Enterprise options (ignored in unattended mode)
-s	--subscription-type TYPE	The software source for installation packages
-u	--username USERNAME			Login username
-p	--password PASSWORD			Login password
	--use-existing-puppet		For Origin; do not attempt to install the Puppet module
-d	--debug						Enable debugging messages

Step Eight — Answer Installer Questions

OpenShift Origin uses an interactive installation process. There are quite a few questions to answer, so pay attention! The questions are shown below, with the user input in red.

Welcome to OpenShift.

This installer will guide you through a basic system deployment, based
on one of the scenarios below.

Select from the following installation scenarios.
You can also type '?' for Help or 'q' to Quit:
1. Install OpenShift Origin
2. Add a Node to an OpenShift Origin deployment
3. Generate a Puppet Configuration File
Type a selection and press <return>: 1

The installer will prompt you for an installation scenario. Enter 1 and press Enter.

DNS — Install a new DNS Server

----------------------------------------------------------------------
DNS Configuration
----------------------------------------------------------------------

First off, we will configure some DNS information for this system.

Do you want me to install a new DNS server for OpenShift-hosted
applications, or do you want this system to use an existing DNS
server? (Answer 'yes' to have me install a DNS server.) (y/n/q/?) y

For this tutorial we want to deploy a new DNS server, so enter y and press Enter.

DNS — Application Domain

All of your hosted applications will have a DNS name of the form:
<app_name>-<owner_namespace>.<all_applications_domain>

What domain name should be used for all the hosted apps in your
OpenShift system? |example.com| apps.example.com

Enter the domain you would like to use for your hosted applications, which in this example is apps.example.com, and press Enter.

DNS — OpenShift Hosts Domain

Do you want to register DNS entries for your OpenShift hosts with the
same OpenShift DNS service that will be managing DNS records for the
hosted applications? (y/n/q) y

What domain do you want to use for the OpenShift hosts? openshift.example.com

Enter the domain you would like to use for your OpenShift Hosts, which in this example is openshift.example.com, and press Enter.

DNS — FQDN of the Name Server

Hostname (the FQDN that other OpenShift hosts will use to connect to
the host that you are describing): master.openshift.example.com

Since we are hosting the DNS on the same Droplet, we will use this machine’s Fully Qualified Domain Name. Enter your host’s FQDN, which in this example is master.openshift.example.com, and press Enter.

DNS — SSH Host Name

Hostname / IP address for SSH access to master.openshift.example.com
from the host where you are running oo-install. You can say
'localhost' if you are running oo-install from the system that you are
describing: |master.openshift.example.com| localhost
Using current user (root) for local installation.

This is the hostname used to perform the installation of OpenShift. Since we are installing to the same Droplet running the installer, we can use localhost. Enter localhost, and press Enter.

DNS — IP Address Configuration

If you have private networking enabled, you will need to use the WAN interface/IP Address for any host you wish to assign the Node Role. Since we are only installing to a single host in this tutorial, make sure you use eth0 as your interface for this host. In a large setup with multiple Brokers and DBServers, you would use the private networking interface for those hosts only. Attempting to use the private interface on a Node will cause an IP address error during deployment.

Detected IP address 104.131.174.112 at interface eth0 for this host.
Do you want Nodes to use this IP information to reach this host?
(y/n/q/?) y

Normally, the BIND DNS server that is installed on this host will be
reachable from other OpenShift components using the host's configured
IP address (104.131.174.112).

If that will work in your deployment, press <enter> to accept the
default value. Otherwise, provide an alternate IP address that will
enable other OpenShift components to reach the BIND DNS service on
this host: |104.131.174.112| 104.131.174.112

That's all of the DNS information that we need right now. Next, we
need to gather information about the hosts in your OpenShift
deployment.

For the purposes of this tutorial we will use the default settings, as shown in the image above.

Broker Configuration

----------------------------------------------------------------------
Broker Configuration
----------------------------------------------------------------------
Do you already have a running Broker? (y/n/q) n

Okay. I'm going to need you to tell me about the host where you want
to install the Broker.

Do you want to assign the Broker role to master.openshift.example.com?
(y/n/q/?) y

Okay. Adding the Broker role to master.openshift.example.com.

That's everything we need to know right now for this Broker.

Do you want to configure an additional Broker? (y/n/q) n

Moving on to the next role.

The installer will now ask us to set up a Broker. In this example we do not have any Brokers yet, so we will install the role on master.openshift.example.com.

Node Configuration

----------------------------------------------------------------------
Node Configuration
----------------------------------------------------------------------
Do you already have a running Node? (y/n/q) n

Okay. I'm going to need you to tell me about the host where you want
to install the Node.

Do you want to assign the Node role to master.openshift.example.com?
(y/n/q/?) y

Okay. Adding the Node role to master.openshift.example.com.

That's everything we need to know right now for this Node.

Do you want to configure an additional Node? (y/n/q) n

The installer will now ask us to set up a Node. In this example we do not have any Nodes yet, so we will install the role on master.openshift.example.com. At this point the installer will also ask you to configure the user accounts. In this example we chose to have the installer generate the credentials for us.

Username and Password Configuration

Do you want to manually specify usernames and passwords for the
various supporting service accounts? Answer 'N' to have the values
generated for you (y/n/q) n

If you would like to manually configure the usernames and passwords used for your deployment, you can do that here. In our example we decided to have them automatically generated for us. Enter n, and press Enter.

Pay attention to the output. You will need the values in the “Account Settings” table later in the tutorial, specifically the OpenShift Console User and the OpenShift Console Password.

Account Settings
+----------------------------+------------------------+
| OpenShift Console User     | demo                   |
| OpenShift Console Password | S94XXXXXXXXXXXXXXXH8w  |
...

Finish Deployment

Host Information
+------------------------------+------------+
| Hostname                     | Roles      |
+------------------------------+------------+
| master.openshift.example.com | Broker     |
|                              | NameServer |
|                              | Node       |
+------------------------------+------------+

Choose an action:
1. Change the deployment configuration
2. View the full host configuration details
3. Proceed with deployment
Type a selection and press <return>: 3

When you are satisfied with the configuration, enter 3, and press Enter.

Repository Subscriptions

Do you want to make any changes to the subscription info in the
configuration file? (y/n/q/?) n

Do you want to set any temporary subscription settings for this
installation only? (y/n/q/?) n

For the purposes of this tutorial we will use the default mirrors. Enter n and press Enter, for both questions.

Pre-Flight Check

The following RPMs are required, but not installed on this host:
* puppet
* bind
Do you want to want me to try to install them for you? (y/n/q) y

The installer will now perform a pre-flight check. If you need any packages installed, such as Puppet and BIND in our example, enter y and press Enter.

Note: Once you answer this question, Puppet will run for up to an hour on your server to configure OpenShift Origin.

Here’s some example output:

master.openshift.example.com: Running Puppet deployment for host
<^>Error: Could not uninstall module 'openshift-openshift_origin'
  Module 'openshift-openshift_origin' is not installed
master.openshift.example.com: Puppet module removal failed. This is expected if the module was not installed.<^>
master.openshift.example.com: Attempting Puppet module installation (try #1)
<^>Warning: Symlinks in modules are unsupported. Please investigate symlink duritong-sysctl-0.0.5/spec/fixtures/modules/sysctl/manifests->../../../../manifests.
Warning: Symlinks in modules are unsupported. Please investigate symlink duritong-sysctl-0.0.5/spec/fixtures/modules/sysctl/lib->../../../../lib.<^>
master.openshift.example.com: Puppet module installation succeeded.
master.openshift.example.com: Cleaning yum repos.
master.openshift.example.com: Running the Puppet deployment. This step may take up to an hour.

NOTE: Red text in the output is used to highlight errors and warnings.

The installer will now perform the rest of the deployment. You may see some warnings during this process (see the image above). These are normal and will not affect the deployment. This process can take upwards of an hour to complete.

Redeploying

If Puppet did not configure everything correctly the first time, you can re-run the Puppet deployment without running the entire configuration again. If you see an error when you first access the OpenShift Origin dashboard, you’ll probably want to do this.

Run the installer again:

sh <(curl -s https://install.openshift.com/)

This time, you’ll selection the third option, to generate a new Puppet configuration file. Not all of the output is shown below - just the questions and answers.

Select from the following installation scenarios.
You can also type '?' for Help or 'q' to Quit:
1. Install OpenShift Origin
2. Add a Node to an OpenShift Origin deployment
3. Generate a Puppet Configuration File
Type a selection and press <return>: 3

Choose an action:
1. Change the deployment configuration
2. View the full host configuration details
3. Proceed with deployment
Type a selection and press <return>: 3

Do you want to make any changes to the subscription info in the
configuration file? (y/n/q/?) n

Do you want to set any temporary subscription settings for this
installation only? (y/n/q/?) n

Make a note of the file name shown in the output:

Puppt template created at /root/oo_install_configure_master.openshift.example.com.pp
To run it, copy it to its host and invoke it with puppet: `puppet
apply <filename>`.

All tasks completed.
oo-install exited; removing temporary assets.

Run the Puppet configuration, using the file name you were given:

puppet apply /root/oo_install_configure_master.openshift.example.com.pp

Step Nine — Test Your OpenShift Deployment

Your OpenShift installation is now complete. You can test your OpenShift Deployment by visiting the following url in a web browser.

https://104.131.174.112/

Browser certificate warning

OpenShift will be using a self-signed certificate, so you will have to add an exception for this in your web browser.

If you didn’t note the credentials before, scroll back up to the “Account Settings” output section, and use the OpenShift Console User and OpenShift Console Password to log in.

Account Settings
+----------------------------+------------------------+
| OpenShift Console User     | demo                   |
| OpenShift Console Password | tARvXXXXXXXmm5g        |
| MCollective User           | mcollective            |
| MCollective Password       | dtdRNs8i1pWi3mL9JsNotA |
| MongoDB Admin User         | admin                  |
| MongoDB Admin Password     | RRgY8vJd2h5v4Irzfi8kkA |
| MongoDB Broker User        | openshift              |
| MongoDB Broker Password    | 28pO0rU8ohJ0KXgpqZKw   |
+----------------------------+------------------------+

OpenShift welcome page

If you can log into the console but see an error, you may need to redeploy the Puppet configuration. See the previous section for details.

Step Ten — Configure Your Domains for OpenShift

In general you will want to follow your domain registrar’s documentation for creating your DNS entries. We have provided images below for illustrative purposes. For the nameserver domains, you will want to substitute the IP address of your OpenShift host or BIND DNS server. In our example we created two name server records that point to the same IP. This is because most domain registrars will require a minimum of two NS records. In this tutorial we did not setup a Secondary Bind DNS server.

example-dns.com A Record | ns1.example-dns.com => 104.131.174.112 A Record | ns2.example-dns.com => 104.131.174.112

Nameserver DNS settings

Direct the application domain to use the OpenShift DNS servers you just set up.

example.com NS Record | ns1.example.com. NS Record | ns2.example.com.

App domain DNS settings

Note: For testing purposes, you can also just point your app domain or subdomain to the OpenShift server’s IP address, since we’re deploying only a single OpenShift Origin server at this time.

Now you will be able to access the OpenShift Console from the domain name of your Broker. In our example we used master.openshift.example.com. You will have to add an exception for the self-signed certificate again with the new domain.

For in-depth information on configuring your DNS records, please see the tutorials listed below.

How To Create Vanity or Branded Nameservers with DigitalOcean Cloud Servers

How To Set Up and Test DNS Subdomains with DigitalOcean’s DNS Panel

How to Point to DigitalOcean Nameservers From Common Domain Registrars

Step Eleven — Create Your First Application

Click "Create your first application now"

In the OpenShift Origin console, click Create your first application now on the Applications page.

Click "PHP 5.4"

Click PHP 5.4 to select it as your cartridge.

Set the domain name

Since this is your first application, you will also have to specify a domain name. In our example we used demo.apps.example.com with the application name of php. The final URL will be php-demo.apps.example.com.

Leave the rest of the default settings.

Click "Create Application"

Click Create Application. It may take a couple minutes to initialize the application. Once this process is complete, you can click visit app in the browser to see the test application. You be presented with the default PHP cartridge page. This page will also give you useful information on how to edit and deploy applications using OpenShift.

PHP application default page

Conclusion

We have successfully deployed a single-server Openshift Origin environment. This server has all four OpenShift roles applied to it. It is also configured to be a DNS server. We configured one domain (example-dns.com) used for our nameserver pointers. We configured a second domain (example.com) used to resolve applications and OpenShift hosts.


Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up
About the authors
Default avatar
Developer and author at DigitalOcean.

Default avatar
Developer and author at DigitalOcean.

Still looking for an answer?

Was this helpful?
10 Comments

Yes, https://install.openshift.com/origin-m4 would be the the correct install script for this tutorial. A few things have changed with this RedHat Project recently. OpenShift Enterprise requires a subscription, and you would probably be running it on top of Red Hat Enterprise Linux. It’s highly unlikely you will be running OSE on CentOS, unless it’s purely for experimentation.

If you want to run the latest OpenShift Origin code, then you need to use docker. If you are following this tutorial, you may wish to wait for an official version 5 release. If you need to run OpenShift Origin on top of CentOS 7 or another distribution, then docker is the way to go. Docker may be a slightly easier way to install Origin, however, some of this tutorial will be irrelevant using that method.

There are plenty of Docker tutorials in the community if you wish to pursue that option. Combine the Digital Ocean getting started guides with the official RedHat documentation, and you will be good to go.

Docker Tutorials - Digital Ocean Community OpenShift Origin Getting Started - Docker

If there is enough demand to write a variation of this tutorial using Docker, I will request the topic from the team. I am behind schedule at the moment. However, I should be able to finish the eCryptfs article this weekend. Maybe we can get something out in the following weeks if the demand is there. If you are interested in an Openshift Origin Docker tutorial, up-vote this post, and leave a comment.

Yes, https://install.openshift.com/origin-m4 would be the the correct install script for this tutorial. A few things have changed with this RedHat Project recently. OpenShift Enterprise requires a subscription, and you would probably be running it on top of Red Hat Enterprise Linux. It’s highly unlikely you will be running OSE on CentOS, unless it’s purely for experimentation.

If you want to run the latest OpenShift Origin code, then you need to use docker. If you are following this tutorial, you may wish to wait for an official version 5 release. If you need to run OpenShift Origin on top of CentOS 7 or another distribution, then docker is the way to go. Docker may be a slightly easier way to install Origin, however, some of this tutorial will be irrelevant using that method.

There are plenty of Docker tutorials in the community if you wish to pursue that option. Combine the Digital Ocean getting started guides with the official RedHat documentation, and you will be good to go.

Docker Tutorials - Digital Ocean Community OpenShift Origin Getting Started - Docker

If there is enough demand to write a variation of this tutorial using Docker, I will request the topic from the team. I am behind schedule at the moment. However, I should be able to finish the eCryptfs article this weekend. Maybe we can get something out in the following weeks if the demand is there. If you are interested in an Openshift Origin Docker tutorial, up-vote this post, and leave a comment.

This did not work for me

This comment has been deleted

The current openshift installer script has a couple of options…I’m assuming that the M4 option matches this tutorial.

For Origin M4 please run: sh <(curl -s https://install.openshift.com/origin-m4)

For OpenShift Enterprise 3 run: sh <(curl -s https://install.openshift.com/ose)

An Origin oo-install script for the latest code is still being developed. See https://github.com/openshift/origin/blob/master/README.md#getting-started for details on how to run the latest code from a Docker container.

i’ve been following you tutorial and i give this error : puppet apply /root/oo_install_configure_master.openshift.pcr.ac.id.pp warning: Scope(Class[Openshift_origin::Plugins::Dns::Nsupdate]): Generate the Key file with ‘/usr/sbin/dnssec-keygen -a HMAC-MD5 -b 512 -n USER -r /dev/urandom -K /var/named apps.openshift.pcr.ac.id’ warning: Scope(Class[Openshift_origin::Plugins::Dns::Nsupdate]): Use the last field in the generated key file /var/named/Kapps.openshift.pcr.ac.id*.key bind_key is required. at /etc/puppet/modules/openshift_origin/manifests/plugins/dns/nsupdate.pp:30 on node openshift.pcr.ac.id what should i do ?

Can someone help me for configuring DNS? Because i can’t create application through teh web interface, and the warning is “error adding DNS”

This comment has been deleted

i have the same warnings but it works very well i m developing in my page of openshift now just try to use your : https://adressip and it will start

than reboot

[cloud@master ~]$ su Mot de passe : [root@master cloud]# cd installer [root@master installer]# ./oo-install-origin Checking for necessary tools… …looks good. Using bundled assets. Extracting oo-install to temporary directory… Starting oo-install… OpenShift Installer (Build 20150505-1447)

Welcome to OpenShift.

This installer will guide you through a basic system deployment, based on one of the scenarios below.

Select from the following installation scenarios. You can also type ‘?’ for Help or ‘q’ to Quit:

  1. Install OpenShift Origin
  2. Add a Node to an OpenShift Origin deployment
  3. Generate a Puppet Configuration File Type a selection and press <return>: 1

It looks like you are running oo-install for the first time on a new system. The installer will guide you through the process of defining your OpenShift deployment.


DNS Configuration

First off, we will configure some DNS information for this system.

Do you want me to install a new DNS server for OpenShift-hosted applications, or do you want this system to use an existing DNS server? (Answer ‘yes’ to have me install a DNS server.) (y/n/q/?) y

All of your hosted applications will have a DNS name of the form:

<app_name>-<owner_namespace>.<all_applications_domain>

What domain name should be used for all of the hosted apps in your OpenShift system? |example.com| apps.usto.com

Do you want to register DNS entries for your OpenShift hosts with the same OpenShift DNS service that will be managing DNS records for the hosted applications? (y/n/q) y

What domain do you want to use for the OpenShift hosts? openshift.usto.com

You have indicated that you want the installer to deploy DNS. Please configure a host to use as the nameserver.

Hostname (the FQDN that other OpenShift hosts will use to connect to the host that you are describing): master.openshift.usto.com

Hostname / IP address for SSH access to master.openshift.usto.com from the host where you are running oo-install. You can say ‘localhost’ if you are running oo-install from the system that you are describing: |master.openshift.usto.com| localhost Using current user (root) for local installation.

Detected IP address 10.1.64.254 at interface eth0 for this host. Do you want Nodes to use this IP information to reach this host? (y/n/q/?) y

Normally, the BIND DNS server that is installed on this host will be reachable from other OpenShift components using the host’s configured IP address (10.1.64.254).

If that will work in your deployment, press <enter> to accept the default value. Otherwise, provide an alternate IP address that will enable other OpenShift components to reach the BIND DNS service on this host: |10.1.64.254| 10.1.64.254

That’s all of the DNS information that we need right now. Next, we need to gather information about the hosts in your OpenShift deployment.


Broker Configuration

Okay. I’m going to need you to tell me about the host where you want to install the Broker.

Do you want to assign the Broker role to master.openshift.usto.com? (y/n/q/?) y

Okay. Adding the Broker role to master.openshift.usto.com.

That’s everything we need to know right now for this Broker.

Do you want to configure an additional Broker? (y/n/q) n

Moving on to the next role.


Node Configuration

Okay. I’m going to need you to tell me about the host where you want to install the Node.

Do you want to assign the Node role to master.openshift.usto.com? (y/n/q/?) y

Okay. Adding the Node role to master.openshift.usto.com.

That’s everything we need to know right now for this Node.

Do you want to configure an additional Node? (y/n/q) n

Do you want to manually specify usernames and passwords for the various supporting service accounts? Answer ‘N’ to have the values generated for you (y/n/q) y

Here are the details of your current deployment.

Note: ActiveMQ and MongoDB will be installed on all Broker instances. For more flexibility, rerun the installer in advanced mode (-a).

DNS Settings

Global Gear Settings ±------------------------±------+ | Valid Gear Sizes | small | | User Default Gear Sizes | small | | Default Gear Size | small | ±------------------------±------+

Account Settings ±---------------------------±-----------------------------------------------------------------+ | OpenShift Console User | demo | | OpenShift Console Password | BG1IkX8JE2S0AcLTNyNA | | Broker Session Secret | 8XE6zn50pc8co56KWSzIGw | | Console Session Secret | 45kE5OzdJBnieqGmFRIVA | | Broker Auth Salt | JmsO5g4Y9t5cRWQyG88sA | | Broker Auth Private Key | -----BEGIN RSA PRIVATE KEY----- | | | MIIEpAIBAAKCAQEArdrTuAyVSGPs97wHR0ddcMLtOWLo8ttzCYf0sWHhhtkfbOdB | | | yca4XrZEVA7K6iF2DVbdvF/IL/icbckO85tj1LzizflnguFRvIYn7GrFg9fjJrki | | | YkXhBgApzwOrJ7rI70IyHTVYPST44wSEPt/1oFKDSzDrWLzwjgLQtIp3mpkPlK7a | | | 75/K/wOjfC+koileLxUdvPatD1m1Do3jC33chFpVAee3AGmKn8iHajGKUV2JM+MZ | | | WxSkNq++WJXY9ozHT3t0wIjbDSsn2w//J3q1Y0TI+t8ydwROfQwXiMakz+Xe8aO/ | | | kEeCqlMwHIUtlZkfCHn6zDjEXA+dGP1kMYvNbQIDAQABAoIBAEdR3srA9rikrYCP | | | dRjrkMyCWpjRF6kRF2cQi/P8qG0OQxME53sj91x7PxqQmvNjWK9uNDZjwJbVUS7E | | | bUrIMzMBbbV7m9gYINTK4DPfNTm55ahsCEvySLaSeJRA+ASrXmSwbiiHSrSCp0tR | | | /gJhE716O/wrjFBx6ekIBKAbsacMeD1Xzzypi+P7iOIELy2fahqQwZEUag0a2osT | | | ykUIUyqaCgKJuLKGn8QJdq61nuJaX6EpgJ5rLKisxTQlp+HkoXpxWIFZVQR+YuXY | | | JfUXjldBwxxIr5RBc5VxN7dA4fb+1BaxWVshp2/LJynCDLh/ineKtp2vKO9bjRP2 | | | YJ+UHCECgYEA07pLni6fCnwuCUcz+4kZDbndVFwfKBnCbnrMROyska5UohbXVLfN | | | Gx6g5s8SDl9ZK6o6Z8fv2qx7u4LPsilV8nX9RJOYHQ/NGkXaSDDWimZmJD7xHIRB | | | Ndd0OMldzFgh3fdkBxEbFCvyjJNwHVmTRF8Pda7ppHXeHNLBjblvsykCgYEA0jU1 | | | WFgjh95zjiMlyzBKty6L818+CrrBUZ+WyzML1PkSKEznzusQQkS+qyoLv7RXIZAV | | | x7u6hUStvfGjCLTtmAqIePSUvJnldlUlJfM1XYhUGCZ5WzsvuafwA5zPbxauT9MX | | | EhXGJmXmdkJP/aH5DB5TclLfZ/nhXAThMSEBNKUCgYEAqj4pf09NYkjnW159Vcuu | | | 8XJ5nNNV2hCcXekvRlxnhdv/ATYMfnor2ZqPFgd6JURVlt6Rh9Ej81itROCx0Dec | | | fBCTTQjATt3dtTplgZaDa1Va29ogVSWiqYBMWzzOxvg2gxvgui3u8BFGPfJvO6pC | | | 177311CFXU/JALQWHbb1McECgYEAirXNw8Q1ffzOp+aNk+0EAKjYdPpOSGpAEwqK | | | SQAgOKM61hkZhjMbAX+3id8u7YulS2J23NwGEtblB0giWyZ4+jFJKPfMBkBPaKx6 | | | 3PYGKvhA9ca9ofQGZC5rdRbO0vFWiRo0SRzRKplnYHYVrrppSxPf4LrK7SO5EC2w | | | I+kxkHkCgYB14Zzd7O38n2T8z2Y7vFCgUR/Wp9XhHHkArvYa6g3p3elFabobuByE | | | l6rDOCtPkHQ2sLTAMLNEvIUEGlcmzb4gQ/Y+kvcMIkqk7kUenIrx99EU/dw1MP/r | | | qUSoJpR1cNQmoPpwZxdSbVpR7I2SLoRlP8rgn2U/9xYiS928nq5j0Q== | | | -----END RSA PRIVATE KEY----- | | MCollective User | mcollective | | MCollective Password | OLLKOHjFogCu3KurUJY2AA | | MongoDB Admin User | admin | | MongoDB Admin Password | tIJ6G6OT8wnaMF4F5i4Ukg | | MongoDB Broker User | openshift | | MongoDB Broker Password | 70w8Z8D3qf1alvnd9dgGpQ | ±---------------------------±-----------------------------------------------------------------+

Node Districts ±---------±----------±--------------------------+ | District | Gear Size | Nodes | ±---------±----------±--------------------------+ | Default | small | master.openshift.usto.com | ±---------±----------±--------------------------+

Role Assignments ±-----------±--------------------------+ | Broker | master.openshift.usto.com | | NameServer | master.openshift.usto.com | | Node | master.openshift.usto.com | ±-----------±--------------------------+

Host Information ±--------------------------±-----------+ | Hostname | Roles | ±--------------------------±-----------+ | master.openshift.usto.com | Broker | | | NameServer | | | Node | ±--------------------------±-----------+

Choose an action:

  1. Change the deployment configuration
  2. View the full host configuration details
  3. Proceed with deployment Type a selection and press <return>: 1

Choose from the following deployment configuration options:

  1. Change the DNS configuration
  2. Manage Hosts
  3. Services Accounts Settings
  4. Global Gear Settings
  5. Node Districts
  6. Display full Host details
  7. Finish editing the deployment configuration Type a selection and press <return>: 3

Enter a value for the OpenShift Console User. This is the username created in /etc/openshift/htpasswd and used by the openshift-origin-auth-remote-user-basic authentication plugin. |demo| xxxxx

Enter a value for the OpenShift Console Password. This is the password created in /etc/openshift/htpasswd and used by the openshift-origin-auth-remote-user-basic authentication plugin. |BG1IkX8JE2S0AcLTNyNA| xxxxxxx

Enter a value for the Broker Session Secret. This is the session secret used by the broker rest api |8XE6zn50pc8co56KWSzIGw| xxxxxxx

Enter a value for the Console Session Secret. This is the session secret used by the web console |45kE5OzdJBnieqGmFRIVA| xxxxxxx

Enter a value for the Broker Auth Salt. This is the authentication salt used by the broker |JmsO5g4Y9t5cRWQyG88sA| xxxxxxx

Enter a value for the Broker Auth Private Key. This is the RSA Private Key used for broker access by remote applications (i.e. Jenkins) |-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEArdrTuAyVSGPs97wHR0ddcMLtOWLo8ttzCYf0sWHhhtkfbOdB yca4XrZEVA7K6iF2DVbdvF/IL/icbckO85tj1LzizflnguFRvIYn7GrFg9fjJrki YkXhBgApzwOrJ7rI70IyHTVYPST44wSEPt/1oFKDSzDrWLzwjgLQtIp3mpkPlK7a 75/K/wOjfC+koileLxUdvPatD1m1Do3jC33chFpVAee3AGmKn8iHajGKUV2JM+MZ WxSkNq++WJXY9ozHT3t0wIjbDSsn2w//J3q1Y0TI+t8ydwROfQwXiMakz+Xe8aO/ kEeCqlMwHIUtlZkfCHn6zDjEXA+dGP1kMYvNbQIDAQABAoIBAEdR3srA9rikrYCP dRjrkMyCWpjRF6kRF2cQi/P8qG0OQxME53sj91x7PxqQmvNjWK9uNDZjwJbVUS7E bUrIMzMBbbV7m9gYINTK4DPfNTm55ahsCEvySLaSeJRA+ASrXmSwbiiHSrSCp0tR /gJhE716O/wrjFBx6ekIBKAbsacMeD1Xzzypi+P7iOIELy2fahqQwZEUag0a2osT ykUIUyqaCgKJuLKGn8QJdq61nuJaX6EpgJ5rLKisxTQlp+HkoXpxWIFZVQR+YuXY JfUXjldBwxxIr5RBc5VxN7dA4fb+1BaxWVshp2/LJynCDLh/ineKtp2vKO9bjRP2 YJ+UHCECgYEA07pLni6fCnwuCUcz+4kZDbndVFwfKBnCbnrMROyska5UohbXVLfN Gx6g5s8SDl9ZK6o6Z8fv2qx7u4LPsilV8nX9RJOYHQ/NGkXaSDDWimZmJD7xHIRB Ndd0OMldzFgh3fdkBxEbFCvyjJNwHVmTRF8Pda7ppHXeHNLBjblvsykCgYEA0jU1 WFgjh95zjiMlyzBKty6L818+CrrBUZ+WyzML1PkSKEznzusQQkS+qyoLv7RXIZAV x7u6hUStvfGjCLTtmAqIePSUvJnldlUlJfM1XYhUGCZ5WzsvuafwA5zPbxauT9MX EhXGJmXmdkJP/aH5DB5TclLfZ/nhXAThMSEBNKUCgYEAqj4pf09NYkjnW159Vcuu 8XJ5nNNV2hCcXekvRlxnhdv/ATYMfnor2ZqPFgd6JURVlt6Rh9Ej81itROCx0Dec fBCTTQjATt3dtTplgZaDa1Va29ogVSWiqYBMWzzOxvg2gxvgui3u8BFGPfJvO6pC 177311CFXU/JALQWHbb1McECgYEAirXNw8Q1ffzOp+aNk+0EAKjYdPpOSGpAEwqK SQAgOKM61hkZhjMbAX+3id8u7YulS2J23NwGEtblB0giWyZ4+jFJKPfMBkBPaKx6 3PYGKvhA9ca9ofQGZC5rdRbO0vFWiRo0SRzRKplnYHYVrrppSxPf4LrK7SO5EC2w I+kxkHkCgYB14Zzd7O38n2T8z2Y7vFCgUR/Wp9XhHHkArvYa6g3p3elFabobuByE l6rDOCtPkHQ2sLTAMLNEvIUEGlcmzb4gQ/Y+kvcMIkqk7kUenIrx99EU/dw1MP/r qUSoJpR1cNQmoPpwZxdSbVpR7I2SLoRlP8rgn2U/9xYiS928nq5j0Q== -----END RSA PRIVATE KEY----- |

Enter a value for the MCollective User. This is the username shared between broker and node for communicating over the mcollective topic channels in ActiveMQ. Must be the same on all broker and node hosts. |mcollective| xxxxxx

Enter a value for the MCollective Password. This is the password shared between broker and node for communicating over the mcollective topic channels in ActiveMQ. Must be the same on all broker and node hosts. |OLLKOHjFogCu3KurUJY2AA| xxxxxx

Enter a value for the MongoDB Admin User. This is the username of the administrative user that will be created in the MongoDB datastore. These credentials are not used by OpenShift, but an administrative user must be added to MongoDB in order for it to enforce authentication. |admin|

Enter a value for the MongoDB Admin Password. This is the password of the administrative user that will be created in the MongoDB datastore. These credentials are not used by OpenShift, but an administrative user must be added to MongoDB in order for it to enforce authentication. |tIJ6G6OT8wnaMF4F5i4Ukg| xxxxxx

Enter a value for the MongoDB Broker User. This is the username that will be created for the broker to connect to the MongoDB datastore. Must be the same on all broker and datastore hosts |openshift|

Enter a value for the MongoDB Broker Password. This is the password that will be created for the broker to connect to the MongoDB datastore. Must be the same on all broker and datastore hosts |70w8Z8D3qf1alvnd9dgGpQ| xxxxxx

Here are the details of your current deployment.

Note: ActiveMQ and MongoDB will be installed on all Broker instances. For more flexibility, rerun the installer in advanced mode (-a).

DNS Settings

Global Gear Settings ±------------------------±------+ | Valid Gear Sizes | small | | User Default Gear Sizes | small | | Default Gear Size | small | ±------------------------±------+

Account Settings ±---------------------------±-----------------------------------------------------------------+ | OpenShift Console User | | | OpenShift Console Password | | | Broker Session Secret | | | Console Session Secret | | | Broker Auth Salt | | | Broker Auth Private Key | -----BEGIN RSA PRIVATE KEY----- | | | MIIEpAIBAAKCAQEArdrTuAyVSGPs97wHR0ddcMLtOWLo8ttzCYf0sWHhhtkfbOdB | | | yca4XrZEVA7K6iF2DVbdvF/IL/icbckO85tj1LzizflnguFRvIYn7GrFg9fjJrki | | | YkXhBgApzwOrJ7rI70IyHTVYPST44wSEPt/1oFKDSzDrWLzwjgLQtIp3mpkPlK7a | | | 75/K/wOjfC+koileLxUdvPatD1m1Do3jC33chFpVAee3AGmKn8iHajGKUV2JM+MZ | | | WxSkNq++WJXY9ozHT3t0wIjbDSsn2w//J3q1Y0TI+t8ydwROfQwXiMakz+Xe8aO/ | | | kEeCqlMwHIUtlZkfCHn6zDjEXA+dGP1kMYvNbQIDAQABAoIBAEdR3srA9rikrYCP | | | dRjrkMyCWpjRF6kRF2cQi/P8qG0OQxME53sj91x7PxqQmvNjWK9uNDZjwJbVUS7E | | | bUrIMzMBbbV7m9gYINTK4DPfNTm55ahsCEvySLaSeJRA+ASrXmSwbiiHSrSCp0tR | | | /gJhE716O/wrjFBx6ekIBKAbsacMeD1Xzzypi+P7iOIELy2fahqQwZEUag0a2osT | | | ykUIUyqaCgKJuLKGn8QJdq61nuJaX6EpgJ5rLKisxTQlp+HkoXpxWIFZVQR+YuXY | | | JfUXjldBwxxIr5RBc5VxN7dA4fb+1BaxWVshp2/LJynCDLh/ineKtp2vKO9bjRP2 | | | YJ+UHCECgYEA07pLni6fCnwuCUcz+4kZDbndVFwfKBnCbnrMROyska5UohbXVLfN | | | Gx6g5s8SDl9ZK6o6Z8fv2qx7u4LPsilV8nX9RJOYHQ/NGkXaSDDWimZmJD7xHIRB | | | Ndd0OMldzFgh3fdkBxEbFCvyjJNwHVmTRF8Pda7ppHXeHNLBjblvsykCgYEA0jU1 | | | WFgjh95zjiMlyzBKty6L818+CrrBUZ+WyzML1PkSKEznzusQQkS+qyoLv7RXIZAV | | | x7u6hUStvfGjCLTtmAqIePSUvJnldlUlJfM1XYhUGCZ5WzsvuafwA5zPbxauT9MX | | | EhXGJmXmdkJP/aH5DB5TclLfZ/nhXAThMSEBNKUCgYEAqj4pf09NYkjnW159Vcuu | | | 8XJ5nNNV2hCcXekvRlxnhdv/ATYMfnor2ZqPFgd6JURVlt6Rh9Ej81itROCx0Dec | | | fBCTTQjATt3dtTplgZaDa1Va29ogVSWiqYBMWzzOxvg2gxvgui3u8BFGPfJvO6pC | | | 177311CFXU/JALQWHbb1McECgYEAirXNw8Q1ffzOp+aNk+0EAKjYdPpOSGpAEwqK | | | SQAgOKM61hkZhjMbAX+3id8u7YulS2J23NwGEtblB0giWyZ4+jFJKPfMBkBPaKx6 | | | 3PYGKvhA9ca9ofQGZC5rdRbO0vFWiRo0SRzRKplnYHYVrrppSxPf4LrK7SO5EC2w | | | I+kxkHkCgYB14Zzd7O38n2T8z2Y7vFCgUR/Wp9XhHHkArvYa6g3p3elFabobuByE | | | l6rDOCtPkHQ2sLTAMLNEvIUEGlcmzb4gQ/Y+kvcMIkqk7kUenIrx99EU/dw1MP/r | | | qUSoJpR1cNQmoPpwZxdSbVpR7I2SLoRlP8rgn2U/9xYiS928nq5j0Q== | | | -----END RSA PRIVATE KEY----- | | MCollective User | | | MCollective Password | | | MongoDB Admin User | admin | | MongoDB Admin Password | | | MongoDB Broker User | openshift | | MongoDB Broker Password | | ±---------------------------±-----------------------------------------------------------------+

Node Districts ±---------±----------±--------------------------+ | District | Gear Size | Nodes | ±---------±----------±--------------------------+ | Default | small | master.openshift.usto.com | ±---------±----------±--------------------------+

Role Assignments ±-----------±--------------------------+ | Broker | master.openshift.usto.com | | NameServer | master.openshift.usto.com | | Node | master.openshift.usto.com | ±-----------±--------------------------+

Host Information ±--------------------------±-----------+ | Hostname | Roles | ±--------------------------±-----------+ | master.openshift.usto.com | Broker | | | NameServer | | | Node | ±--------------------------±-----------+

Choose from the following deployment configuration options:

  1. Change the DNS configuration
  2. Manage Hosts
  3. Services Accounts Settings
  4. Global Gear Settings
  5. Node Districts
  6. Display full Host details
  7. Finish editing the deployment configuration Type a selection and press <return>: 7

Here is the subscription configuration that the installer will use for this deployment. ±------------------±----------------------------------------------------------------+ | Setting | Value | ±------------------±----------------------------------------------------------------+ | type | yum | | repos_base | https://mirror.openshift.com/pub/origin-server/release/4/rhel-6 | | jenkins_repo_base | http://pkg.jenkins-ci.org/redhat | | os_repo | - | | os_optional_repo | http://download.fedoraproject.org/pub/epel/6/$basearch | | puppet_repo_rpm | http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm | | jboss_repo_base | - | ±------------------±----------------------------------------------------------------+

Do you want to make any changes to the subscription info in the configuration file? (y/n/q/?) n

Do you want to set any temporary subscription settings for this installation only? (y/n/q/?) n

Preflight check: verifying system and resource availability.

Checking master.openshift.usto.com:

  • Target host is running CentOS
  • Located getenforce
  • SELinux is running in enforcing mode
  • Located yum Erreur : Aucun paquet correspondant à lister
  • The ‘puppet’ package is not installed on this host.
  • openssh-clients RPM is installed.
  • bind RPM is installed. Erreur : Aucun paquet correspondant à lister

The ‘puppet’ RPM is required, but not installed on master.openshift.usto.com. Do you want me to try to install it for you? (y/n/q) y

Checking availability of ‘puppet’ RPM… available. Attempting to install… attention: rpmts_HdrFromFdno: Entête V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Importing GPG key 0x0608B895: Userid : EPEL (6) epel@fedoraproject.org Package: epel-release-6-8.noarch (@/epel-release-6-8.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 success!

Deploying workflow ‘origin_deploy’.

Preparing to install OpenShift Origin on the following hosts:

Generating template for ‘master.openshift.usto.com’ ls: impossible d’accéder à /var/named/Kapps.usto.com*.key: Aucun fichier ou dossier de ce type

  • Checking for apps.usto.com DNS key… not found; attempting to generate.
  • Key generation successful. ls: impossible d’accéder à /var/named/Kopenshift.usto.com*.key: Aucun fichier ou dossier de ce type
  • Checking for openshift.usto.com DNS key… not found; attempting to generate.
  • Key generation successful.
  • BIND DNS enabled.
  • Created template /tmp/oo_install_configure_master.openshift.usto.com.pp

master.openshift.usto.com: Running Puppet deployment for host Error: Could not uninstall module ‘openshift-openshift_origin’ Module ‘openshift-openshift_origin’ is not installed master.openshift.usto.com: Puppet module removal failed. This is expected if the module was not installed. master.openshift.usto.com: Attempting Puppet module installation (try #1) Error: Could not install module ‘openshift-openshift_origin’ (v4.1.0) No version of ‘puppetlabs-concat’ will satisfy dependencies You specified ‘openshift-openshift_origin’ (v4.1.0), which depends on ‘puppetlabs-haproxy’ (v1.2.0), which depends on ‘puppetlabs-concat’ (>= 1.1.0 < 2.0.0) Use puppet module install --force to install this module anyway master.openshift.usto.com: Attempting Puppet module installation (try #2) Error: Could not install module ‘openshift-openshift_origin’ (v4.1.0) No version of ‘puppetlabs-concat’ will satisfy dependencies You specified ‘openshift-openshift_origin’ (v4.1.0), which depends on ‘puppetlabs-haproxy’ (v1.2.0), which depends on ‘puppetlabs-concat’ (>= 1.1.0 < 2.0.0) Use puppet module install --force to install this module anyway master.openshift.usto.com: Attempting Puppet module installation (try #3) Error: Could not install module ‘openshift-openshift_origin’ (v4.1.0) No version of ‘puppetlabs-concat’ will satisfy dependencies You specified ‘openshift-openshift_origin’ (v4.1.0), which depends on ‘puppetlabs-haproxy’ (v1.2.0), which depends on ‘puppetlabs-concat’ (>= 1.1.0 < 2.0.0) Use puppet module install --force to install this module anyway master.openshift.usto.com: Puppet module installation failed master.openshift.usto.com: Output: Preparing to install into /etc/puppet/modules … Downloading from http://forge.puppetlabs.com

master.openshift.usto.com: Error:
master.openshift.usto.com: Exiting installation on this host. None of the host deployments succeeded:

  • master.openshift.usto.com (1) Please investigate these failures by starting with the /tmp/openshift-deploy.log file on each host. Exiting installation with errors.

All tasks completed. oo-install exited; removing temporary assets. [root@master installer]# scl enable ruby193 “puppet module install openshift/openshift_origin” Preparing to install into /etc/puppet/modules … Downloading from http://forge.puppetlabs.com … Installing – do not interrupt … /etc/puppet/modules └─┬ openshift-openshift_origin (v4.1.3) ├── arioch-keepalived (v1.1.1) ├── blentz-selinux_types (v0.1.0) ├── duritong-sysctl (v0.0.11) ├── puppetlabs-concat (v1.2.3) ├── puppetlabs-haproxy (v1.2.0) ├── puppetlabs-java_ks (v1.3.0) ├── puppetlabs-ntp (v4.0.0) ├── puppetlabs-stdlib (v4.6.0) └── rharrison-lokkit (v0.5.0)

[root@master installer]# ./oo-install-origin Checking for necessary tools… …looks good. Using bundled assets. Extracting oo-install to temporary directory… Starting oo-install… OpenShift Installer (Build 20150505-1447)

Welcome to OpenShift.

This installer will guide you through a basic system deployment, based on one of the scenarios below.

Select from the following installation scenarios. You can also type ‘?’ for Help or ‘q’ to Quit:

  1. Install OpenShift Origin
  2. Add a Node to an OpenShift Origin deployment
  3. Generate a Puppet Configuration File Type a selection and press <return>: 1

Here are the details of your current deployment.

Note: ActiveMQ and MongoDB will be installed on all Broker instances. For more flexibility, rerun the installer in advanced mode (-a).

DNS Settings

Global Gear Settings ±------------------------±------+ | Valid Gear Sizes | small | | User Default Gear Sizes | small | | Default Gear Size | small | ±------------------------±------+

Account Settings ±---------------------------±-----------------------------------------------------------------+ | OpenShift Console User | | | OpenShift Console Password | | | Broker Session Secret | | | Console Session Secret | | | Broker Auth Salt | | | Broker Auth Private Key | -----BEGIN RSA PRIVATE KEY----- | | | MIIEpAIBAAKCAQEArdrTuAyVSGPs97wHR0ddcMLtOWLo8ttzCYf0sWHhhtkfbOdB | | | yca4XrZEVA7K6iF2DVbdvF/IL/icbckO85tj1LzizflnguFRvIYn7GrFg9fjJrki | | | YkXhBgApzwOrJ7rI70IyHTVYPST44wSEPt/1oFKDSzDrWLzwjgLQtIp3mpkPlK7a | | | 75/K/wOjfC+koileLxUdvPatD1m1Do3jC33chFpVAee3AGmKn8iHajGKUV2JM+MZ | | | WxSkNq++WJXY9ozHT3t0wIjbDSsn2w//J3q1Y0TI+t8ydwROfQwXiMakz+Xe8aO/ | | | kEeCqlMwHIUtlZkfCHn6zDjEXA+dGP1kMYvNbQIDAQABAoIBAEdR3srA9rikrYCP | | | dRjrkMyCWpjRF6kRF2cQi/P8qG0OQxME53sj91x7PxqQmvNjWK9uNDZjwJbVUS7E | | | bUrIMzMBbbV7m9gYINTK4DPfNTm55ahsCEvySLaSeJRA+ASrXmSwbiiHSrSCp0tR | | | /gJhE716O/wrjFBx6ekIBKAbsacMeD1Xzzypi+P7iOIELy2fahqQwZEUag0a2osT | | | ykUIUyqaCgKJuLKGn8QJdq61nuJaX6EpgJ5rLKisxTQlp+HkoXpxWIFZVQR+YuXY | | | JfUXjldBwxxIr5RBc5VxN7dA4fb+1BaxWVshp2/LJynCDLh/ineKtp2vKO9bjRP2 | | | YJ+UHCECgYEA07pLni6fCnwuCUcz+4kZDbndVFwfKBnCbnrMROyska5UohbXVLfN | | | Gx6g5s8SDl9ZK6o6Z8fv2qx7u4LPsilV8nX9RJOYHQ/NGkXaSDDWimZmJD7xHIRB | | | Ndd0OMldzFgh3fdkBxEbFCvyjJNwHVmTRF8Pda7ppHXeHNLBjblvsykCgYEA0jU1 | | | WFgjh95zjiMlyzBKty6L818+CrrBUZ+WyzML1PkSKEznzusQQkS+qyoLv7RXIZAV | | | x7u6hUStvfGjCLTtmAqIePSUvJnldlUlJfM1XYhUGCZ5WzsvuafwA5zPbxauT9MX | | | EhXGJmXmdkJP/aH5DB5TclLfZ/nhXAThMSEBNKUCgYEAqj4pf09NYkjnW159Vcuu | | | 8XJ5nNNV2hCcXekvRlxnhdv/ATYMfnor2ZqPFgd6JURVlt6Rh9Ej81itROCx0Dec | | | fBCTTQjATt3dtTplgZaDa1Va29ogVSWiqYBMWzzOxvg2gxvgui3u8BFGPfJvO6pC | | | 177311CFXU/JALQWHbb1McECgYEAirXNw8Q1ffzOp+aNk+0EAKjYdPpOSGpAEwqK | | | SQAgOKM61hkZhjMbAX+3id8u7YulS2J23NwGEtblB0giWyZ4+jFJKPfMBkBPaKx6 | | | 3PYGKvhA9ca9ofQGZC5rdRbO0vFWiRo0SRzRKplnYHYVrrppSxPf4LrK7SO5EC2w | | | I+kxkHkCgYB14Zzd7O38n2T8z2Y7vFCgUR/Wp9XhHHkArvYa6g3p3elFabobuByE | | | l6rDOCtPkHQ2sLTAMLNEvIUEGlcmzb4gQ/Y+kvcMIkqk7kUenIrx99EU/dw1MP/r | | | qUSoJpR1cNQmoPpwZxdSbVpR7I2SLoRlP8rgn2U/9xYiS928nq5j0Q== | | | -----END RSA PRIVATE KEY----- | | MCollective User | | | MCollective Password | | | MongoDB Admin User | | | MongoDB Admin Password | | | MongoDB Broker User | | | MongoDB Broker Password | | ±---------------------------±-----------------------------------------------------------------+

Node Districts ±---------±----------±--------------------------+ | District | Gear Size | Nodes | ±---------±----------±--------------------------+ | Default | small | master.openshift.usto.com | ±---------±----------±--------------------------+

Role Assignments ±-----------±--------------------------+ | Broker | master.openshift.usto.com | | NameServer | master.openshift.usto.com | | Node | master.openshift.usto.com | ±-----------±--------------------------+

Host Information ±--------------------------±-----------+ | Hostname | Roles | ±--------------------------±-----------+ | master.openshift.usto.com | Broker | | | NameServer | | | Node | ±--------------------------±-----------+

Choose an action:

  1. Change the deployment configuration
  2. View the full host configuration details
  3. Proceed with deployment Type a selection and press <return>: 3

Here is the subscription configuration that the installer will use for this deployment. ±------------------±----------------------------------------------------------------+ | Setting | Value | ±------------------±----------------------------------------------------------------+ | type | yum | | repos_base | https://mirror.openshift.com/pub/origin-server/release/4/rhel-6 | | jenkins_repo_base | http://pkg.jenkins-ci.org/redhat | | os_repo | - | | os_optional_repo | http://download.fedoraproject.org/pub/epel/6/$basearch | | puppet_repo_rpm | http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm | | jboss_repo_base | - | ±------------------±----------------------------------------------------------------+

Do you want to make any changes to the subscription info in the configuration file? (y/n/q/?) n

Do you want to set any temporary subscription settings for this installation only? (y/n/q/?) n

Preflight check: verifying system and resource availability.

Checking master.openshift.usto.com:

  • Target host is running CentOS
  • Located getenforce
  • SELinux is running in enforcing mode
  • Located yum
  • puppet RPM is installed.
  • openssh-clients RPM is installed.
  • bind RPM is installed. Erreur : Aucun paquet correspondant à lister

Deploying workflow ‘origin_deploy’.

Preparing to install OpenShift Origin on the following hosts:

Generating template for ‘master.openshift.usto.com

  • Checking for apps.usto.com DNS key… found.
  • Checking for openshift.usto.com DNS key… found.
  • BIND DNS enabled.
  • Created template /tmp/oo_install_configure_master.openshift.usto.com.pp

master.openshift.usto.com: Running Puppet deployment for host master.openshift.usto.com: Existing puppet module removed. master.openshift.usto.com: Attempting Puppet module installation (try #1) master.openshift.usto.com: Puppet module installation succeeded. master.openshift.usto.com: Cleaning yum repos. master.openshift.usto.com: Running the Puppet deployment. This step may take up to an hour.