Bug 772235

Summary: RFE: Agent - update responses to include more details on pkgs installed/updated/removed
Product: [Retired] Pulp Reporter: Brad Buckingham <bbuckingham>
Component: user-experienceAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: jortel
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 31   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:15:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brad Buckingham 2012-01-06 14:49:15 UTC
Description of problem:

Pulp currently provides several APIs for installing, updating and removing packages and package groups on a client/consumer via the agent.  While the action requested works properly, it would be helpful to users if the response from the agent included more details on the outcome of the action that was performed.  For example, in addition to providing the list of packages from the initial request, also provide the dependency packages that were installed/updated/removed.


The Pulp team has done some initial investigation and the following link provides the proposed responses which address the above concern:
https://fedorahosted.org/pulp/wiki/Agent#API

Comment 1 Jeff Ortel 2012-01-06 20:56:24 UTC
Upstream (gofer) package plugin changes will be included in gofer 0.64.  Corresponding pulp agent (docstring changes) and CLI changes committed will be in 0.257.  Katello agent changes committed but not pushed.

Comment 2 Jeff Ortel 2012-01-10 16:33:32 UTC
build: 0.257

Comment 3 Preethi Thomas 2012-01-12 14:47:47 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.257-1.fc15.noarch
[root@preethi ~]# 

[root@preethi ~]# pulp-admin package install --consumerid=el6-client1 -n httpd
Created task id: b1dc2400-3d2d-11e1-97a0-002564a85a58
Waiting: [\] 
Consumer ID: el6-client1  [ SUCCEEDED ]
=====================================================================
Package                           Arch     Version    Repository
=====================================================================
Installed:
httpd                             x86_64   2.2.15     protected_rhel_6

Installed for dependencies:
apr                               x86_64   1.3.9      protected_rhel_6
apr-util                          x86_64   1.3.9      protected_rhel_6
apr-util-ldap                     x86_64   1.3.9      protected_rhel_6
httpd-tools                       x86_64   2.2.15     protected_rhel_6



[root@preethi ~]# pulp-admin package uninstall --consumerid=el6-client1 -n httpd-tools
Created task id: 1680cabd-3d2e-11e1-ab33-002564a85a58
Waiting: [\] 
Consumer ID: el6-client1  [ SUCCEEDED ]
=====================================================================
Package                           Arch     Version    Repository
=====================================================================
Removed:
httpd-tools                       x86_64   2.2.15     installed

Removed for dependencies:
httpd                             x86_64   2.2.15     installed

Comment 4 Preethi Thomas 2012-02-24 20:15:46 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:17:21 UTC
Pulp v1.0 is released.