[openstack-dev] Nodepool: puppet puts wrong key in authorized_keys in slave

Eduard Matei eduard.matei at cloudfounders.com
Mon Jun 1 08:24:59 UTC 2015


Hi Ramy,

I tried the disk-image-builder and now i can't ssh with any user with any
key.
Everytime i get  "Permission denied (publickey).".

Here's my nodepool.yaml:


script-dir: /etc/nodepool/scripts
elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool_dib
dburi: 'mysql://nodepool:changeme@localhost/nodepool'

cron:
  cleanup: '*/1 * * * *'
  check: '*/15 * * * *'
  image-update: '14 14 * * *'

zmq-publishers:
  - tcp://localhost:8888

gearman-servers:
  - host: 127.0.0.1

labels:
  - name: d-p-c
    image: dpc
    min-ready: 1
    providers:
      - name: local_01

diskimages:
    - name: dpc
      elements:
        - ubuntu
        - vm
        - openstack-repos
        - puppet
        - nodepool-base
        - node-devstack
      release: trusty
      env-vars:
        TMPDIR: /opt/dib_tmp
        DIB_IMAGE_CACHE: /opt/dib_cache

providers:
  - name: local_01
    username: 'admin'
    password: '******'
    auth-url: 'http://10.100.128.2:5000/v2.0'
    project-id: 'admin'
    max-servers: 1
    keypair: 'jenkins'
    images:
      - name: dpc
        min-ram: 8192
        diskimage: dpc
        username: jenkins
        private-key: '/home/nodepool/.ssh/id_rsa'

targets:
  - name: local-jenkins
    jenkins:
      url: 'http://localhost:8080/'
      user: 'jenkins'
      apikey: '*'
      credentials-id: '*'


Thanks,
Eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150601/3ac9868f/attachment.html>


More information about the OpenStack-dev mailing list