Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Claire Cadman updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Claire Cadman Labels: doc-reviewed Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.147019.1633435920346%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Gabriel Nagy updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Gabriel Nagy Fix Version/s: PUP 7.12.0 Fix Version/s: PUP 6.25.0 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.140836.1632825240033%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Dorin Pleava assigned an issue to Dorin Pleava Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Dorin Pleava Assignee: Dorin Pleava Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.136424.1632309840040%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Ciprian Badescu Sprint: NW - 2021- 09 10 - 22 06 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.125152.1631093400031%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Ciprian Badescu Story Points: 3 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.125093.1631089020038%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Ciprian Badescu commented on PUP-11208 Re: Puppet fails to install packages on Solaris if another pkg install is running https://puppetlabs.zendesk.com/agent/tickets/45377 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.125092.1631088780022%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Ciprian Badescu Puppet fails hard if it tries to install a package on Solaris 11 while a {{pkg install}} command is already running in the background.{{pkg install}} fails with the following error:{code:java}root@initial-holdup:~# pkg install nanopkg: The image cannot be modified as it is currently in use by another package client.root@initial-holdup:~# echo $?7 {code}The same error can be reproduced in a zone set up, if you execute {{pkg install something}} concurrently on global and the zone (the following output is from a puppet manifest with the nano package resource):{code:java}Debug: Executing: '/usr/bin/pkg install --accept --sync-actuators-timeout 900 nano'Error: Unable to update Startup: Linked image publisher check ... Donepkg: install failed (linked image exception(s)):A 'pubcheck-linked' operation failed for child 'zone:devzone' with an unexpectedreturn value of 7 and generated the following output:pkg: The image cannot be modified as it is currently in use by another package client.Error: /Stage[main]/Main/Package[nano]/ensure: change from 'absent' to 'present' failed: Unable to update Startup: Linked image publisher check ... Donepkg: install failed (linked image exception(s)):A 'pubcheck-linked' operation failed for child 'zone:devzone' with an unexpectedreturn value of 7 and generated the following output:pkg: The image cannot be modified as it is currently in use by another package client. {code} From the Solaris pkg manpages ([https://docs.oracle.com/cd/E36784_01/html/E36870/pkg-1.html):]{quote}7: The image is currently in use by another process and cannot be modified.{quote} From a Solaris KB article ([https://docs.oracle.com/cd/E53394_01/html/E54739/nomodimg.html]): {quote}Try your {{pkg}} command again after the current package process exits (process 26604 in this example). If the process does not exit quickly, use {{ptree -a}}, for example, to begin to examine the process.{quote} We probably need to implement a similar defense in Puppet, that checks to see if the {{pkg}} command failed with error code 7 and keeps retrying the command a number of times (tbd how many times & how often). 5 x 2^n; 1; 2; 4; 8; 16
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Change By: Ciprian Badescu Sprint: NW-2021-09-22 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.412673.1629371858000.119460.1630334040034%40Atlassian.JIRA.
Jira (PUP-11208) Puppet fails to install packages on Solaris if another pkg install is running
Title: Message Title Gabriel Nagy created an issue Puppet / PUP-11208 Puppet fails to install packages on Solaris if another pkg install is running Issue Type: Bug Assignee: Unassigned Created: 2021/08/19 4:17 AM Priority: Normal Reporter: Gabriel Nagy Puppet fails hard if it tries to install a package on Solaris 11 while a pkg install command is already running in the background. pkg install fails with the following error: root@initial-holdup:~# pkg install nano pkg: The image cannot be modified as it is currently in use by another package client. root@initial-holdup:~# echo $? 7 The same error can be reproduced in a zone set up, if you execute pkg install something concurrently on global and the zone (the following output is from a puppet manifest with the nano package resource):