The packer builder docker image

Bug #1551269 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solar
Fix Released
High
Bogdan Dobrelya

Bug Description

Solar devs use packer to build images for solar master and slaves. Those envs are not consistent - some use fedora, some arch linux, some ubuntu. Some have older virtualbox installed or newer qemu/libvirt, and so on.

Besides that, some devs experience strange packer caching issues - when installed packages are missing in the destination box. This requires unified and repeatable build environment with a clean state. So the idea is to make a docker image for developers and CI build jobs to use.

The PoC builder image will reside here https://hub.docker.com/r/bogdando/solar-packer-builder/ .
It is based on https://hub.docker.com/_/fedora/ Fedora 23. It builds qemu and docker cases.
Jenkins job or a developer may just pull it and run build commands as needed.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

High to due to *sad* packer UX

Changed in solar:
importance: Undecided → High
assignee: nobody → Bogdan Dobrelya (bogdando)
milestone: none → 0.3.0
status: New → In Progress
tags: added: build docker packer vagrant
description: updated
Revision history for this message
Jedrzej Nowak (jnowak) wrote :

/root/solar is on datached HEAD
packer is still "not that packer that we need"

Could you adjust your builder image ?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solar (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solar (master)

Reviewed: https://review.openstack.org/286517
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=4aa47c1348443f8ef6934a8130a51909bd696b2b
Submitter: Jenkins
Branch: master

commit 4aa47c1348443f8ef6934a8130a51909bd696b2b
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Mar 1 12:38:43 2016 +0100

    Describe how to create/use the builder container

    Closes-bug: #1551269

    Change-Id: I9b155bcbc6e96034f5f55ba2f8add89abdeabc5b
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in solar:
status: In Progress → 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.