ceph-ansible template doesn't allow local connections

Bug #1788890 reported by Hannah Gibson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Medium
Unassigned

Bug Description

I tried to install Tripleo in standalone mode with ceph-ansible.yaml environment file passed in, it reads in the user and hostname in /etc/ansible/hosts, but assumes the connection type will be ssh.
This means that for ceph daemons to be deployed with the existing heat templates, I had to create a new ssh key pair, copy the public key to /root/.ssh/authorized_keys, and add private_key_file = /home/<tripleo user>/<key>.

I was also able to fix the problem by adding

"ansible_connection: {{ hostvars.raw_get(host)['ansible_connection'] | default('local') }}" as line 369 of openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml which allowed tripleo to get ansible host connection type.

Tags: depcheck
Revision history for this message
Alex Schultz (alex-schultz) wrote :

ceph is not currently supported with the standalone but this is a good thing to know that is an outstanding issue when we get to checking out ceph support.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
Arx Cruz (arxcruz)
tags: added: depcheck
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: wallaby-3 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.