local-config element doesn't work with ironic-agent

Bug #1451668 reported by Ramakrishnan G (rameshg87)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Medium
Martin André

Bug Description

Currently I can create an ironic-agent ramdisk from dib using the command:
/opt/stack/diskimage-builder/bin/disk-image-create -a amd64 -o agent-ramdisk fedora ironic-agent disable-selinux

I can add the local-config element to copy the ssh keys to the ramdisk (ironic-agent has an ssh service running). But adding local-config doesn't copy the ssh keys.

Changed in diskimage-builder:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239310

Changed in diskimage-builder:
assignee: nobody → Martin André (mandre)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/239310
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=bc2199144e08e3c8aae872691f517c89b8e1c367
Submitter: Jenkins
Branch: master

commit bc2199144e08e3c8aae872691f517c89b8e1c367
Author: Martin André <email address hidden>
Date: Mon Oct 26 11:19:28 2015 +0900

    Selectively prune /root for ironic-agent ramdisk

    Previously all files in /root were ignored when building the
    ironic-agent ramdisk. This prevented for example to use the
    local-config element to connect to the ramdisk via ssh as root user.

    This commit change the exclude rule on /root to only ignore the
    /root/.cache directory.

    Change-Id: I18d839e8d97636f5f2164ba407f252407d9bc956
    Closes-Bug: #1451668

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in diskimage-builder:
status: Fix Committed → Fix Released
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.