Comments (23)
Hi Oramoss,
I have notified our dev team of the issue so they can look into it.
from startstopv2-deployments.
Is this fixed now then? If so, what was the resolution and how do I get it installed please?
from startstopv2-deployments.
Sorry accidently closed it.
from startstopv2-deployments.
Did the start operation was working fine for you?
from startstopv2-deployments.
From your payload the action was mentioned as stop so checking on the status of the start operation
from startstopv2-deployments.
start and stop both fail in same way. Thanks for reopening.
from startstopv2-deployments.
I was trying to do it on a subscription which wasn't the one where the software is installed and thought it might be that but also tried for same schema last night and that has same issues.
from startstopv2-deployments.
Hey, can you make sure you have added the managed identity of azure functions with role as contributor into other subscriptions?
from startstopv2-deployments.
Was already Contributor on the two subscriptions (the one in which the Function App is installed and one it is not installed).
from startstopv2-deployments.
Are they in same tenant?
from startstopv2-deployments.
Yes, same tenant.
from startstopv2-deployments.
Just now tried to test the same behavior on our side and it works fine. Probably next step is to find the logs from the function/monitor (as mentioned in the below link) to figure out whats going on.
https://docs.microsoft.com/en-us/azure/azure-functions/start-stop-vms/troubleshoot
from startstopv2-deployments.
Article suggests looking through logs for the "Scheduled" HTTP function...there are no errors showing against that function, for it's entire history.
Screen only shows logs for last 20 invocations so I click on Run query in App Insights to see the older ones...I find the ones that relate to the errored run and they show the same 500 return code but there are no details of logs/messages to dig into...doesn't seem to help.
Leave with me to dig...
from startstopv2-deployments.
Can we have a quick call in teams? Would like to see whats going on and help you to unblock. Not sure what time zone you're currently in but can meet either today or Monday so please let me know.
from startstopv2-deployments.
Hi
I could do a call on Monday sometime - I'm in UK so it's now 19:31 here.
Thanks
Jeff
from startstopv2-deployments.
Cool then I will setup meeting on our Monday morning 10am March 3rd which will be 6pm monday your time, rite? can you please share your email id to invite you?
from startstopv2-deployments.
[email protected] 6pm Monday UK time is fine
from startstopv2-deployments.
Hey Jeff,
Thanks for joining the meeting. I am happy to say that we have fixed the bug and updated the package and thanks for helping us to find this bug.
We haven't tested this in a subscription where classic provider was disabled/not supported which is the root cause of this issue.
Will it be fine for you to do the new deployment of this solution? Our Auto-Update feature (which allows customer to get the updates without re-installing) is disabled for now hence asking you to re-install in a new resource group.
After installing please give it a try and update us on the outcome!
from startstopv2-deployments.
Will try shortly....
from startstopv2-deployments.
That worked, at least to use scheduled start/stop to start a VM in the Development Spoke, from the Hub installation.
A couple of issues:
- When I installed I first removed all resources from the target resource group (where I install this facility). The resource group was then empty prior to installing. The deployment ran with errors - image below. Complaints about inability to change scope...not sure why...but the facility worked for scheduled start/stop as I say.
- When running across subscriptions - as I tested - you advise giving Contributor role at Subscription level, to the Function App. Can we be a little less generous on the privileges - least privileges principle wise?
from startstopv2-deployments.
Glad that it works finally!
Comments on your points
- I think that error is ok for now. The recommended way is to delete the RG instead of deleting the individual resource. These alerts/queries wont show up in the RG hence when you redeploy in the same RG it was unable to override hence that issue. I will check and improve the experience.
- Thanks for the feedback. I will explore the options on this. Probably "Virtual Machine Contributor" would be the fit but today we are doing few other operations like cost savings which needs to call other API's etc which might benefit of having the generic contributor perms.
from startstopv2-deployments.
Yeah, I did just remove the resources in the RG rather than the RG itself - fair enough. Maybe if I'd checked show hidden I would have seen them and removed them as well.
No problem - for now Contributor is fine but clearly better if it can be locked down in time.
Many thanks for the swift response of your team.
Regards
Jeff
from startstopv2-deployments.
Thanks & happy to work with you Jeff! I will go ahead and close this issue!
from startstopv2-deployments.
Related Issues (20)
- New to Azure HOT 4
- Stop all VM in subscription HOT 3
- Excessive Azure Function consumption HOT 1
- Tag-based schedules HOT 1
- region deployment
- Deployment using Classic Application Insight HOT 1
- Scheduled VM's start/stop is ignored HOT 2
- Extend StartStopVMs-FA
- No logic apps created HOT 1
- Create example on how to enable/disable a VM Monitor Alert for Availability
- StartStopV2 deployment with Terraform
- SSV2_AutomationUpdateGA HOT 4
- Guidance on deployment or migration to isolated worker model HOT 2
- Empty Dashboard HOT 4
- Get Latest Version (Existing Users) link is broken HOT 2
- AutoStop fails with a 409 Conflict warning and BadRequest error in CreateAutoStopAlertExecutor HOT 1
- ATTENTION Project is erroneous and no longer supported by Github issues
- Template needs updating to conform to current standards HOT 1
- Use for other Subscriptions HOT 1
- Warning - excessive functions use and cost HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from startstopv2-deployments.