#azure - August 2021

azureArchived
47 messages

Archive: https://archive.sweetops.com/azure/

August 2021
kgib
kgibabout 5 years ago
just curious, why aren’t there cloudposse modules for azure?
kgib
kgibabout 5 years ago
is there anything similar to the cloudposse AWS modules or the community supported AWS modules for azure?
Padarn
Padarnabout 5 years ago
Anyone faced errors like
Deployment failed. Correlation ID: REDACTED. Category: ClientError; SubCode: OverconstrainedAllocationRequest; Dependency: Microsoft.Compute/VirtualMachineScaleSet; OrginalError: Code="OverconstrainedAllocationRequest" Message="Allocation failed. VM(s) with the following constraints cannot be allocated, because the condition is too restrictive. Please remove some constraints and try again. Constraints applied are:\n  - Low Priority VMs\n  - Networking Constraints (such as Accelerated Networking or IPv6)\n  - Preemptible VMs (VM might be preempted by another VM with a higher priority)\n  - VM Size\n"; AKSTeam: NodeProvisioning

I am trying to add a spot instance node pool to a cluster. It seems like its due to VM availability, but I am able to create VMs of that size.
Padarn
Padarnabout 5 years ago
(just not add them as a nodepool)
Tom Howarth
Tom Howarthabout 5 years ago
Has anybody used the CAF_solution to create landing zones on azure? Specifically using the Rover
kgib
kgibabout 5 years ago
@Tom Howarth yes, I’ve been testing
kgib
kgibabout 5 years ago
ahhh you’re on the gitter chat 🙂
Tom Howarth
Tom Howarthabout 5 years ago
yes, the Gitter chat that is oh so active. and has never once answered a single question of mine, hence my sarcastic comment on there :)
kgib
kgibabout 5 years ago
yes, I feel that, been having same experience and is very frustrating. AWS community is so supported, but Azure is ghosttown
kgib
kgibabout 5 years ago
and the CAF is garbage IMO….though I’m contracted to implement it
Tom Howarth
Tom Howarthabout 5 years ago
a ghost town on vacation too
kgib
kgibabout 5 years ago
Tom Howarth
Tom Howarthabout 5 years ago
yep funny that as I too am a contracter engaged to implement it. I am just finding so many issues
Tom Howarth
Tom Howarthabout 5 years ago
isnit that the one that uses ARM templates?
kgib
kgibabout 5 years ago
ha! Yea MS gave our client $25k to do it
kgib
kgibabout 5 years ago
no, it has TF examples with Rover
Tom Howarth
Tom Howarthabout 5 years ago
my issues is even more basic that than that. I have a virgin rover container and it is flatly refusing to create a launchpad.
Tom Howarth
Tom Howarthabout 5 years ago
telling me I need to initialise a launchpad before I can use it
kgib
kgibabout 5 years ago
using TF?
Tom Howarth
Tom Howarthabout 5 years ago
standard rover command rover -lz path -var-folder path -launchpad -parrallelism=30 -a plan -d
Tom Howarth
Tom Howarthabout 5 years ago
errors out with:

Error on or near line 694: You need to initialise a launchpad first with the command

rover /tf/caf/landingzones/launchpad [plan | apply | destroy] -launchpad; exiting with status 1000
kgib
kgibabout 5 years ago
rover -lz /tf/caf/landingzones/caf_launchpad \
  -var-folder /tf/caf/configuration/${environment}/level0/launchpad \
  -parallelism 30 \
  -level level0 \
  -env ${caf_environment} \
  -launchpad \
  -a [plan|apply|destroy]
Tom Howarth
Tom Howarthabout 5 years ago
same error
Tom Howarth
Tom Howarthabout 5 years ago
really odd
kgib
kgibabout 5 years ago
you’re missing something somewhere, works for me
Tom Howarth
Tom Howarthabout 5 years ago
cheers I will have a look at that.
Tom Howarth
Tom Howarthabout 5 years ago
regarding the CAF framework it is so opaque to be a brick wall. the documentation is crap, and so full of gaps.
Tom Howarth
Tom Howarthabout 5 years ago
For example I have not found a coherent post on how to configure the Rover. other than a single youtube video from three years ago
kgib
kgibabout 5 years ago
yep
kgib
kgibabout 5 years ago
completely unsustainable IMO…I can see how AWS pivoted to watchtower product
kgib
kgibabout 5 years ago
CAF isn’t a collection of resources though, so more so a framework for how to deploy. The landingzone is my main deliverable, which is essentially a subscription with policies
kgib
kgibabout 5 years ago
Rover does it make it easy to deploy. The separtation of TF configs from logic is sort of a good idea. The implementation of it is terrible though. No docs or mature process for using
Tom Howarth
Tom Howarthabout 5 years ago
yep, the separation of TF States is good, but the documenation is so poor as to be non existant.
Tom Howarth
Tom Howarthabout 5 years ago
it may be a better idea to move this to DM's LOL
Tom Howarth
Tom Howarthabout 5 years ago
wow you got a response on Gitter
kgib
kgibabout 5 years ago
the azure community is a ghostown, so the more we put in public the better IMO
Tom Howarth
Tom Howarthabout 5 years ago
well that is an interesting error message :

Error on or near line 778: Folder /tf/caf/configuration/sandpit/level0/launchpad does not have any tfvars files.; exiting with status 1
kgib
kgibabout 5 years ago
check the path to the launchpad dir
kgib
kgibabout 5 years ago
must not be finding it
Tom Howarth
Tom Howarthabout 5 years ago
yet I can do a cd in to that none existent directory
kgib
kgibabout 5 years ago
may need to modify the path
Tom Howarth
Tom Howarthabout 5 years ago
I am wondering if there is an issue with the june release rover
kgib
kgibabout 5 years ago
did it find the tfvars files?
kgib
kgibabout 5 years ago
@Tom Howarth FYI - after investing this CAF module a bit more, I may be abandoning the idea of using it and moving on to test the enterprise scale repo to deploy archetypes, management groups, and policies and using custom modules to deploy vnet resources and such
kgib
kgibabout 5 years ago
the issue with the CAF repo is nested modules and difficulty in pinning a version. So, if one module changes, it could disrupt any other module using that module. Not a risk worth taking IMO
Tom Howarth
Tom Howarthabout 5 years ago
true, playing with the enterprise scale starter repo at the moment,