Project

General

Profile

Actions

Bug #9722

closed

failed errata apply does not show task as failed

Added by Justin Sherrill about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1157704
Description of problem:
Errata updates of all RHEL6 clients fails from Sat6 Server running on RHEL7. Task indicates success even though no updates are applied. Output indicates error.

RHEL7 clients update just fine.

Version-Release number of selected component (if applicable): 6.0.4

How reproducible: Always

Steps to Reproduce:
1. Update subscription-manager on a RHEL 6 client
2. Install Sat6 certificate
3. Register the RHEL 6 client - Library, Default Organization View
4. Enable appropriate RHEL6 repos

Repo ID: rhel-6-server-rpms
Repo Name: Red Hat Enterprise Linux 6 Server (RPMs)
Repo URL: https://sat6.parmstro.redhat.com/pulp/repos/RedHatCanada/Library/content/dist/rhel/server/6/$releasever/$basearch/os
Enabled: 1

Repo ID: rhel-server-rhscl-6-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server
Repo URL: https://sat6.parmstro.redhat.com/pulp/repos/RedHatCanada/Library/content/dist/rhel/server/6/$releasever/$basearch/rhscl/1/os
Enabled: 1

Repo ID: rhel-6-server-rh-common-rpms
Repo Name: Red Hat Enterprise Linux 6 Server - RH Common (RPMs)
Repo URL: https://sat6.parmstro.redhat.com/pulp/repos/RedHatCanada/Library/content/dist/rhel/server/6/$releasever/$basearch/rh-common/os
Enabled: 1

Repo ID: rhel-6-server-rhev-agent-rpms
Repo Name: Red Hat Enterprise Virtualization Agents for RHEL 6 Server (RPMs)
Repo URL: https://sat6.parmstro.redhat.com/pulp/repos/RedHatCanada/Library/content/dist/rhel/server/6/$releasever/$basearch/rhev-agent/3/os
Enabled: 1

5. Install katello-agent
6. Install puppet
7. In WebUI, select the Content Host -> Errata
8. Select all available Errata.
9. Select "Apply Selected"

Actual results:

Id: cd5076d8-04d7-4da0-9dc3-6d3bd4920d39
Label: Actions::Katello::System::Erratum::Install
Name: Install erratum
Owner: admin
Started at: 2014-10-27 13:04:45 UTC
Ended at: 2014-10-27 13:05:30 UTC
State: stopped
Result: success

Output:
0:libxml2-2.9.1-5.el7_0.1.x86_64: No package(s) available to install

Expected results:

Errata are applied as expected. Task succeeds.

Additional info:

Running yum update on similar host (built from same image), registered identically, succeeds as expected.

Running through the above steps for RHEL7 client succeeds.

From DynaFlow Console:

pulp_tasks:
- exception:
task_type:
_href: /pulp/api/v2/tasks/9330932c-0224-479b-a0d8-96d20ce0b354/
task_id: 9330932c-0224-479b-a0d8-96d20ce0b354
tags:
- pulp:consumer:6a1923e9-23a5-4352-bb89-7fc925ea1e3c
- pulp:action:unit_install
finish_time: '2014-10-27T13:05:29Z'
_ns: task_status
start_time: '2014-10-27T13:05:22Z'
traceback:
spawned_tasks: []
progress_report:
steps:
- - Refresh Repository Metadata
-
details: {}
queue: agent
state: finished
result:
details:
rpm:
details:
message: ! '0:libxml2-2.9.1-5.el7_0.1.x86_64: No package(s) available to
install'
trace: ! "Traceback (most recent call last):\n\n File \"/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py\",
line 76, in install\n report = handler.install(conduit, units, dict(options))\n\n
\ File \"/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpm.py\",
line 100, in install\n details = pkg.install(names)\n\n File \"/usr/lib/python2.6/site-packages/pulp_rpm/handlers/rpmtools.py\",
line 136, in install\n raise caught\n\nInstallError: 0:libxml2-2.9.1-5.el7_0.1.x86_64:
No package(s) available to install\n"
succeeded: false
num_changes: 0
succeeded: false
reboot:
scheduled: false
details: {}
error:
_id:
$oid: 544e42ee15e39e06af5b3fd3
id: 544e42ee15e39e06af5b3fd3
poll_attempts:
total: 9
failed: 0

Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 67
  • Pull request https://github.com/Katello/katello/pull/5098 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms about 9 years ago

  • Target version changed from 67 to 68
Actions #4

Updated by Justin Sherrill about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF