dpkg-scanpackages is missing in dpkg-devel package for CentOS

Bug #1515563 reported by Anastasia Palkina on 2015-11-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Artem Silenkov

Bug Description

1. Install ISO #149
2. Try to build fuel-plugin-detach-database plugin
3. Result:

[root@fuel /]# fpb --debug --build fuel-plugin-detach-database
2015-11-12 10:35:32 DEBUG 891 (build) Start plugin building "fuel-plugin-detach-database"
2015-11-12 10:35:32 DEBUG 891 (utils) Removing "fuel-plugin-detach-database/.build"
2015-11-12 10:35:32 DEBUG 891 (utils) Creating directory fuel-plugin-detach-database/.build
2015-11-12 10:35:32 DEBUG 891 (utils) Remove files by mask fuel-plugin-detach-database/detach-database-*.noarch.rpm
2015-11-12 10:35:32 DEBUG 891 (utils) Execute command "fuel-plugin-detach-database/pre_build_hook"
2015-11-12 10:35:32 DEBUG 891 (utils) Stdout and stderr of command "fuel-plugin-detach-database/pre_build_hook":
2015-11-12 10:35:32 DEBUG 891 (utils) Command "fuel-plugin-detach-database/pre_build_hook" successfully executed
2015-11-12 10:35:32 ERROR 891 (cli) Cannot find commands "dpkg-scanpackages", install required commands and try again
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_plugin_builder/cli.py", line 120, in main
    perform_action(args)
  File "/usr/lib/python2.6/site-packages/fuel_plugin_builder/cli.py", line 100, in perform_action
    actions.make_builder(args.build).run()
  File "/usr/lib/python2.6/site-packages/fuel_plugin_builder/actions/build.py", line 64, in run
    self.check()
  File "/usr/lib/python2.6/site-packages/fuel_plugin_builder/actions/build.py", line 114, in check
    self._check_requirements()
  File "/usr/lib/python2.6/site-packages/fuel_plugin_builder/actions/build.py", line 124, in _check_requirements
    ', '.join(not_found)))
FuelCannotFindCommandError: Cannot find commands "dpkg-scanpackages", install required commands and try again
==================================================

Was not able to find required packages.

If you use Ubuntu, run:

    # sudo apt-get install createrepo rpm dpkg-dev

If you use CentOS, run:

    # yum install createrepo dpkg-devel dpkg-dev rpm rpm-build

[root@fuel /]#

Additional information: http://paste.openstack.org/show/478647/

Utility was deleted here:
https://review.fuel-infra.org/gitweb?p=packages/centos6/dpkg.git;a=commitdiff;h=591e77dc9215cf8622d8a27e204a97851e60b4e2;hp=0759728751ce4aede4c6e2e1c7da2490e8b6bc6c

Also this utility is needed for testing of packages https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/helpers/regenerate_ubuntu_repo#L49

"release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "0494bcb342e3ab7b1e0612998552f1414af916f3", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "b5eb33ca7147dfda7a943a7f8f58c28e86d63992", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "f169d495691ea3d40d3d6d0278265698d3f6ed14", "openstack_version": "2015.1.0-8.0", "build_id": "149", "fuelmenu_sha": "c1493ce35773f13055359cfabc589487044ee71e", "build_number": "149", "fuel-library_sha": "0040ee690445ed89cfab2a02ba865297c2a312c8", "fuel-nailgun-agent_sha": "00b4b11553c250f22c0079fb74c8b782dcb7b740", "fuel-nailgun_sha": "35dda0f36c4c5e52bc68492ab7ad154d14747eef", "fuel-agent_sha": "07560a9fc3ce5301ace04d2d3e5d68db6ee4f8d5", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"}}}, "fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "0494bcb342e3ab7b1e0612998552f1414af916f3", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "b5eb33ca7147dfda7a943a7f8f58c28e86d63992", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "f169d495691ea3d40d3d6d0278265698d3f6ed14", "openstack_version": "2015.1.0-8.0", "build_id": "149", "fuelmenu_sha": "c1493ce35773f13055359cfabc589487044ee71e", "build_number": "149", "auth_required": true, "fuel-library_sha": "0040ee690445ed89cfab2a02ba865297c2a312c8", "fuel-nailgun-agent_sha": "00b4b11553c250f22c0079fb74c8b782dcb7b740", "fuel-nailgun_sha": "35dda0f36c4c5e52bc68492ab7ad154d14747eef", "fuel-agent_sha": "07560a9fc3ce5301ace04d2d3e5d68db6ee4f8d5", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"

tags: added: area-build
Roman Vyalov (r0mikiam) on 2015-11-12
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Artem Silenkov (asilenkov)
status: New → Incomplete
Artem Silenkov (asilenkov) wrote :

asilenkov~# rpm -qpl dpkg-dev-1.16.16-5.el7-mos8.0.1.noarch.rpm | grep scan
warning: dpkg-dev-1.16.16-5.el7-mos8.0.1.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 3e301371: NOKEY
/usr/bin/dpkg-scanpackages

dpkg-scanpackages is presented in dpkg-dev package it should be added to requirements.rpm

Artem Silenkov (asilenkov) wrote :

Please make sure you have
* createrepo
* dpkg-devel
* dpkg-dev
* rpm
* rpm-build

installed before executing any build

Changed in fuel:
status: Incomplete → Fix Committed
Anastasia Palkina (apalkina) wrote :

Reproduced on fresh ISO #154

"release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "a034dcb06520df58a7338816900a431a6b61d83f", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "45b79c9121a08c2b467a3246dc1fa714e4c2043d", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "9690a2de829d3b063ed1e64b0b10dde39f711dc0", "openstack_version": "2015.1.0-8.0", "build_id": "154", "fuelmenu_sha": "8a32c53c1fa13b036000f589f96e876277dbd071", "build_number": "154", "fuel-library_sha": "1e690ed95452297294c710a2f5886ef671d6b6da", "fuel-nailgun-agent_sha": "3e9d17211d65c80bf97c8d83979979f6c7feb687", "fuel-nailgun_sha": "37a535e11a7939e206ffababf3ecf12504cd91c4", "fuel-agent_sha": "07560a9fc3ce5301ace04d2d3e5d68db6ee4f8d5", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"}}}, "fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "a034dcb06520df58a7338816900a431a6b61d83f", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "45b79c9121a08c2b467a3246dc1fa714e4c2043d", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "9690a2de829d3b063ed1e64b0b10dde39f711dc0", "openstack_version": "2015.1.0-8.0", "build_id": "154", "fuelmenu_sha": "8a32c53c1fa13b036000f589f96e876277dbd071", "build_number": "154", "auth_required": true, "fuel-library_sha": "1e690ed95452297294c710a2f5886ef671d6b6da", "fuel-nailgun-agent_sha": "3e9d17211d65c80bf97c8d83979979f6c7feb687", "fuel-nailgun_sha": "37a535e11a7939e206ffababf3ecf12504cd91c4", "fuel-agent_sha": "07560a9fc3ce5301ace04d2d3e5d68db6ee4f8d5", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"

Changed in fuel:
status: Fix Committed → Confirmed
Artem Silenkov (asilenkov) wrote :

Fix is still on review.

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

commit e29d2972e210dfad3a01bfac3e115e74168c8ca0
Author: Artem Silenkov <email address hidden>
Date: Thu Nov 12 15:39:33 2015 +0300

    Include dpkg-dev package to ISO

    Change-Id: I9f5f001be7b1dd96f9167113d7614b8f1ebb2125
    Related-Bug: #1515563

Artem Silenkov (asilenkov) wrote :

Verify please, WFM locally

Anastasia Palkina (apalkina) wrote :

Verified on ISO #156. Plugin is built successfully

Roman Podoliaka (rpodolyaka) wrote :

Does it block plugins build or installation? If only build is affected, I'm not sure this deserves to be a Critical (one can and probably should build plugins outside master node).

Changed in fuel:
status: Confirmed → Fix Committed
Anastasia Palkina (apalkina) wrote :

Verified on ISO #166

"release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "e34a0dd080fe6c133bcc75a00c31b27934ba51bc", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "266f9b374934c64629a84b5146632cc0de70ac91", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "9690a2de829d3b063ed1e64b0b10dde39f711dc0", "openstack_version": "2015.1.0-8.0", "build_id": "166", "fuelmenu_sha": "06bbcebed6c8d0b0f9279e2997d2f958c800e98c", "build_number": "166", "fuel-library_sha": "0d210dc3851ac6c74b3914ef4df0139defc8d117", "fuel-nailgun-agent_sha": "3e9d17211d65c80bf97c8d83979979f6c7feb687", "fuel-nailgun_sha": "a5f4c44d08715f3be6b200a69032b30d347ac911", "fuel-agent_sha": "2750600e946e96701099dfef5a7d69017f2e9956", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"}}}, "fuel-upgrade_sha": "1e894e26d4e1423a9b0d66abd6a79505f4175ff6", "fuel-createmirror_sha": "e34a0dd080fe6c133bcc75a00c31b27934ba51bc", "shotgun_sha": "25dd78a3118267e3616df0727ce746e7dead2d67", "api": "1.0", "fuelmain_sha": "266f9b374934c64629a84b5146632cc0de70ac91", "astute_sha": "959b06c5ef8143125efd1727d350c050a922eb12", "fuel-ostf_sha": "9690a2de829d3b063ed1e64b0b10dde39f711dc0", "openstack_version": "2015.1.0-8.0", "build_id": "166", "fuelmenu_sha": "06bbcebed6c8d0b0f9279e2997d2f958c800e98c", "build_number": "166", "auth_required": true, "fuel-library_sha": "0d210dc3851ac6c74b3914ef4df0139defc8d117", "fuel-nailgun-agent_sha": "3e9d17211d65c80bf97c8d83979979f6c7feb687", "fuel-nailgun_sha": "a5f4c44d08715f3be6b200a69032b30d347ac911", "fuel-agent_sha": "2750600e946e96701099dfef5a7d69017f2e9956", "production": "docker", "network-checker_sha": "a57e1d69acb5e765eb22cab0251c589cd76f51da", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "e685d68c1c0d0fa0491a250f07d9c3a8d0f9608c"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers