Jira (PUP-7791) No useful debug output for yum/rpm provider success/failure/version information

16 views
Skip to first unread message

Rodney Treweek (JIRA)

unread,
Jul 20, 2017, 2:11:03 PM7/20/17
to puppe...@googlegroups.com
Rodney Treweek created an issue
 
Puppet / Bug PUP-7791
No useful debug output for yum/rpm provider success/failure/version information
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2017/07/20 11:10 AM
Priority: Normal Normal
Reporter: Rodney Treweek

When running puppet agent with the debug flag, there's no indication as to whether a package was successfully upgraded, or what version it was upgraded to, requiring customers and support to fish for this information on the command line.

Example debug output from a failed package upgrade:

[[0;36mDebug: Facter: resolving Xen facts.^[[0m
1531 ^[[0;36mDebug: Evicting cache entry for environment 'production'^[[0m
1532 ^[[0;36mDebug: Caching environment 'production' (ttl = 0 sec)^[[0m
1533 ^[[mNotice: Compiled catalog for cmh1vlatgps003d.dev2a.dswd1.com in environment production in 0.05 seconds^[[0m
1534 ^[[0;36mDebug: Creating default schedules^[[0m
1535 ^[[0;36mDebug: Loaded state in 0.11 seconds^[[0m
1536 ^[[0;36mDebug: Loaded state in 0.08 seconds^[[0m
1537 ^[[0;32mInfo: Applying configuration version '1500483207'^[[0m
1538 ^[[0;36mDebug: Prefetching yum resources for package^[[0m
1539 ^[[0;36mDebug: Executing: '/bin/rpm --version'^[[0m
1540 ^[[0;36mDebug: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n''^[[0m
1541 ^[[0;36mDebug: Executing: '/usr/bin/yum check-update'^[[0m
1542 ^[[0;36mDebug: Finishing transaction 22088640^[[0m
1543 ^[[0;36mDebug: Storing state^[[0m
1544 ^[[0;36mDebug: Stored state in 0.12 seconds^[[0m
1545 ^[[mNotice: Applied catalog in 2.38 seconds^[[0m
1546 ^

Since we see this situation quite frequently in support, and lengthens time to resolution, and seems trivial to add this the debug logging, I wanted to get this issue submitted and tracked, along with a recent Zendesk example.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Josh Cooper (JIRA)

unread,
Jul 31, 2017, 6:20:03 PM7/31/17
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 5, 2020, 6:37:03 PM6/5/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity Night's Watch
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Jun 8, 2020, 12:56:03 PM6/8/20
to puppe...@googlegroups.com

Austin Boyd (Jira)

unread,
Sep 15, 2020, 6:37:04 AM9/15/20
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket Count: 1
Zendesk Ticket IDs: 26640

Mihai Buzgau (Jira)

unread,
Sep 16, 2020, 1:50:03 AM9/16/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Sep 16, 2020, 5:43:03 AM9/16/20
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Sep 24, 2020, 7:46:04 AM9/24/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Sep 30, 2020, 3:50:04 AM9/30/20
to puppe...@googlegroups.com

Luchian Nemes (Jira)

unread,
Oct 13, 2020, 11:26:03 AM10/13/20
to puppe...@googlegroups.com

Luchian Nemes (Jira)

unread,
Oct 13, 2020, 11:59:03 AM10/13/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages