Bug 1304590 - [DOCS] creating new configuration files section missing information
Summary: [DOCS] creating new configuration files section missing information
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-04 04:07 UTC by Ryan Howe
Modified: 2017-12-30 14:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-30 14:37:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2016-02-04 04:07:27 UTC
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,192.168.110.19,10.10.73.121 \
--node-client-certificate-authority='/etc/origin/master/ca.crt' \
--network-plugin='redhat/ovs-'redhat/openshift-ovs-subnet' \
--volume-dir='/var/lib/origin/openshift.local.volumes'

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


Usage:
  oadm create-node-config [options]
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='https://0.0.0.0:10250': 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.