Comments (6)
reopening, the authorized key file is not getting laid down on the computes
from ansible-lxc-rpc.
more info
(.venv)root@569037-ctrl01:~/ansible-lxc-rpc/rpc_deployment# ll ~/.ssh/
authorized_keys id_rsa id_rsa.pub known_hosts nova nova.pub
TASK: [nova_compute_sshkey_setup | Set nova users shell to /bin/bash and generate ssh_key] ***
changed: [compute1]
changed: [compute5]
changed: [compute4]
changed: [compute3]
changed: [compute8]
changed: [compute2]
changed: [compute7]
changed: [compute6]
changed: [compute10]
changed: [compute11]
changed: [compute9]
changed: [compute13]
changed: [compute12]
changed: [compute16]
changed: [compute18]
changed: [compute15]
changed: [compute14]
changed: [compute17]
TASK: [nova_compute_sshkey_setup | Copy private key up to nova nodes] *********
ok: [compute5]
ok: [compute7]
ok: [compute1]
ok: [compute4]
ok: [compute3]
ok: [compute2]
ok: [compute6]
ok: [compute10]
ok: [compute9]
ok: [compute11]
ok: [compute13]
ok: [compute12]
ok: [compute8]
ok: [compute18]
ok: [compute16]
ok: [compute15]
ok: [compute14]
ok: [compute17]
TASK: [nova_compute_sshkey_setup | Copy public key up to nova nodes] **********
ok: [compute1]
ok: [compute5]
ok: [compute4]
ok: [compute3]
ok: [compute2]
ok: [compute6]
ok: [compute11]
ok: [compute9]
ok: [compute13]
ok: [compute12]
ok: [compute8]
ok: [compute7]
ok: [compute16]
ok: [compute15]
ok: [compute14]
ok: [compute17]
ok: [compute10]
ok: [compute18]
TASK: [nova_compute_sshkey_setup | Add key to authorized_keys file] ***********
ok: [compute2]
ok: [compute3]
ok: [compute5]
ok: [compute6]
ok: [compute9]
ok: [compute11]
ok: [compute8]
ok: [compute13]
ok: [compute1]
ok: [compute12]
ok: [compute4]
ok: [compute14]
ok: [compute17]
ok: [compute7]
ok: [compute10]
ok: [compute16]
ok: [compute15]
ok: [compute18]
TASK: [nova_compute_sshkey_setup | Prevent known_hosts from causing an issue] ***
ok: [compute5]
ok: [compute1]
ok: [compute4]
ok: [compute3]
ok: [compute2]
ok: [compute6]
ok: [compute11]
ok: [compute9]
ok: [compute13]
ok: [compute12]
ok: [compute8]
ok: [compute7]
ok: [compute16]
ok: [compute15]
ok: [compute14]
ok: [compute17]
ok: [compute10]
ok: [compute18]
after run, on a compute box
nova@573960-compute12:~$ cat .ssh/
config id_rsa id_rsa.pub known_hosts
from ansible-lxc-rpc.
@jacobwagner can you rerun the nova-compute play with increased verbosity to see what its doing on the authorized keys section?
I've literally just done a clean run now (based off the ansible-lxc-rpc repo) and it worked ok for me on both my compute nodes:
root@node11:~# ls /var/lib/nova/.ssh/
authorized_keys config id_rsa id_rsa.pub
root@node15:~# ls /var/lib/nova/.ssh/
authorized_keys config id_rsa id_rsa.pub
from ansible-lxc-rpc.
Since the id_rsa.pub file is present, its odd that the authorized_keys file wasn't created. All the authorized_keys task does is copy that using the "authorized_key" ansible module.
from ansible-lxc-rpc.
I've made a "second" patch (andymcc@b716213) which just does a straight copy instead of using the "authorized_key" ansible module so if you are still having trouble that will work, but it would definitely be better to figure out why this didn't work for you - I can see all the appropriate files are created on the host which you ran the ansible playbooks from and copied up to the compute nodes - so the only task that can be failing is the "Add key to authorized_keys file"
from ansible-lxc-rpc.
fix in PR #72, closing
from ansible-lxc-rpc.
Related Issues (20)
- XML Tempest tests are failing
- Please add the DiskFilter to the nova default scheduler option HOT 1
- Jenkins jobs queuing indefinitely HOT 2
- deployment takes ~20mins to create containers HOT 2
- rsyslog container safe_upgrade tasks add ~5 mins to deployment time
- openjdk-7-jre installation into multiple containers adds ~20mins to deployment time
- ansible logging: keystone user/tenant/role changes could do with improvement
- Automatically register swift monitors HOT 1
- jenkins: add ansible timestamp callback plugin HOT 1
- jenkins: build fresh container base image(s) on a daily basis
- The container build/setup process is slow and clunky HOT 1
- Update glance policy.json with new permissions defaults.
- glance module doesn't allow for non-public endpoint types.
- neutron module doesn't allow for non-public endpoint types.
- Ansible lint'ing
- Keystone is not using the proper cache vip for dogpile cache
- tempest_resources role creates subnet w/ no name
- kibana: add more dashboards with different user viewpoints
- holland-commvault deb has a dependency on holland HOT 1
- Instance of hardcoded secret HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-lxc-rpc.