2016-07-01 11:20:14 |
Harry Kominos |
bug |
|
|
added bug |
2016-07-01 13:27:44 |
Harry Kominos |
description |
IN https://docs.mirantis.com/openstack/fuel/fuel-8.0/pdf/Fuel-8.0-UserGuide.pdf# I believe there are two parts that might need some small attention.
1) disk-image-create -a amd64 -p grub2-common,grub-pc, \
grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
In a brand new Ironic node with only DIB installed I get
~/PackageImage# disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
Building elements: base baremetal ubuntu-minimal
Expanded element dependencies to: dib-python install-types install-bin ubuntu-minimal manifests baremetal base pkg-map debootstrap dib-run-parts dib-init-system package-installs dpkg
Building in /tmp/dib_build.gxZaOtq3
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/01-ccache
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 01-ccache completed
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:20 : set -eu
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:21 : set -o pipefail
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:23 : '[' -f /tmp/dib_build.gxZaOtq3/mnt/.extra_settings ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:27 : '[' -n ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:28 : '[' -n trusty ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:29 : '[' -n http://archive.ubuntu.com/ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:31 : '[' ubuntu = ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:32 : KERNEL=generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:43 : KERNEL_PACKAGE=linux-image-generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:45 : DIB_DEBIAN_COMPONENTS=main,restricted,universe
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:46 : DIB_DEBOOTSTRAP_EXTRA_ARGS=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:47 : DEBOOTSTRAP_TARBALL=/root/.cache/image-create/debootstrap-ubuntu-trusty-amd64-generic.tar.gz
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:48 : http_proxy=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:50 : '[' -n '' -o -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:55 : KEYRING_OPT=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:56 : '[' -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:62 : sudo sh -c 'http_proxy= debootstrap --verbose --variant=minbase --include=python,sudo,linux-image-generic --components=main,restricted,universe --arch=amd64 trusty /tmp/dib_build.gxZaOtq3/mnt http://archive.ubuntu.com/ubuntu '
sh: 1: debootstrap: not found
and if disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu
Setting up emacs24-common-non-dfsg (24.3+1-1) ...
Setting up emacs24-common (24.3+1-2ubuntu1) ...
Setting up emacs24-bin-common (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/ctags.emacs24 to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs24 to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs24 to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs24 to provide /usr/bin/etags (etags) in auto mode
update-alternatives: using /usr/bin/grep-changelog.emacs24 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode
Setting up emacs24-nox (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/emacs24-nox to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up grub-common (2.02~beta2-9ubuntu1.8) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.8) ...
Setting up grub-pc-bin (2.02~beta2-9ubuntu1.8) ...
Setting up grub-gfxpayload-lists (0.6) ...
Setting up grub-pc (2.02~beta2-9ubuntu1.8) ...
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unmount /tmp/dib_build.OC3nAOps/mnt/var/cache/apt/archives
Unmount /tmp/dib_build.OC3nAOps/mnt/tmp/ccache
Unmount /tmp/dib_build.OC3nAOps/mnt/sys
Unmount /tmp/dib_build.OC3nAOps/mnt/proc
Unmount /tmp/dib_build.OC3nAOps/mnt/dev/pts
Unmount /tmp/dib_build.OC3nAOps/mnt/dev
Anyway I dont know what the problem is (would be nice if someone could help) but I think that if we have something in the manual it should be working out of the box in fuel.
2)the FUEL-DISK JSon is wrong
is should be vda everywhere like this I think
‘[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk",
"id": "vda", "size": 11000, "volumes": [{"mount": "/", "type":
"partition", "file_system": "ext4", "size": 10000}]}]’
Steps to reproduce
Just deploy an ironic node and try to create an image with the command for the FUEL manual.
Expected Result
Partitioned image creation
Result.
Some error |
IN https://docs.mirantis.com/openstack/fuel/fuel-8.0/pdf/Fuel-8.0-UserGuide.pdf# I believe there are two parts that might need some small attention.
1) disk-image-create -a amd64 -p grub2-common,grub-pc, \
grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
In a brand new Ironic node with only DIB installed I get
~/PackageImage# disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
Building elements: base baremetal ubuntu-minimal
Expanded element dependencies to: dib-python install-types install-bin ubuntu-minimal manifests baremetal base pkg-map debootstrap dib-run-parts dib-init-system package-installs dpkg
Building in /tmp/dib_build.gxZaOtq3
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/01-ccache
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 01-ccache completed
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:20 : set -eu
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:21 : set -o pipefail
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:23 : '[' -f /tmp/dib_build.gxZaOtq3/mnt/.extra_settings ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:27 : '[' -n ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:28 : '[' -n trusty ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:29 : '[' -n http://archive.ubuntu.com/ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:31 : '[' ubuntu = ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:32 : KERNEL=generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:43 : KERNEL_PACKAGE=linux-image-generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:45 : DIB_DEBIAN_COMPONENTS=main,restricted,universe
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:46 : DIB_DEBOOTSTRAP_EXTRA_ARGS=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:47 : DEBOOTSTRAP_TARBALL=/root/.cache/image-create/debootstrap-ubuntu-trusty-amd64-generic.tar.gz
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:48 : http_proxy=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:50 : '[' -n '' -o -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:55 : KEYRING_OPT=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:56 : '[' -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:62 : sudo sh -c 'http_proxy= debootstrap --verbose --variant=minbase --include=python,sudo,linux-image-generic --components=main,restricted,universe --arch=amd64 trusty /tmp/dib_build.gxZaOtq3/mnt http://archive.ubuntu.com/ubuntu '
sh: 1: debootstrap: not found
and if disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu
Setting up emacs24-common-non-dfsg (24.3+1-1) ...
Setting up emacs24-common (24.3+1-2ubuntu1) ...
Setting up emacs24-bin-common (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/ctags.emacs24 to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs24 to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs24 to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs24 to provide /usr/bin/etags (etags) in auto mode
update-alternatives: using /usr/bin/grep-changelog.emacs24 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode
Setting up emacs24-nox (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/emacs24-nox to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up grub-common (2.02~beta2-9ubuntu1.8) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.8) ...
Setting up grub-pc-bin (2.02~beta2-9ubuntu1.8) ...
Setting up grub-gfxpayload-lists (0.6) ...
Setting up grub-pc (2.02~beta2-9ubuntu1.8) ...
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unmount /tmp/dib_build.OC3nAOps/mnt/var/cache/apt/archives
Unmount /tmp/dib_build.OC3nAOps/mnt/tmp/ccache
Unmount /tmp/dib_build.OC3nAOps/mnt/sys
Unmount /tmp/dib_build.OC3nAOps/mnt/proc
Unmount /tmp/dib_build.OC3nAOps/mnt/dev/pts
Unmount /tmp/dib_build.OC3nAOps/mnt/dev
Anyway I dont know what the problem is (would be nice if someone could help) but I think that if we have something in the manual it should be working out of the box in fuel.
2)I also think that
the FUEL-DISK JSon is wrong
is should be vda everywhere like this I think
‘[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk",
"id": "vda", "size": 11000, "volumes": [{"mount": "/", "type":
"partition", "file_system": "ext4", "size": 10000}]}]’
Steps to reproduce
Just deploy an ironic node and try to create an image with the command for the FUEL manual.
Expected Result
Partitioned image creation
Result.
Some error |
|
2016-07-01 17:06:51 |
Dmitry Klenov |
fuel: milestone |
|
10.0 |
|
2016-07-01 17:07:02 |
Dmitry Klenov |
tags |
|
area-docs |
|
2016-07-01 17:07:31 |
Dmitry Klenov |
fuel: assignee |
|
Fuel Documentation Team (fuel-docs) |
|
2016-07-01 17:07:34 |
Dmitry Klenov |
fuel: importance |
Undecided |
Medium |
|
2016-07-01 17:07:36 |
Dmitry Klenov |
fuel: status |
New |
Confirmed |
|
2016-07-08 10:24:02 |
Harry Kominos |
description |
IN https://docs.mirantis.com/openstack/fuel/fuel-8.0/pdf/Fuel-8.0-UserGuide.pdf# I believe there are two parts that might need some small attention.
1) disk-image-create -a amd64 -p grub2-common,grub-pc, \
grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
In a brand new Ironic node with only DIB installed I get
~/PackageImage# disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
Building elements: base baremetal ubuntu-minimal
Expanded element dependencies to: dib-python install-types install-bin ubuntu-minimal manifests baremetal base pkg-map debootstrap dib-run-parts dib-init-system package-installs dpkg
Building in /tmp/dib_build.gxZaOtq3
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/01-ccache
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 01-ccache completed
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:20 : set -eu
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:21 : set -o pipefail
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:23 : '[' -f /tmp/dib_build.gxZaOtq3/mnt/.extra_settings ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:27 : '[' -n ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:28 : '[' -n trusty ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:29 : '[' -n http://archive.ubuntu.com/ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:31 : '[' ubuntu = ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:32 : KERNEL=generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:43 : KERNEL_PACKAGE=linux-image-generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:45 : DIB_DEBIAN_COMPONENTS=main,restricted,universe
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:46 : DIB_DEBOOTSTRAP_EXTRA_ARGS=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:47 : DEBOOTSTRAP_TARBALL=/root/.cache/image-create/debootstrap-ubuntu-trusty-amd64-generic.tar.gz
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:48 : http_proxy=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:50 : '[' -n '' -o -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:55 : KEYRING_OPT=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:56 : '[' -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:62 : sudo sh -c 'http_proxy= debootstrap --verbose --variant=minbase --include=python,sudo,linux-image-generic --components=main,restricted,universe --arch=amd64 trusty /tmp/dib_build.gxZaOtq3/mnt http://archive.ubuntu.com/ubuntu '
sh: 1: debootstrap: not found
and if disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu
Setting up emacs24-common-non-dfsg (24.3+1-1) ...
Setting up emacs24-common (24.3+1-2ubuntu1) ...
Setting up emacs24-bin-common (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/ctags.emacs24 to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs24 to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs24 to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs24 to provide /usr/bin/etags (etags) in auto mode
update-alternatives: using /usr/bin/grep-changelog.emacs24 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode
Setting up emacs24-nox (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/emacs24-nox to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up grub-common (2.02~beta2-9ubuntu1.8) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.8) ...
Setting up grub-pc-bin (2.02~beta2-9ubuntu1.8) ...
Setting up grub-gfxpayload-lists (0.6) ...
Setting up grub-pc (2.02~beta2-9ubuntu1.8) ...
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unmount /tmp/dib_build.OC3nAOps/mnt/var/cache/apt/archives
Unmount /tmp/dib_build.OC3nAOps/mnt/tmp/ccache
Unmount /tmp/dib_build.OC3nAOps/mnt/sys
Unmount /tmp/dib_build.OC3nAOps/mnt/proc
Unmount /tmp/dib_build.OC3nAOps/mnt/dev/pts
Unmount /tmp/dib_build.OC3nAOps/mnt/dev
Anyway I dont know what the problem is (would be nice if someone could help) but I think that if we have something in the manual it should be working out of the box in fuel.
2)I also think that
the FUEL-DISK JSon is wrong
is should be vda everywhere like this I think
‘[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk",
"id": "vda", "size": 11000, "volumes": [{"mount": "/", "type":
"partition", "file_system": "ext4", "size": 10000}]}]’
Steps to reproduce
Just deploy an ironic node and try to create an image with the command for the FUEL manual.
Expected Result
Partitioned image creation
Result.
Some error |
IN https://docs.mirantis.com/openstack/fuel/fuel-8.0/pdf/Fuel-8.0-UserGuide.pdf# I believe there are two parts that might need some small attention.
1) disk-image-create -a amd64 -p grub2-common,grub-pc, \
grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
In a brand new Ironic node with only DIB installed I get
~/PackageImage# disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu-minimal
Building elements: base baremetal ubuntu-minimal
Expanded element dependencies to: dib-python install-types install-bin ubuntu-minimal manifests baremetal base pkg-map debootstrap dib-run-parts dib-init-system package-installs dpkg
Building in /tmp/dib_build.gxZaOtq3
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/01-ccache
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 01-ccache completed
dib-run-parts Fri Jul 1 11:15:35 UTC 2016 Running /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:20 : set -eu
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:21 : set -o pipefail
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:23 : '[' -f /tmp/dib_build.gxZaOtq3/mnt/.extra_settings ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:27 : '[' -n ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:28 : '[' -n trusty ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:29 : '[' -n http://archive.ubuntu.com/ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:31 : '[' ubuntu = ubuntu ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:32 : KERNEL=generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:43 : KERNEL_PACKAGE=linux-image-generic
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:45 : DIB_DEBIAN_COMPONENTS=main,restricted,universe
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:46 : DIB_DEBOOTSTRAP_EXTRA_ARGS=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:47 : DEBOOTSTRAP_TARBALL=/root/.cache/image-create/debootstrap-ubuntu-trusty-amd64-generic.tar.gz
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:48 : http_proxy=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:50 : '[' -n '' -o -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:55 : KEYRING_OPT=
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:56 : '[' -n '' ']'
+ /tmp/dib_build.gxZaOtq3/hooks/root.d/08-debootstrap:main:62 : sudo sh -c 'http_proxy= debootstrap --verbose --variant=minbase --include=python,sudo,linux-image-generic --components=main,restricted,universe --arch=amd64 trusty /tmp/dib_build.gxZaOtq3/mnt http://archive.ubuntu.com/ubuntu '
sh: 1: debootstrap: not found
and if disk-image-create -a amd64 -p grub2-common,grub-pc,grub-gfxpayload-lists,emacs24-nox,parted baremetal ubuntu
Setting up emacs24-common-non-dfsg (24.3+1-1) ...
Setting up emacs24-common (24.3+1-2ubuntu1) ...
Setting up emacs24-bin-common (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/ctags.emacs24 to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs24 to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs24 to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs24 to provide /usr/bin/etags (etags) in auto mode
update-alternatives: using /usr/bin/grep-changelog.emacs24 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode
Setting up emacs24-nox (24.3+1-2ubuntu1) ...
update-alternatives: using /usr/bin/emacs24-nox to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up grub-common (2.02~beta2-9ubuntu1.8) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.8) ...
Setting up grub-pc-bin (2.02~beta2-9ubuntu1.8) ...
Setting up grub-gfxpayload-lists (0.6) ...
Setting up grub-pc (2.02~beta2-9ubuntu1.8) ...
Creating config file /etc/default/grub with new version
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unmount /tmp/dib_build.OC3nAOps/mnt/var/cache/apt/archives
Unmount /tmp/dib_build.OC3nAOps/mnt/tmp/ccache
Unmount /tmp/dib_build.OC3nAOps/mnt/sys
Unmount /tmp/dib_build.OC3nAOps/mnt/proc
Unmount /tmp/dib_build.OC3nAOps/mnt/dev/pts
Unmount /tmp/dib_build.OC3nAOps/mnt/dev
Anyway I dont know what the problem is (would be nice if someone could help) but I think that if we have something in the manual it should be working out of the box in fuel.
2)I also think that
the FUEL-DISK JSon is wrong
is should be vda everywhere like this I think
‘[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk",
"id": "vda", "size": 11000, "volumes": [{"mount": "/", "type":
"partition", "file_system": "ext4", "size": 10000}]}]’
EDIT: THE JSON IS CORRECT.
It would be nice to explain though what each field stands for in the manual
Steps to reproduce
Just deploy an ironic node and try to create an image with the command for the FUEL manual.
Expected Result
Partitioned image creation
Result.
Some error |
|