make iso fails with hundreds of Unmet dependencies

Bug #1383216 reported by Daniele Pizzolli
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Unassigned

Bug Description

make iso fails in the create chroot for ubuntu with no clear error
message and a lot of uninteresting ones.

    annotate-output make iso

    [skip uninteresting part]

    09:22:40 O: sudo chroot /vagrant/fuel-main-dev/local_mirror/ubuntu/chroot /bin/bash -c "chmod +x /repo/mkrepo.sh && /repo/mkrepo.sh"
    09:22:41 O: Ign http://mirror.fuel-infra.org precise Release.gpg
    09:22:41 O: Hit http://mirror.fuel-infra.org precise Release
    09:22:41 O: Ign http://mirror.fuel-infra.org precise/main amd64 Packages/DiffIndex
    09:22:41 O: Ign http://mirror.fuel-infra.org precise/main i386 Packages/DiffIndex
    09:22:41 O: Ign http://mirror.fuel-infra.org precise/main TranslationIndex
    09:22:41 O: Hit http://mirror.fuel-infra.org precise/main amd64 Packages
    09:22:41 O: Hit http://mirror.fuel-infra.org precise/main i386 Packages
    09:22:42 O: Ign http://mirror.fuel-infra.org precise/main Translation-en
    09:22:42 O: Reading package lists...
    09:22:42 E: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    [skipped 888 lines with the same error message]

    09:24:41 E: wget: missing URL
    09:24:41 O:
    09:24:41 E: Usage: wget [OPTION]... [URL]...
    09:24:41 E: Try `wget --help' for more options.
    09:24:41 E: make: *** [/vagrant/fuel-main-dev/build/mirror/ubuntu/createchroot.done] Error 1
    09:24:41 I: Finished with exitcode 2

Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
milestone: none → 6.0
importance: Undecided → High
Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :

Without any parameters for make iso
the file
local_mirror/ubuntu/chroot/etc/apt/sources.list.d/ubuntu.list

contains only:
deb http://mirror.fuel-infra.org/fwm/6.0/ubuntu precise main

and there are no additional sources.

The lack of sources will cause the unmet dependencies.

I guess that your build script is tailored to your infrastructure.

Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :

A quick workaround is to add the sources from the host system (and
increasing the apt cache limit):

--- a/mirror/ubuntu/createchroot.mk
+++ b/mirror/ubuntu/createchroot.mk
@@ -27,0 +28,2 @@ $(BUILD_DIR)/mirror/ubuntu/createchroot.done:
+ echo 'APT::Cache-Limit "100000000";' > $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/etc/apt/apt.conf.d/02cache
+ cp /etc/apt/sources.list $(LOCAL_MIRROR_UBUNTU_OS_BASEURL)/chroot/etc/apt/sources.list.d/all.list

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

Daniele, thanks for the bug. It should not happen, we will recheck our scripts.

Changed in fuel:
status: New → Confirmed
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: High → Medium
Revision history for this message
Dmitry Burmistrov (dburmistrov) wrote : Re: [Bug 1383216] Re: make iso fails with hundreds of Unmet dependencies

Daniele, thanks for the bug.
Can you provide command which cause initially mentioned error?

On Mon, Oct 27, 2014 at 5:16 PM, Roman Vyalov <email address hidden> wrote:
> ** Changed in: fuel
> Importance: High => Medium
>
> --
> You received this bug notification because you are subscribed to Fuel
> for OpenStack.
> Matching subscriptions: Fuel-Core-LP
> https://bugs.launchpad.net/bugs/1383216
>
> Title:
> make iso fails with hundreds of Unmet dependencies
>
> Status in Fuel: OpenStack installer that works:
> Confirmed
>
> Bug description:
> make iso fails in the create chroot for ubuntu with no clear error
> message and a lot of uninteresting ones.
>
> annotate-output make iso
>
> [skip uninteresting part]
>
> 09:22:40 O: sudo chroot /vagrant/fuel-main-dev/local_mirror/ubuntu/chroot /bin/bash -c "chmod +x /repo/mkrepo.sh && /repo/mkrepo.sh"
> 09:22:41 O: Ign http://mirror.fuel-infra.org precise Release.gpg
> 09:22:41 O: Hit http://mirror.fuel-infra.org precise Release
> 09:22:41 O: Ign http://mirror.fuel-infra.org precise/main amd64 Packages/DiffIndex
> 09:22:41 O: Ign http://mirror.fuel-infra.org precise/main i386 Packages/DiffIndex
> 09:22:41 O: Ign http://mirror.fuel-infra.org precise/main TranslationIndex
> 09:22:41 O: Hit http://mirror.fuel-infra.org precise/main amd64 Packages
> 09:22:41 O: Hit http://mirror.fuel-infra.org precise/main i386 Packages
> 09:22:42 O: Ign http://mirror.fuel-infra.org precise/main Translation-en
> 09:22:42 O: Reading package lists...
> 09:22:42 E: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
>
> [skipped 888 lines with the same error message]
>
> 09:24:41 E: wget: missing URL
> 09:24:41 O:
> 09:24:41 E: Usage: wget [OPTION]... [URL]...
> 09:24:41 E: Try `wget --help' for more options.
> 09:24:41 E: make: *** [/vagrant/fuel-main-dev/build/mirror/ubuntu/createchroot.done] Error 1
> 09:24:41 I: Finished with exitcode 2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fuel/+bug/1383216/+subscriptions

Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :

> Can you provide command which cause initially mentioned error?

Dmitry, yes, it was:

annotate-output make iso

but it would be the same without annotate-output that adds the timing
and a O/E to add a visual cue to differentiate standard output and
standard error.

No environment variable was set/changed.

Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :

Please make this bug as invalid.

As confirmed by Sergey Kulanov[1] the problem arises from the
interaction of the shared file system of vagrant with chroot and a
documentation update is on the way[2].

[1] http://irclog.perlgeek.de/fuel-dev/2014-11-03#i_9601991

[2] https://review.openstack.org/#/c/132278

Roman Vyalov (r0mikiam)
Changed in fuel:
status: Confirmed → Invalid
Curtis Hovey (sinzui)
Changed in fuel:
assignee: Registry Administrators (registry) → nobody
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.