ubuntu 14.04.02 build fails at boot (gets stuck at grub)

Bug #1430224 reported by Alessandro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
High
Unassigned

Bug Description

ubuntu 14.04.02 build fails at boot (gets stuck at grub).

In the log of the build I see something strange:

/tmp/in_target.d/finalise.d/51-bootloader: line 170: [: =: unary operator expected
+ '[' = wheezy ']'
/tmp/in_target.d/finalise.d/51-bootloader: line 170: [: =: unary operator expected

and in script (line 170)

elements/vm/finalise.d/51-bootloader

    if [ $DIB_RELEASE = 'precise' ] || [ $DIB_RELEASE = 'wheezy' ]; then

where I guess it should be jessie.

I also have

dib-manifest-dpkg-ubuntu:{"package": "grub-common","arch": "amd64","version": "2.02~beta2-9ubuntu1","status": "ii " },
dib-manifest-dpkg-ubuntu:{"package": "grub-gfxpayload-lists","arch": "amd64","version": "0.6","status": "ii " },
dib-manifest-dpkg-ubuntu:{"package": "grub-pc","arch": "amd64","version": "2.02~beta2-9ubuntu1","status": "ii " },
dib-manifest-dpkg-ubuntu:{"package": "grub-pc-bin","arch": "amd64","version": "2.02~beta2-9ubuntu1","status": "ii " },
dib-manifest-dpkg-ubuntu:{"package": "grub2-common","arch": "amd64","version": "2.02~beta2-9ubuntu1","status": "ii " },

Any ideas? I have also tried from a clean checkout, same problem.

Any help will be appreciated!

Regards,

Alessandro

Changed in diskimage-builder:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Pino Toscano (ptoscano) wrote :

Looks like the shell error has been fixed recently with https://review.openstack.org/#/c/154083/, which is commit 16f1de61155baf72d4116441a72f2428810a52ae, not yet part of any tagged release.

Revision history for this message
Alessandro (alessandro-usai-it) wrote :

Any development with this problem?

At the moment the ubuntu images that are built are not usable, as the boot process immediately stops at the grub minimal shell...

This is really a critical problem for me, but unless it is just me having done something wrong somehow, other people should be affected too.

Any suggestion or feedback is appreciated.

Regards,

Alessandro

Revision history for this message
Pino Toscano (ptoscano) wrote :

> Any development with this problem?

Well, see my previous reply to this bug. That commit now is in diskimage-builder >= 0.1.41, so please try that version.

Revision history for this message
Alessandro (alessandro-usai-it) wrote :

Hi Pino,

Thanks for your comment, it works just fine!

Thanks again!

Cheers,

Alessandro

Revision history for this message
Pino Toscano (ptoscano) wrote :

Confirmed fixed in diskimage-builder >= 0.1.41, hence closing.

Changed in diskimage-builder:
status: Triaged → 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.