[devops] build iso on Ubuntu 14.04 (multistrap issue)

Bug #1312654 reported by Aleksandra Fedorova
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Sergey Kulanov

Bug Description

We need to be able to build ISO on Ubuntu 14.04.

Report multistrap issue to upstream or fix it in our code and update developer docs with proper workaround.

Related IRC log:

(12:26:46) e0ne: does anybody know about such error during iso build?
(12:26:49) e0ne: Global symbol "$forceyes" requires explicit package name at /usr/sbin/multistrap line 989.
(12:26:50) e0ne: Execution of /usr/sbin/multistrap aborted due to compilation errors.
(12:27:56) holser_: It’s known Ubuntu 14.04 issue
(12:28:10) holser_: get multistrap package from 12.04
(12:31:59) e0ne: holser_, what version of multistrap should i use?
(12:32:22) holser_: fuel)sgolovatiuk@mc0n2-msk:~/workspace/fuel-main$ dpkg -l | grep multistrap
(12:32:23) holser_: ii multistrap 2.1.6ubuntu3 all
(12:33:35) holser_: e0ne: there is another resolution
(12:34:04) holser_: e0ne: Open ./mirror/ubuntu/createchroot.mk +23 and add || exit 0 to the end
(12:34:29) holser_: e0ne: sudo multistrap -a amd64 -f $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/multistrap.conf -d $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot || exit 0
(12:36:06) e0ne_: this workaround doesn't works for me. i've got other errors
(12:36:18) holser_: what errors?
(13:05:58) mattymo: I wish we used a normal tool like mock for chroot
(13:19:52) e0ne_: holser_: Global symbol "$forceyes" requires explicit package name at /usr/sbin/multistrap line 989.
(13:21:03) holser_: install multistrap from 12.04
(13:21:09) holser_: it will fix all your problems
(13:22:06) holser_: wget http://mirrors.kernel.org/ubuntu/pool/universe/m/multistrap/multistrap_2.1.6ubuntu3_all.deb
(13:22:19) holser_: dpkg -i multistrap_2.1.6ubuntu3_all.deb

Changed in fuel:
assignee: Aleksandra Fedorova (afedorova) → Alexander Charykov (acharykov)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
importance: Medium → High
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :
Revision history for this message
Igor Shishkin (teran) wrote :

Is it done?

Revision history for this message
Alexander Charykov (acharykov) wrote :

Workaround is done, but multistrap from 14.04 still doesn’t' work.

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :
tags: added: multistrap
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :
Igor Shishkin (teran)
Changed in fuel:
status: In Progress → Triaged
importance: High → Low
assignee: Alexander Charykov (acharykov) → Igor Shishkin (teran)
Dmitry Ilyin (idv1985)
summary: - build iso on Ubuntu 14.04 (multistrap issue)
+ [devops] build iso on Ubuntu 14.04 (multistrap issue)
Igor Shishkin (teran)
Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
assignee: Igor Shishkin (teran) → Sergey Kulanov (skulanov)
status: Triaged → In Progress
Revision history for this message
Igor Shishkin (teran) wrote :

Currently it's fixed within our infra. We have pinned working version of that tool

Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/117212
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=d5f87ec202bbd490273ea756c4ec2173d8580ef2
Submitter: Jenkins
Branch: master

commit d5f87ec202bbd490273ea756c4ec2173d8580ef2
Author: Sergey Kulanov <email address hidden>
Date: Wed Aug 27 14:30:27 2014 +0300

    Prepare build environment

    1. In case Ubuntu 14.04:
    - add devops repository and install multistrap version 2.1.6
    - Pin multistrap version 2.1.6
    2. In case Ubuntu 12.04:
    - add chris-lea (for nodejs) repository with higher priority
    - install nodejs from chris-lea repository
    3. For all distributions
    - fixed npm global installation permission issue
    - ensure bc package is present for make img target

    Closes-Bug: #1337343
    Closes-Bug: #1312654
    Change-Id: I62ba9257fb3d575d996bf4c57b5d983c0050fd3b

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/135902

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/5.1)

Reviewed: https://review.openstack.org/135902
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=4d04361e97c12fbd8fc829c2e7abaa3bd3bfecae
Submitter: Jenkins
Branch: stable/5.1

commit 4d04361e97c12fbd8fc829c2e7abaa3bd3bfecae
Author: Sergey Kulanov <email address hidden>
Date: Wed Aug 27 14:30:27 2014 +0300

    Prepare build environment

    1. In case Ubuntu 14.04:
    - add devops repository and install multistrap version 2.1.6
    - Pin multistrap version 2.1.6
    2. In case Ubuntu 12.04:
    - add chris-lea (for nodejs) repository with higher priority
    - install nodejs from chris-lea repository
    3. For all distributions
    - fixed npm global installation permission issue
    - ensure bc package is present for make img target

    Closes-Bug: #1337343
    Closes-Bug: #1312654
    Change-Id: I62ba9257fb3d575d996bf4c57b5d983c0050fd3b
    (cherry picked from commit d5f87ec202bbd490273ea756c4ec2173d8580ef2)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.