Bug 1304590 - [DOCS] creating new configuration files section missing information
[DOCS] creating new configuration files section missing information
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Vikram Goyal
Vikram Goyal
Vikram Goyal
Depends On:
  Show dependency treegraph
Reported: 2016-02-03 23:07 EST by Ryan Howe
Modified: 2017-12-30 09:37 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-12-30 09:37:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ryan Howe 2016-02-03 23:07:27 EST
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/master_node_configuration.html#creating-new-configuration-files

Section Number and Name:  Creating a new configuration file 

Describe the issue: 
- Missing steps and way to vague on using this command to recreate a nodes configuration files 

Suggestions for improvement: Outline all that is needed to actually create a working node-config for an existing node or adding a new node in the ose environment 

Step One From the master: 

oadm create-node-config --certificate-authority=/etc/origin/master/ca.crt \ --master='https://openshift-cluster.bender.com' \
--signer-cert=/etc/origin/master/ca.crt \
--signer-key=/etc/origin/master/ca.key  \
--signer-serial=/etc/origin/master/ca.serial.txt \
--node-dir=/etc/origin/node/node-node2.bender.com/ \
--node=node2.bender.com \
--hostnames=node2.bender.com,, \
--node-client-certificate-authority='/etc/origin/master/ca.crt' \
--network-plugin='redhat/ovs-'redhat/openshift-ovs-subnet' \

Step Two copy over to new node

Step Tree check the node-config.yaml create and compare to an existing 

Step Four make any changes according to environments needs

Step Five restart the atomic-openshift-node.service 

Additional information: 

# oadm create-node-config -h

  oadm create-node-config [options]
      --allow-disabled-docker=false: Allow the node to start without docker being available.
      --certificate-authority='openshift.local.config/master/ca.crt': Path to the API server's CA file.
      --client-certificate='': The client cert file for the node to contact the API.
      --client-key='': The client key file for the node to contact the API.
      --dns-domain='cluster.local': DNS domain for the cluster.
      --dns-ip='': DNS server IP for the cluster.
      --hostnames=[]: Every hostname or IP you want server certs to be valid for. Comma delimited list
      --images='openshift3/ose-${component}:${version}': When fetching the network container image, use this format. The latest release will be used by default.
      --latest-images=false: If true, attempt to use the latest images for the cluster instead of the latest release.
      --listen='': The address to listen for connections on (scheme://host:port).
      --master='https://localhost:8443': The API server's URL.
      --network-plugin='': Name of the network plugin to hook to for pod networking.
      --node='': The name of the node as it appears in etcd.
      --node-client-certificate-authority='openshift.local.config/master/ca.crt': The file containing signing authorities to use to verify requests to the node. If empty, all requests will be allowed.
      --node-dir='': The client data directory.
      --server-certificate='': The server cert file for the node to serve secure traffic.
      --server-key='': The server key file for the node to serve secure traffic.
      --signer-cert='openshift.local.config/master/ca.crt': The certificate file.
      --signer-key='openshift.local.config/master/ca.key': The key file.
      --signer-serial='openshift.local.config/master/ca.serial.txt': The serial file that keeps track of how many certs have been signed.
      --volume-dir='openshift.local.volumes': The volume storage directory.  This path is not relativized.

Use "oadm options" for a list of global command-line options (applies to all commands).

Note You need to log in before you can comment on or make changes to this bug.