-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Creating application pool with win_iis_webapppool on ansible 2.4 isn't working #33178
Comments
Files identified in the description: If these files are inaccurate, please update the |
Are you able to consistently reproduce this error, I've just reviewed the 2.4 code vs the 2.3 code and while it is different, the basic workflow and cmdlets called are the same. I don't really see how they can be different when it comes to stopping a pool but if you can reproduce it consistently then it may be a start to finding out what is happening. |
@jborean93 Thanks! |
Hi Guys! Someone by any chance can assist on this issue? |
Unfortunately this is a really hard one to figure out as the tests seem to work find in our testing suite. If you can find out more information such as if a plain vanilla web app pool works/what options seemt to cause the access is denied would help. I'm sure there was something that changed in the code to break this but unfortunately from looking at it I cannot really seem to see what it is. The way Ansible makes the changes are still using the same cmdlets as before 2.4. |
@EliMutchnik are you able to try the latest devel again, an issue was found with the code and I am hoping it has fixed your issue. The PR for this was here #33777 |
Seems to work now. Thanks guys! |
ISSUE TYPE
COMPONENT NAME
win_iis_webapppool
ANSIBLE VERSION
ansible 2.4.0.0
CONFIGURATION
No settings were changed
OS / ENVIRONMENT
CentOS Linux release 7.4.1708 (Core)
SUMMARY
When running iis app pool creating with win_iis_webapppool on ansible 2.4 I'm getting the following error: Failed to stop Web App Pool UPS Traffic: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED).
The app pool is fine when creating is manualy on the IIS.
After trying to fix the issue locally on IIS with microsoft documantation, Iv'e downgraded the ansible to 2.3.2.0 and the same code started working again.
STEPS TO REPRODUCE
Running the next task:
EXPECTED RESULTS
The task should create stopped app pool on the IIS.
ACTUAL RESULTS
The error i'm getting:
The text was updated successfully, but these errors were encountered: