[fuel-createmirror] Fails because of unmet dependencies for nova-scheduler

Bug #1502239 reported by Maksym Strukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
MOS Packaging Team
7.0.x
Fix Released
High
MOS Maintenance

Bug Description

Scenario ( https://mirantis.testrail.com/index.php?/tests/view/1896299 ):

1. Revert snapshot 'empty' with default set of repositories
2. Bootstrap 5 slave nodes
3. Run 'fuel-createmirror' to replace default repositories
with local mirrors

Actual:
AssertionError: Executing 'fuel-createmirror' on admin node failed with the ['exit_code']='1'. Please inspect 'sys_test.log' for more details.

sys_test.log:

'''
...
The following packages have unmet dependencies:
 nova-scheduler : Depends: nova-common (= 1:2015.1.1-1~u14.04+mos19660) but it is not going to be installed
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems
E: Unable to correct problems, you have held broken packages.
'''

Env: Fuel 8.0-105 (SWARM)

Revision history for this message
Maksym Strukov (unbelll) wrote :
Changed in fuel:
milestone: none → 8.0
assignee: nobody → Fuel Python Team (fuel-python)
status: New → Confirmed
tags: added: swarm-blocker
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Could anyone with bash skills help here?

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Revision history for this message
Alex Schultz (alex-schultz) wrote :

That's an issue with package dependency resolution with the repos and not related to this script.

  nova-scheduler : Depends: nova-common (= 1:2015.1.1-1~u14.04+mos19660)

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel build team (fuel-build)
summary: - [fuel-createmirror] Ignoring Provides line with DepCompareOp for package
- python-cffi-backend-api-max
+ [fuel-createmirror] Fails because of unmet dependencies for nova-
+ scheduler
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
Revision history for this message
Daniil Trishkin (dtrishkin) wrote :

I would recommend to recheck if the problem is still there, because of nova has been updated 6 of october.

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

@Maksym or MOS Packaging, could you guys please confirm this is still reproducible?

Changed in fuel:
status: Confirmed → Incomplete
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Artem Silenkov (asilenkov)
Changed in fuel:
status: Incomplete → Triaged
Revision history for this message
Maksym Strukov (unbelll) wrote :

Reproduced on 8.0-146

Revision history for this message
Artem Silenkov (asilenkov) wrote :

Where did you find such version? It's too old.
Make sure You have latest packages installed.

Package: nova-scheduler
Source: nova
Version: 2:12.0.0.0b2-1~u14.04+mos20711
Architecture: all
Maintainer: PKG OpenStack <email address hidden>
Installed-Size: 86
Depends: nova-common (= 2:12.0.0.0b2-1~u14.04+mos20711), init-system-helpers (>= 1.18~), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), python

http://perestroika-repo-tst.infra.mirantis.net/mos-repos/ubuntu/8.0/pool/main/n/nova/

Changed in fuel:
status: Triaged → Invalid
Changed in fuel:
assignee: Artem Silenkov (asilenkov) → Ivan Udovichenko (iudovichenko)
Revision history for this message
Artem Silenkov (asilenkov) wrote :

8.0_kilo ISO contains incorrect nova packages. We should rebuild ISO with correct packages which are presented in our repo linked above.

Please provide links to ISO you use next time so we should resolve faster.

Changed in fuel:
status: Invalid → Triaged
Revision history for this message
Artem Silenkov (asilenkov) wrote :

BTW we have this ISO https://product-ci.infra.mirantis.net/job/8.0.all/30/

Packages inside looks fine. Verify against it.

Changed in fuel:
assignee: Ivan Udovichenko (iudovichenko) → Maksym Strukov (unbelll)
Revision history for this message
Maksym Strukov (unbelll) wrote :

Env: 8.0-34 (Liberty) https://product-ci.infra.mirantis.net/view/8.0/job/8.0.all/34/

ubuntu-update.log:
...
Fri Oct 16 13:55:56 UTC 2015 W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
Fri Oct 16 13:55:56 UTC 2015 W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
Fri Oct 16 13:55:56 UTC 2015 W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
Fri Oct 16 13:55:56 UTC 2015 W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
Fri Oct 16 13:55:56 UTC 2015 Processing Fuel dependencies...
Fri Oct 16 14:05:04 UTC 2015 partial_ubuntu.shsome packages are not installable
...
Fri Oct 16 14:05:04 UTC 2015 W: You may want to run apt-get update to correct these problems
Fri Oct 16 14:05:04 UTC 2015 E: Unable to correct problems, you have held broken packages.
Fri Oct 16 14:05:04 UTC 2015 package ceilometer-agent-central can not be installed
Fri Oct 16 14:05:04 UTC 2015 Reading package lists...
Fri Oct 16 14:05:04 UTC 2015 Building dependency tree...
Fri Oct 16 14:05:04 UTC 2015 Some packages could not be installed. This may mean that you have
Fri Oct 16 14:05:04 UTC 2015 requested an impossible situation or if you are using the unstable
Fri Oct 16 14:05:04 UTC 2015 distribution that some required packages have not yet been created
Fri Oct 16 14:05:04 UTC 2015 or been moved out of Incoming.
Fri Oct 16 14:05:04 UTC 2015 The following information may help to resolve the situation:
Fri Oct 16 14:05:04 UTC 2015
Fri Oct 16 14:05:04 UTC 2015 The following packages have unmet dependencies:
Fri Oct 16 14:05:04 UTC 2015 ceilometer-agent-central : Depends: ceilometer-common (= 2015.1.1-1~u14.04+mos2134) but it is not going to be installed
...
Fri Oct 16 14:05:04 UTC 2015 E: Unable to correct problems, you have held broken packages.
Fri Oct 16 14:05:04 UTC 2015 package ceilometer-alarm-evaluator can not be installed

Revision history for this message
Maksym Strukov (unbelll) wrote :

@asilenkov suggests that the fuel-createmirror script is blame.

Changed in fuel:
assignee: Maksym Strukov (unbelll) → Fuel Python Team (fuel-python)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/236097

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/236097
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=1bb933788b790d8afc14515331d38efdbfd3fa96
Submitter: Jenkins
Branch: master

commit 1bb933788b790d8afc14515331d38efdbfd3fa96
Author: Maksym Strukov <email address hidden>
Date: Sat Oct 17 00:00:19 2015 +0300

    Improve logging in deploy_multiple_services_local_mirror systest

    Change-Id: I8439983268a7206f12b20e9bb35e13c182f8b090
    Related-Bug: #1502239

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

If Maksym Strukov fixed it, let's mark it fix committed with him as owner. QA can reopen if there is still an issue

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Maksym Strukov (unbelll)
status: Triaged → Fix Committed
Revision history for this message
Maksym Strukov (unbelll) wrote :

I've just commit small change to system-test (which is currently failes due to this bug) to improve logging.

Bug not fixed, still same error: https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.multirole/24/testReport/(root)/deploy_multiple_services_local_mirror/deploy_multiple_services_local_mirror/

Changed in fuel:
status: Fix Committed → Triaged
Maksym Strukov (unbelll)
Changed in fuel:
assignee: Maksym Strukov (unbelll) → Fuel Library Team (fuel-library)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

From #15: 'The following packages have unmet dependencies:\n', ' neutron-lbaas-agent : Depends: python-neutron-lbaas (= 1:2015.1.1-1~u14.04+mos739) but it is not going to be installed\n'

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Packaging Team (mos-packaging)
Revision history for this message
Artem Silenkov (asilenkov) wrote :
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Sergey Kolekonov (skolekonov)
Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
Sergey Kolekonov (skolekonov) wrote :

All Neutron *aaS have been merged, see this bug for details - https://bugs.launchpad.net/mos/+bug/1508852.

Changed in fuel:
status: Triaged → Fix Committed
tags: added: system-tests
tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

Verification failed with Exception: Unexpected exit_code returned: actual 2, expected 0. Command: 'fuel-createmirror'
I tried suggested initial scenario using fuel-8.0-427-2016-01-12_01-50-42.iso, devops 2.9.15

Revision history for this message
ElenaRossokhina (esolomina) wrote :
Changed in fuel:
status: Fix Committed → Confirmed
tags: removed: on-verification
Changed in fuel:
assignee: Sergey Kolekonov (skolekonov) → Fuel build team (fuel-build)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → Fuel Python Team (fuel-python)
status: Confirmed → New
Maciej Relewicz (rlu)
Changed in fuel:
status: New → Confirmed
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Maciej Relewicz (rlu)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Packaging Team (mos-packaging)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

I took a look at this and tried to reproduce. fuel-createmirror indeed fails with code 2, as Elena stated in her comments:

http://paste.openstack.org/show/484720/

But this issue has nothing to do with the original bug, which was about broken dependencies in packages.

I suggest we close this bug and create a new one so that we don't confuse people even more.

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

Original issue is resolved, secondary bug is released in 8.0 and on verification on master

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.