Welcome to RDO Manager documentation

Undercloud Pre-Install Setup

  1. Add a non-root user and give them passwordless sudo permissions. This is the only step that the root user will be used, all other steps will be run as the non-root user created below.

    useradd stack
    echo "stack ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/stack
    chmod 0440 /etc/sudoers.d/stack
    
  2. Copy the undercloud.conf.sample to the non-root user’s home directory.

    cp /usr/share/instack-undercloud/undercloud.conf.sample \
       /home/stack/undercloud.conf
    

Note

For a baremetal deployment, you will certainly need to edit this file, but that is not currently CI’d by the tool that generates these docs.

  1. Configure the hostname for the undercloud

    echo "127.0.0.1  localhost undercloud" > /etc/hosts
    echo "HOSTNAME=undercloud" >> /etc/sysconfig/network
    echo "undercloud" > /etc/hostname
    

Note

For a baremetal deployment this is probably over-prescriptive.

  1. WIP(trown) I do not think these steps are needed in a manual setup(virt or baremetal), but I have not tested it.

    mkdir /home/stack/.ssh
    chown stack:stack /home/stack/*
    

Workarounds :class workarounds

The following workarounds were needed on the undercloud to deploy this repo.

sudo setenforce 0

# https://bugzilla.redhat.com/show_bug.cgi?id=1301290
# https://bugs.launchpad.net/tripleo/+bug/1537720
# https://review.openstack.org/272149
sed --in-place '/wsrep_notify_cmd/d' /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller_pacemaker.pp || true