The package requirements are broken on bootstrap image creation stage

Bug #1612731 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
MOS Linux

Bug Description

During bvt[0] there were an error:

fuel_agent.errors.ProcessExecutionError: Unexpected error while running command.
Command: chroot /tmp/tmpPNMoDs.fuel-agent-image apt-get -y install squashfs-tools nailgun-agent nailgun-mcagents live-boot openssh-server i40e-dkms vim fuel-agent mcollective xz-utils msmtp-mta linux-image-generic-lts-xenial wget multipath-tools-boot multipath-tools hwloc openssh-client mc ntpdate ntp network-checker live-boot-initramfs-tools linux-headers-generic linux-firmware ubuntu-minimal
Exit code: 100
Stdout: 'Reading package lists...\nBuilding dependency tree...\nReading state information...\nubuntu-minimal is already the newest version (1.361).\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n network-checker : Depends: python-requests (>= 2.10.0) but 2.9.1-3 is to be installed\n'

[0] https://product-ci.infra.mirantis.net/view/10.0/job/10.0.main.ubuntu.bvt_2/534/console

Tags: area-linux
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :
Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-agent (master)

Reviewed: https://review.openstack.org/352922
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=426d2a39f421773fbe682ebab5297c20a587e3cc
Submitter: Jenkins
Branch: master

commit 426d2a39f421773fbe682ebab5297c20a587e3cc
Author: Dmitry Teselkin <email address hidden>
Date: Tue Aug 9 16:58:43 2016 +0300

    Fix bootstrap apt-get update issues

    Sometimes 'apt-get update' fail with strange error:

      Get:22 http://mirror.fuel-infra.org/mos-repos/ubuntu/10.0 mos10.0-updates Release.gpg [473 B]
      Err:22 http://mirror.fuel-infra.org/mos-repos/ubuntu/10.0 mos10.0-updates Release.gpg
        Writing more data than expected (473 > 20) [IP: 208.78.244.194 80]

    This is only reproduced during running bootstrap, and never reproduced manually.

    APT::http::Pipeline-Depth=0 fixes the problem.

    By default pipeline depth is 10 in apt 1.2.10 (Ubuntu Xenial) [1], [2].

    [1] https://github.com/Debian/apt/blob/1.2.10/doc/apt.conf.5.xml#L402-L407
    [2] https://github.com/Debian/apt/blob/1.2.10/methods/server.cc#L754-L756

    Related-bug: #1612731
    Related-bug: #1470468

    Change-Id: Iac8c22d87f18718ae9a318dda56266f8ed57f866

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Yury Tregubov (ytregubov) wrote :

Verified on mos10.0 iso #1324.
Bootstrap and rest of the deploy are passed OK on that baseline.
And also changes of the commit https://review.openstack.org/#/c/352922/ are present on nailgun node in installed python packages (/usr/lib/python2.7/site-packages/fuel_agent/utils/build.py).

tags: added: on-verification
tags: removed: on-verification
Changed in fuel:
status: Fix Committed → 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.