Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in stopping IIS Web Application pool #33771

Closed
Gianlu opened this issue Dec 11, 2017 · 2 comments
Closed

Issue in stopping IIS Web Application pool #33771

Gianlu opened this issue Dec 11, 2017 · 2 comments
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. windows Windows community

Comments

@Gianlu
Copy link
Contributor

Gianlu commented Dec 11, 2017

ISSUE TYPE
  • Bug Report
COMPONENT NAME

win_iis_webapppool

ansible 2.4.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/usr/share/ansible/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
CONFIGURATION

DEFAULT_LOAD_CALLBACK_PLUGINS(/etc/ansible/ansible.cfg) = False
DEFAULT_MODULE_PATH(/etc/ansible/ansible.cfg) = [u'/usr/share/ansible/modules']

OS / ENVIRONMENT

ansible host: debian 8.10
target system: Windows 2012 R2

SUMMARY

Error in stopping Web application pool

STEPS TO REPRODUCE

Try to stop an application pool.

- name: Stop My Application
  hosts: webservers
  serial: "100%"
  tasks:
    - name: Stop Application pool
      win_iis_webapppool:
        name: myapplicationpool
        state: stopped
EXPECTED RESULTS

Application pool stopped.

ACTUAL RESULTS

Ansible raises an exception in stopping application pool

fatal: [mywebserver]: FAILED! => {"attributes": {}, "changed": true, "info": {"attributes": {}, "cpu": {}, "failure": {}, "name": "myapplicationpool", "processModel": {}, "recycling": {"periodicRestart": {}}, "state": "stopped"}, "msg": "Failed to stop Web App Pool myapplicationpool: The service cannot accept control messages at this time. (Exception from HRESULT: 0x80070425)"}

@ansibot
Copy link
Contributor

ansibot commented Dec 11, 2017

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Dec 11, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 bug_report module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. windows Windows community labels Dec 11, 2017
@alikins alikins removed the needs_triage Needs a first human triage before being processed. label Dec 11, 2017
jborean93 pushed a commit that referenced this issue Dec 13, 2017
* Fixes #33771

* Fixes #33771 - mod 1

* removed some unneeded whitespace

(cherry picked from commit 1d10a28)
willthames pushed a commit to willthames/ansible that referenced this issue Dec 13, 2017
* Fixes ansible#33771

* Fixes ansible#33771 - mod 1

* removed some unneeded whitespace
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community. windows Windows community
Projects
None yet
Development

No branches or pull requests

4 participants