OSTF failed to start with The 'argparse' distribution was not found and is required by python-saharaclient, python-muranoclient

Bug #1528450 reported by Tatyanka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
MOS Packaging Team
8.0.x
Fix Released
Critical
Ivan Udovichenko
Mitaka
Fix Released
Critical
MOS Packaging Team

Bug Description

2015-12-22 02:57:35 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (debug): Sleeping for 5.0 seconds between tries
2015-12-22 02:57:40 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (debug): Exec try 50/50
2015-12-22 02:57:40 +0000 Exec[ostf-init](provider=posix) (debug): Executing '/usr/bin/ostf-server --after-initialization-environment-hook'
2015-12-22 02:57:40 +0000 Puppet (debug): Executing '/usr/bin/ostf-server --after-initialization-environment-hook'
2015-12-22 02:57:40 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (debug): Sleeping for 5.0 seconds between tries
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): Traceback (most recent call last):
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/bin/ostf-server", line 5, in <module>
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): from pkg_resources import load_entry_point
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): @_call_aside
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): f(*args, **kwargs)
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): working_set = WorkingSet._build_master()
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 651, in _build_master
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): ws.require(__requires__)
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 952, in require
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): needed = self.resolve(parse_requirements(requirements))
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): raise DistributionNotFound(req, requirers)
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (notice): pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by python-saharaclient, python-muranoclient
2015-12-22 02:57:45 +0000 Puppet (err): /usr/bin/ostf-server --after-initialization-environment-hook returned 1 instead of one of [0]
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Ostf/Exec[ostf-init]/returns (err): change from notrun to 0 failed: /usr/bin/ostf-server --after-initialization-environment-hook returned 1 instead of one of [0]
2015-12-22 02:57:45 +0000 Class[Nailgun::Ostf] (debug): The container Stage[main] will propagate my refresh event
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/File[/etc/systemd/system/ostf.service.d/] (notice): Dependency Exec[ostf-init] has failures: true
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/File[/etc/systemd/system/ostf.service.d/] (warning): Skipping because of failed dependencies
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/File[/etc/systemd/system/ostf.service.d/fuel.conf] (notice): Dependency Exec[ostf-init] has failures: true
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/File[/etc/systemd/system/ostf.service.d/fuel.conf] (warning): Skipping because of failed dependencies
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/Exec[nailgun_systemd_reload] (notice): Dependency Exec[ostf-init] has failures: true
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/Exec[nailgun_systemd_reload] (warning): Skipping because of failed dependencies
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/Service[ostf] (notice): Dependency Exec[ostf-init] has failures: true
2015-12-22 02:57:45 +0000 /Stage[main]/Nailgun::Systemd/Nailgun::Systemd::Config[ostf]/Service[ostf] (warning): Skipping because of failed dependencies

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "332"
  build_id: "332"
  fuel-nailgun_sha: "56c811cedd896395c604fc665f60e2de8b380100"
  python-fuelclient_sha: "268847aa06e16f42bb3a3bf851a1869adfc36c46"
  fuel-agent_sha: "af3889304e2c8ff9371fdd8463c2d17e064ae227"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "9ccde3e4914baeb2cf31c0ff983ae073d58c059d"
  fuel-library_sha: "10ed2f60c6352cd358e216adecbc695c1a255fa4"
  fuel-ostf_sha: "d8cbc4f65361e034193479b19f84747d1c33894e"
  fuel-mirror_sha: "d15edd2128b9a4644f1db8089b0ecdf7954a2e57"
  fuelmenu_sha: "2942a85796d37f09ba8c8c6d762d8813292cf0d4"
  shotgun_sha: "ae9a510f1167df3ff789894b0ef2cc4095291ad1"
  network-checker_sha: "d443ef47abeda58d319bc8d33d5005dd09440a02"
  fuel-upgrade_sha: "c1c4bac6a467145ac4fac73e4a7dd2b00380ecfb"
  fuelmain_sha: "b5a3a78953ee6079d46927528256354fdcb93fb5"

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

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
description: updated
Changed in fuel:
assignee: nobody → Fuel build team (fuel-build)
description: updated
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Packaging Team (mos-packaging)
Changed in fuel:
status: New → Confirmed
Maciej Relewicz (rlu)
tags: added: area-build area-mos
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Ivan Udovichenko (iudovichenko)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/python-saharaclient-build (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/15414

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack-build/python-muranoclient-build (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/15418

Roman Vyalov (r0mikiam)
tags: removed: area-build
Revision history for this message
Sergey Shevorakov (sshevorakov) wrote :

Tag swarm-blocker was set due to this bug fails BVT and not allows SWARM execution.

tags: added: swarm-blocker
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/python-muranoclient-build (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/15418
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: f78f35635d3d57f0c9d12a94ed1ce25aac79bcf2
Author: Ivan Udovichenko <email address hidden>
Date: Tue Dec 22 17:24:15 2015

Update python-muranoclient [MOS 8.0]

* Remove argparse from "requires" field.
  MOS 8.0 switched to Centos 7.

* Remove "rpm" directory completely

Change-Id: I8cfc13d353eb657f5768af513127736c3edad534
Closes-Bug: #1528450

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack-build/python-saharaclient-build (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/15414
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: bdc4fecc6d59905fa73cd3246927edcce3cbdb85
Author: Ivan Udovichenko <email address hidden>
Date: Tue Dec 22 17:24:23 2015

Update python-saharaclient [MOS 8.0]

* Remove argparse from "requires" field.
  MOS 8.0 switched to Centos 7.

* Remove "rpm" directory completely

Change-Id: Ia235a66189676711019df0845035699a7b7eb8f8
Closes-Bug: #1528450

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Reopen according to issue still reproduce package version:

python-saharaclient-0.11.1-4.el7~mos8.0.4.noarch.rpm
python-muranoclient-0.7.1-3.el7~mos8.0.10.noarch.rpm

isos: 336, 335, 334

Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-main (master)

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

commit 299cadd5347a550a15524e385154593f969db4c9
Author: Alex Schultz <email address hidden>
Date: Tue Dec 22 22:19:43 2015 +0000

    Revert "Remove argparse workaround (ostf)"

    This reverts commit c3e8d3e86a61d87a3431b6323b1c792216cbc599.

    Change-Id: I7c2f9caa8b3d50023a1da8dcbe37bce94ed39e77
    Related-Bug: #1528450

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

Must be fixed in ISO #338

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Reproduced on 9.0 bvt

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "9.0"
  api: "1.0"
  build_number: "16"
  build_id: "16"
  fuel-nailgun_sha: "ae9700700c7592f0f94ca337e03677b128bf00ee"
  python-fuelclient_sha: "269d9871689b0c514ce5cd4bb4ca3591daa040b7"
  fuel-agent_sha: "95fe335f2451703e68318787196a1ea4648f94e3"
  fuel-nailgun-agent_sha: "f9a1f4070514726d2271cdb27568d3aaf4b48069"
  astute_sha: "d2854fd228554c10ee2b7f211af7367849fd4e18"
  fuel-library_sha: "2899fcb9decea054f433847713406ca394ad8dbb"
  fuel-ostf_sha: "74f12a7033fe9d732931ffea1bc6c72f21994b02"
  fuel-mirror_sha: "e4a79f2794633034382c74fc06f68a1b64c5d17b"
  fuelmenu_sha: "7775f7cbb5dd25bb2a96ac4edb46313c5ab98ae9"
  shotgun_sha: "29c69e028fac3f865ee90157b228f213b8dfc8e7"
  network-checker_sha: "6fd942b50ca9acaadef1250e448cc70eb80ba1d5"
  fuel-upgrade_sha: "3c5f5b6f877c0f5d7fb6e58c6e9684458ffcfc5c"
  fuelmain_sha: "1ebfdcb3af7a7c40f675a7827c7441f466b56a13"

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Sorry but why this issue moved to mos- maintenance?

no longer affects: fuel/future
no longer affects: fuel/future
Changed in fuel:
status: New → In Progress
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/261325
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=d802a9f68aaf9b3bd4b65cfa3502b58d7a6237c0
Submitter: Jenkins
Branch: master

commit d802a9f68aaf9b3bd4b65cfa3502b58d7a6237c0
Author: Tatyana Leontovich <email address hidden>
Date: Thu Dec 24 16:00:31 2015 +0200

    Move setup.py to pbr usage

    Closes-Bug: #1528450
    Change-Id: I458d5d9697f783e9278bca36bfe7b9252078ffc0

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/265290

Dmitry Pyzhov (dpyzhov)
tags: removed: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (stable/8.0)

Reviewed: https://review.openstack.org/265290
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=4ade03edf9620c3c399dcce60f1a3972f1fc0da8
Submitter: Jenkins
Branch: stable/8.0

commit 4ade03edf9620c3c399dcce60f1a3972f1fc0da8
Author: Tatyana Leontovich <email address hidden>
Date: Thu Dec 24 16:00:31 2015 +0200

    [stable/8.0] Move setup.py to pbr usage

    Closes-Bug: #1528450
    Change-Id: I458d5d9697f783e9278bca36bfe7b9252078ffc0

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

for 9.0 verified on VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "9.0"
  api: "1.0"
  build_number: "87"
  build_id: "87"
  fuel-nailgun_sha: "5e1d3d02c2174957113a7146557c351b63d4547d"
  python-fuelclient_sha: "d665010426f1d3270590b8d78a030af0336a0d5a"
  fuel-agent_sha: "cfa3fee5815c93b02e8e3d4e3bed1367b66341a1"
  fuel-nailgun-agent_sha: "9d818c7f8908182016550c0bc2946363d69af73e"
  astute_sha: "330ac35b26d01f882adf62b060888349e3200b0b"
  fuel-library_sha: "39aac5a938605ea0b08637ec1fd697dabbcb39ec"
  fuel-ostf_sha: "c42f2e3e85d0287a0907999f3f8703c9db93b3b8"
  fuel-mirror_sha: "a22ce4730e7c671ac4b18287717bcb98ed0c8f58"
  fuelmenu_sha: "29ddf3d8007e25c922b4a2788c52c750a7145461"
  shotgun_sha: "0682f20c42150962096e6e43ddbcfe1fe1a6d98f"
  network-checker_sha: "cfd9dbc995ee85a6f2dee9c53299f26e42205fd4"
  fuel-upgrade_sha: "e95dc05071b40b630e9c5bc11b6dc00025f6de79"
  fuelmain_sha: "f4035a263472c8523eb308abd4b1509927acbf77"

Revision history for this message
Veronica Krayneva (vkrayneva) wrote :

Verified on #491 iso for 8.0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.