Not able to connect memcached_container while running setup-infrastructure.yml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Jesse Pretorius | ||
Kilo |
Fix Released
|
High
|
Jesse Pretorius | ||
Liberty |
Fix Released
|
High
|
Jesse Pretorius | ||
Trunk |
Fix Released
|
High
|
Jesse Pretorius |
Bug Description
i was able to ssh host01 manullay and even able to ssh host01_
1. My ansible.cfg configuration
[defaults]
# Additional plugins
lookup_plugins = plugins/lookups
filter_plugins = plugins/filters
gathering = smart
hostfile = inventory
host_key_checking = False
# Set color options
nocolor = 0
# SSH timeout
timeout = 120
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o TCPKeepAlive=yes -o ServerAliveInte
2. ssh host machine :
root@deploy:~# ssh root@host01
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)
* Documentation: https:/
System information as of Thu Aug 27 17:59:37 IST 2015
System load: 0.08 IP address for eth0: 192.168.30.11
Usage of /: 21.3% of 42.95GB IP address for eth3: 192.168.3.128
Memory usage: 47% IP address for br-mgmt: 192.168.40.11
Swap usage: 10% IP address for br-vxlan: 192.168.50.11
Processes: 655 IP address for lxcbr0: 10.0.3.1
Users logged in: 0
Graph this data and manage this system at:
https:/
Last login: Thu Aug 27 17:59:39 2015 from deploy
root@host01:~#
4. SSH memcached container from deploy host
root@deploy:~# ssh root@192.168.40.63
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-62-generic x86_64)
* Documentation: https:/
root@host01_
5. Error output with -vvv
root@deploy:
Variable files: "-e @/etc/openstack
PLAY [Install memcached] *******
GATHERING FACTS *******
<192.168.40.63> ESTABLISH CONNECTION FOR USER: root
<192.168.40.63> REMOTE_MODULE setup
<192.168.40.63> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o TCPKeepAlive=yes -o ServerAliveInte
failed: [host01_
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_
/bin/sh: 1: /usr/bin/python: not found
TASK: [Use the lxc-openstack aa profile] *******
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP *******
to retry, use: --limit @/root/
host01_
Not sure if i miss some configuration , please help .
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in openstack-ansible: | |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
milestone: | none → 12.0.0 |
Changed in openstack-ansible: | |
milestone: | 12.0.0 → 12.1.0 |
i found the issue. python was not installed in any of the container. so i made change in container_ create. yml as below and it work fine for me .
Path : os-ansible- deployment- kilo\playbooks\ roles\lxc_ container_ create\ tasks\container _create. yml
at line 284 :
before : apt-get -y install python2.7
After : apt-get -y install python
after this it worked for me
i am not sure is it bug or not but it worked form me once i changed.