Jira (PUP-9588) Unable to apply catalog successfully on nodes due to running iexplore process

2 views
Skip to first unread message

Tanmeet Kaur (JIRA)

unread,
Apr 2, 2019, 3:35:02 AM4/2/19
to puppe...@googlegroups.com
Tanmeet Kaur created an issue
 
Puppet / Bug PUP-9588
Unable to apply catalog successfully on nodes due to running iexplore process
Issue Type: Bug Bug
Affects Versions: PUP 4.10.z
Assignee: Unassigned
Components: Catalog Application, CLI
Created: 2019/04/02 12:34 AM
Priority: Major Major
Reporter: Tanmeet Kaur

Puppet Version: 4.10.0
Puppet Server Version: 7.1
OS Name/Version: RHEL 7.1

Puppet Agent server: Windows 2012 R2

I am trying to run 6 puppet manifests on 50 Windows servers to install Citrix, ms-office, winbeat, filebeat, uipath, and configure some system registry keys, but every time I run "puppet agent -t" cmd on the nodes, after running configuration from a few of manifests, it is opening internet explorer and asking to kill iexplore processes (running as the background processes in task manager), even though I have not mentioned any such cmd/rule/line in manifests -

 

" Notice: /Stage[main]/Beats/Notify[Starting filebeat...]/message: Starting filebeat*...*

Notice: /Stage[main]/Beats/Notify[Starting filebeat...]/message: defined 'message' as 'Starting filebeat*...'*

Confirm All [N] No Are you sure you want to perform the Stop-Process operation on the following item: iexplore*(10192)? [Y] Yes [A] Yes to [L] No to All [S] Suspend [?] Help(default is "Y"): "*

 

and the catalog fails to apply successfully when it gets no response for the killing of iexplore proc. If iexplore is running in the 'Apps' tab in task manager (i.e. when I manually run iexplore in the foreground to test), while manifests are running, iexplore proc is killed by itself and then the catalog is applied successfully. If no iexplore proc is running, the catalog is applied successfully on nodes.

Can someone please help explain to me what is the reason for this automatic iexplore proc termination while running puppet manifest on agents and how can we prevent his from happening cos in background iexplore will always run on my nodes?Describe your issue in as much detail as possible…
Describe steps to reproduce…

Desired Behavior:

"Applied Catalog successfully"

Actual Behavior:

Confirm All [N] No Are you sure you want to perform the Stop-Process operation on the following item: iexplore_(10192)? [Y] Yes [A] Yes to [L] No to All [S] Suspend [?] Help(default is "Y"): "_

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Tanmeet Kaur (JIRA)

unread,
Apr 2, 2019, 3:39:01 AM4/2/19
to puppe...@googlegroups.com
Tanmeet Kaur updated an issue
Change By: Tanmeet Kaur
*Puppet Version:* _4.10.0_
*Puppet Server Version:* _7.1_
*OS Name/Version:* _RHEL 7.1_

*Puppet Agent server*_*:* Windows 2012 R2_


I am trying to run 6 puppet manifests on 50 Windows servers to install Citrix, ms-office, winbeat, filebeat, uipath, and configure some system registry keys, but every time I run "puppet agent -t" cmd on the nodes, after running configuration from a few of manifests, it is opening internet explorer and asking to kill iexplore processes (running as the background processes in task manager), even though I have not mentioned any such cmd/rule/line in manifests -

 

*" _Notice: /Stage[main]/Beats/Notify[Starting filebeat...]/message: Starting_* filebeat*_..._*


*_Notice: /Stage[main]/Beats/Notify[Starting filebeat...]/message: defined 'message' as 'Starting_* filebeat*_...'_*


*_Confirm All [N] No Are you sure you want to perform the Stop-Process operation on the following item:_* iexplore*_(10192)? [Y] Yes [A] Yes to [L] No to All [S] Suspend [?] Help(default is "Y"): "_*


 

and the catalog fails to apply successfully when it gets no response for the killing of iexplore proc. If iexplore is running in the 'Apps' tab in task manager (i.e. when I manually run iexplore in the foreground to test), while manifests are running, iexplore proc is killed by itself and then the catalog is applied successfully. If no iexplore proc is running, the catalog is applied successfully on nodes.

Can someone please help explain to me what is the reason for this automatic iexplore proc termination while running puppet manifest on agents and how can we prevent his from happening cos in background iexplore will always run on my nodes?Describe your issue in as much detail as possible…
Describe steps to reproduce…

*Desired Behavior:*

_"Applied Catalog successfully"_

*Actual Behavior:*

_Confirm All [N] No Are _Confirm_
_Are
you sure you want to perform the Stop-Process operation on the following item following_
_item
: _ iexplore_ iexplore (10192)? _
_
[Y] Yes [A] Yes to All [ N] No [ L] No to All [S] Suspend [?] Help Help_
_
(default is "Y"): " Error: Command exceeded timeout_
_Error: /Stage[main]/Office/Exec[act]/returns: change from notrun to 0 failed: Co_
_mmand exceeded timeout_
_Info: Stage[main]: Unscheduling all events on Stage[main]
_
_Notice: Applied catalog in 315.64 seconds_

Josh Cooper (JIRA)

unread,
Apr 2, 2019, 6:26:03 PM4/2/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9588
 
Re: Unable to apply catalog successfully on nodes due to running iexplore process

This is most likely an issue with the filebeat package. Are you passing the necessary install_options to ensure the package is installed silently?

Josh Cooper (JIRA)

unread,
Apr 2, 2019, 6:26:04 PM4/2/19
to puppe...@googlegroups.com

Tanmeet Kaur (JIRA)

unread,
Apr 3, 2019, 12:30:02 AM4/3/19
to puppe...@googlegroups.com
Tanmeet Kaur commented on Bug PUP-9588
 
Re: Unable to apply catalog successfully on nodes due to running iexplore process

This is the **Beats.pp __ manifest which includes installation of both Winlogbeat and Filebeat package.

 
 
class beats{

$filebeat_source = 'http://XX.XX.XX.XX:8081/nexus/content/repositories/filebeat/1.0/filebeat-1.0.zip'$winlogbeat_source = 'http://XX.XX.XX.XX:8081/nexus/content/repositories/winlogbeat/1.0/winlogbeat-1.0.zip'
 
$filebeat_path = 'C:\\Filebeat
install-service-filebeat.ps1'

{{}}

file{'C:\\temp
filebeat':

{{}}

{{ ensure => 'directory',}->}}

file{'C:\\temp
winlogbeat':

{{ ensure => 'directory',}->}}

{{}}

{{}}

download_file{ 'filebeat.zip':

{{ url => $filebeat_source,}}

{{ destination_directory => 'C:\\temp\\filebeat
',}->}}

download_file{ 'winlogbeat.zip':

{{ url => $winlogbeat_source,}}

{{ destination_directory => 'C:\\temp\\winlogbeat
',}->}}

{{}}

unzip{'filebeat.zip':

{{ source => 'C:\\temp\\filebeat
filebeat-1.0.zip',}}

{{ creates => "C:
Filebeat",}->}}

unzip{'winlogbeat.zip':

{{ source => 'C:\\temp\\winlogbeat
winlogbeat-1.0.zip',}}

{{ creates => "C:
Winlogbeat",}->}}

{{}}

{{}}

{{notify

{"Installing winlogbeat...": withpath => true,}

->}}

{{}}

{{}}

exec{'install-service-filebeat.ps1':

{{ path => 'C:/Filebeat',}}

{{ command => 'C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Executionpolicy Unrestricted -File C:/Filebeat/install-service-filebeat.ps1',}}

{{ provider => powershell,}}

{{ unless => 'C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe "if (((Get-Service | format-table property name) | out-string).contains(\'filebeat\')) {exit 0} else {exit 1}"',}>}}

{{}}

{{}}

{{}}

{{notify

{"Starting filebeat...": withpath => true,}

->}}

{{}}

{{}}

{{}}

service{'filebeat':

{{ ensure => running,}->}}

{{}}

exec{'install-service-winlogbeat.ps1': path => 'C:/Winlogbeat',

{{ command => 'C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Executionpolicy Unrestricted -File C:/Winlogbeat/install-service-winlogbeat.ps1',}}

{{ provider => powershell,}}

{{ unless => 'C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe "if (((Get-Service | format-table property name) | out-string).contains(\'winlogbeat\')) {exit 0} else {exit 1}"',}>}}

{{}}

{{}}

service{'winlogbeat': ensure => running,}}{{}}

{{}}
 
 

Tanmeet Kaur (JIRA)

unread,
Apr 3, 2019, 1:22:02 AM4/3/19
to puppe...@googlegroups.com
Tanmeet Kaur commented on Bug PUP-9588

I  have stored the winlogbeat and filebeat executable in http://XX.XX.XX.XX:8081 nexus server from where it will download the file. So puppet should not try to access anything from Internet Explorer, I don't know why it is trying to perform the "Stop-Process operation"  on "iexplore"

Tanmeet Kaur (JIRA)

unread,
Apr 3, 2019, 3:13:02 AM4/3/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jun 19, 2019, 1:31:02 AM6/19/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9588
 
Re: Unable to apply catalog successfully on nodes due to running iexplore process

This isn't a puppet issue. Please join https://slack.puppet.com/ and see if someone can assist you in the #windows channel.

Reply all
Reply to author
Forward
0 new messages