| Summary: | Available consumer errata does not update immediately after issuing errata install | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Eric Helms <ehelms> |
| Component: | user-experience | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | bbuckingham, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Eric Helms
2012-01-05 21:23:57 UTC
Initial attempt to reproduce in F14 using fabricated errata shows profile update for consumer received by pulp server (1) second prior to associated package install result. I will continue to try and reproduce.
-----
2012-01-11 14:21:46,518 2151:-1385170064: gofer.rmi.policy:INFO: policy:139 sent (jortel):
{
"classname": "Packages",
"kws": {},
"args": [
[
"zsh"
],
false
],
"method": "install",
"cntr": [
[],
{
"importkeys": false
}
]
}
2012-01-11 14:22:11,155 2151:-1366344848: pulp.server.api.consumer:INFO: consumer:419 Successfully updated package profile for consumer jortel
2012-01-11 14:22:12,116 2151:-1385170064: pulp.server.tasking.task:INFO: task:440 Task succeeded: Task e2540deb-3c91-11e1-b8b2-0019d21a40be: ConsumerApi.__installpackages(jortel, ['zsh'], )
The pulp.spec installs the yum-plugin for uploading profiles post yum transactions. Since it uses %{_libdir} it is installed in /usr/lib64/yum-plugins on x86_64. Unfortunately yum only looks in /usr/lib/yum-plugins. Fixing.
Eric, I assume your consumer (client) is x86_64?
Jeff, correct assumption - the consumer I was using was x86_64. build: 0.258 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.267-1.fc15.noarch
[root@preethi ~]# pulp-admin errata list --consumerid=client1 |grep RHSA-2012:0135
RHSA-2012:0135 security Critical: java-1.6.0-openjdk security update
[root@preethi ~]# pulp-admin errata install -e RHSA-2012:0135 --consumerid=client1
Created task id: ff31531c-5d86-11e1-af00-002564a85a58
Waiting: [\]
Errata applied to [client1]; packages installed: [{u'name': u'java-1.6.0-openjdk', u'qname': u'1:java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64', u'epoch': u'1', u'version': u'1.6.0.0', u'release': u'1.43.1.10.6.el6_2', u'arch': u'x86_64', u'repoid': u'rhel6_2'}]
Please reboot at your earliest convenience
[root@preethi ~]# pulp-admin errata list --consumerid=client1 |grep RHSA-2012:0135
Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |