Python cudet can not find update-master-node.sh

Bug #1633371 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandr Kostrikov

Bug Description

During swarm run with update repositories [0] there were an errors at every thread [1]:

DevopsCalledProcessError: Command 'update-prepare update master' returned exit code 127 while expected [0]
 STDERR:
bash: /usr/share/fuel-utils/update-master-node.sh: No such file or directory

The command is called from python-cudet package.
Which package should provide `update-master-node.sh`?
[root@nailgun ~]# yum --disablerepo=* whatprovides update-prepare
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
python-cudet-0.1.6-2.el7~mos1.noarch : A data collection tool for Mirantis OpenStack
Repo : @mos9.0-updates
Matched from:
Filename : /usr/bin/update-prepare

[0] https://product-ci.infra.mirantis.net/job/9.x.swarm.timer/87/downstreambuildview/
[1] https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.test_ibp/93/console

Additional info:
[root@nailgun ~]# yum info fuel-utils
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * mos9.0-security: mirror.seed-cz1.fuel-infra.org
 * mos9.0-updates: mirror.seed-cz1.fuel-infra.org
1243 packages excluded due to repository priority protections
Installed Packages
Name : fuel-utils
Arch : noarch
Version : 9.0.0
Release : 1.mos8460
Size : 7.7 k
Repo : installed
From repo : mos
Summary : Fuel project utilities
URL : http://github.com/openstack/fuel-library
License : GPLv2
Description : This package contains a set of helpers to maintain Fuel services

As it related to updates of fuel, I set it to octane team.
Please, reassign to python-cudet creators if You know them

Changed in fuel:
assignee: Fuel Octane (fuel-octane-team) → Fuel Sustaining (fuel-sustaining-team)
Changed in fuel:
milestone: 9.1 → 9.2
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Denis Meltsaykin (dmeltsaykin)
tags: added: area-python
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Download full text (4.7 KiB)

[root@nailgun ~]# cat /etc/yum.repos.d/mos-updates.repo
[mos$fuelver-updates]
name=mos$fuelver-updates
#baseurl=http://mirror.fuel-infra.org/mos-repos/centos/mos$fuelver-centos$releasever/updates/x86_64/
mirrorlist=http://mirror.fuel-infra.org/mos-repos/centos/mos$fuelver-centos$releasever/mos-mirrors-updates.txt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/fuel-gpg/RPM-GPG-KEY-mos
skip_if_unavailable=1
priority=0

When I have added priority=0
and run 'yum update', update proposed new packages

Dependencies Resolved

====================================================================================================================================================================================================================
 Package Arch Version Repository Size
====================================================================================================================================================================================================================
Updating:
 fuel noarch 9.0.0-1.mos6357 mos9.0-updates 3.0 k
 fuel-agent noarch 9.0.0-1.mos291 mos9.0-updates 300 k
 fuel-bootstrap-cli noarch 9.0.0-1.mos291 mos9.0-updates 43 k
 fuel-library9.0 noarch 9.0.0-1.mos8606 mos9.0-updates 2.2 M
 fuel-mirror noarch 9.0.0-1.mos154 mos9.0-updates 40 k
 fuel-misc noarch 9.0.0-1.mos8607 mos9.0-updates 6.1 k
 fuel-openstack-metadata noarch 9.0.0-1.mos8861 mos9.0-updates 17 k
 fuel-provisioning-scripts noarch 9.0.0-1.mos8861 mos9.0-updates 4.6 k
 fuel-release noarch 9.0.0-1.mos6357 mos9.0-updates 6.0 k
 fuel-setup noarch 9.0.0-1.mos6357 ...

Read more...

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

[root@nailgun ~]# yum --disablerepo=* whatprovides /etc/yum.repos.d/mos-updates.repo
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
fuel-release-9.0.0-1.mos6349.noarch : Fuel release package
Repo : @mos
Matched from:
Filename : /etc/yum.repos.d/mos-updates.repo

Should we update priority of mos-updates in fuel-release-9.0.0-1.mos6349.noarch package?

Changed in fuel:
status: New → Confirmed
summary: - Puthon cudet can not find update-master-node.sh
+ Python cudet can not find update-master-node.sh
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/386537

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

During investigation we found that it may be related to CI.
Waiting for ci team to verify.

Changed in fuel:
importance: Critical → High
assignee: Denis Meltsaykin (dmeltsaykin) → Alexandr Kostrikov (akostrikov-mirantis)
tags: added: area-ci
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

We need to set UPDATE_FUEL_MIRROR to empty string to prevent from spoiling of repos

Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :
Changed in fuel:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (stable/mitaka)

Change abandoned by Vladimir Kozhukalov (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/386537
Reason: bug is fixed other way

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.