Building Debian image to run on openstack tacker

Bug #1724493 reported by Arvind Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

Would appriciate your help:
I built fedora image successfully, but when I am building debian image, I am facing issue,
I have attached the log.

Commands:

export PATH="${PWD}/dib-utils/bin:$PATH"
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-templates/hot/software-config/elements
export DIB_DISTRIBUTION_MIRROR=http://ftp.us.debian.org/debian
export DISTRO_NAME=debian
export DIB_RELEASE=stable
#export DIB_INIT_SYSTEM=systemd-sysv
#export DIB_INIT_SYSTEM=systemd
#export DIB_APT_KEYRING
#export DIB_OFFLINE
#DIB_DEBIAN_DEBOOTSTRAP_SCRIPT
#export DIB_DEBIAN_DEBOOTSTRAP_SCRIPT

disk-image-create vm \
  debian-minimal selinux-permissive \
  os-collect-config \
  os-refresh-config \
  os-apply-config \
  heat-config \
  heat-config-ansible \
  heat-config-cfn-init \
  heat-config-docker-compose \
  heat-config-kubelet \
  heat-config-puppet \
  heat-config-salt \
  heat-config-script \
  -o debian-software-config.qcow2

Issue:
Log has been attached.

Revision history for this message
Arvind Kumar (arvindverma03) wrote :
Revision history for this message
Arvind Kumar (arvindverma03) wrote :

These are the last lines of log provided:

 source /tmp/in_target.d/pre-install.d/../environment.d/10-dib-init-system.bash
++++ dirname /tmp/in_target.d/pre-install.d/../environment.d/10-dib-init-system.bash
+++ PATH='$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tmp/in_target.d/pre-install.d/../environment.d/..'
+++ dib-init-system
++ DIB_INIT_SYSTEM='Unknown init system'

Revision history for this message
Arvind Kumar (arvindverma03) wrote :

I did almost everything, but DIB_INIT_SYSTEM='Unknown init system', I am not able to understand the cause of error. would appriciate help:

 export DIB_DEBOOTSTRAP_DEFAULT_LOCALE=C.UTF-8
++ DIB_DEBOOTSTRAP_DEFAULT_LOCALE=C.UTF-8
+ set +o xtrace
dib-run-parts Wed Oct 18 09:18:10 UTC 2017 Sourcing environment file /tmp/in_target.d/pre-install.d/../environment.d/10-dib-init-system.bash
+ source /tmp/in_target.d/pre-install.d/../environment.d/10-dib-init-system.bash
++++ dirname /tmp/in_target.d/pre-install.d/../environment.d/10-dib-init-system.bash
+++ PATH='$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tmp/in_target.d/pre-install.d/../environment.d/..'
+++ dib-init-system
++ DIB_INIT_SYSTEM='Unknown init system'

Revision history for this message
Arvind Kumar (arvindverma03) wrote :

I also not able to understand the following documentation:

3.3.30 dib-init-system
Installs a script (dib-init-system) which outputs the type of init system in use on the target image. Also sets an environment variable DIB_INIT_SYSTEM to this value.
Any files placed in a init-scripts/INIT_SYSTEM directory inside the element will be copied into the appro-priate directory if INIT_SYSTEM is in use on the host.

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.