paloaltonetworks / azure Goto Github PK
View Code? Open in Web Editor NEWVM-Series ARM Templates for Microsoft Azure
Home Page: https://github.com/PaloAltoNetworks/azure
VM-Series ARM Templates for Microsoft Azure
Home Page: https://github.com/PaloAltoNetworks/azure
Freshly deployed two-tier-sample template. Can't reach the webserver from it's public DNS name. SSH into the webserver from the FW, unable to get out to the internet.
Navigating to the webServerURL output from the template should bring me to the website.
Navigating to the webServerURL output from the template returns a connection timeout.
this template is for available set.do you have the version for available zone? some Azure region support multi-zone
Prisma credentials not configured properly. Please reinstall and complete the configuration.
Password requirement inconsistency, palo alto portal and terraform images differ in availability.
I am deploying via terraform so my deployment is consistent. I normally use the latest
tag for the PA image.
vm_size = "Standard_D3_v2"
sku = "bundle2"
publisher = "paloaltonetworks"
product = "vmseries1"
version = "latest"
I recently updated my password to be alpha numeric 32 characters.
E.g. Password1234password1234password1234
.
If i try and set a password without a capital letter, i get the following error
Error: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidParameter" Message="The supplied password must be between 6-72 characters long and must satisfy at least 3 of password complexity requirements from the following:\r\n1) Contains an uppercase character\r\n2) Contains a lowercase character\r\n3) Contains a numeric digit\r\n4) Contains a special character\r\n5) Control characters are not allowed" Target="adminPassword"
So the password policy is 6-72 characters with numbers, capital and lower case letters.
If i set the password to Password1234password1234password1234
the deployment succeeds, but i cannot log in via the SSH prompt (says incorrect password) despite the password conforming with the password policy. The web UI never loads, i always get a HTTP timeout.
I tried to deploy via the portal and i couldnt find a suitable version. It only gives me an option of 9.1.2
and not the large option list i get via terraform.
I also noticed that via the portal the VM type that gets deployed is vmseries-flexible
and not vmseries1
or vmseries2
. I cant find any documentation on this type. Im assuming flexible means that its either 1 or 2.
So i changed my deployment to:
vm_size = "Standard_D3_v2"
sku = "bundle1"
publisher = "paloaltonetworks"
product = "vmseries-flex"
version = "9.1.2"
With password Password1234password1234password1234
i get the same behaviour, but with password Password1234
the web UI loads and the SSH prompt allows me to log in!
32 length character password dosent cause deployment issues despite conforming to password requirements.
A long password somehow breaks the deployment.
The current workaround i have is to use a small (12 character) alpha numeric password rather than a 32 character one.
experienced with:
vm_size = "Standard_D3_v2"
sku = "bundle2"
publisher = "paloaltonetworks"
product = "vmseries1"
version = "latest"
and also:
vm_size = "Standard_D3_v2"
sku = "bundle1"
publisher = "paloaltonetworks"
product = "vmseries-flex"
version = "9.1.2"
With deployments via the portal and by terraform. Seems to be a problem with the core palo alto images.
PA Networks,
I don't believe this is an issue with the image itself. However, I wanted to inform you that when attempting to purchase your product within the Azure Marketplace, we receive an HTTP 503 error when deploying your virtual machine
"statusCode": "InternalServerError",
"statusMessage": {
"error": {
"code": "InternalBillingError",
"message": "There was a problem communicating with the billing service. Diagnostic information: timestamp '20190308T202824Z'
I believe this is an issue on MS side of things. However, I wanted you all to be aware of the issue, if you weren't already.
I see a route to this but is nowhere in the diagram (unless I just don't see it).
IP ranges are hardcoded into the two-tier-sample template, meaning the template usually requires reworking for each environment, as opposed to just working with the parameters file.
It would be useful if we could deploy "VM-Series Next-Generation Firewall from Palo Alto Networks" from Azure marketplace (azure portal) into an availability set or availability zone; unfortunately the deployment wizard doesn't include the option - so we have to use ARM or delete the VM and recreate it from disk in an availability set.
I get this error when trying to deploy:
Deployment to resource group '2-tier-demo-rg' failed.
Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "VMExtensionProvisioningError",\r\n "message": "VM has reported a failure when processing extension 'db-vm-customscript'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n\n[stderr]\nE: can not open /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_InRelease - fopen (2: No such file or directory)\nTraceback (most recent call last):\n File \"config_mysql.py\", line 190, in \n main()\n File \"config_mysql.py\", line 36, in main\n if (config_mysql() == 'false'):\n File \"config_mysql.py\", line 64, in config_mysql\n looger.info(\"[ERROR]: apt-get update error\")\nNameError: global name 'looger' is not defined\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "\r\n }\r\n ]\r\n }\r\n}"}]}
The reference file for baseUrl is nowhere to be found.
Parameters: baseUrl
"defaultValue": "https://raw.githubusercontent.com/PaloAltoNetworks/azure/master/vmseries-avset"
When I try to this template I get an error will filling in the requested info on the first form where it requests storage accoutn name, resource group etc.
It hangs on the DNS names for the fw and the NATVM:
In the region North Europe I see several instances of this template deployed so that means the prerequisite to deploy it via the marketplace once per region has already been fulfilled.
Is there a bug in this template, am I doing something wrong or is there an issue with Azure?
Thx,
Tom
This issue was opened by a bot called Community Health (PANW) because this repo has failed too many community health checks.
Repo maintainers: Please take the time to fix the issues in the table to reach the target score. These improvements will help others find your work and contribute to it. This issue will update as your score improves until it hits the target score.
Click More info for instructions to fix each item.
Health Check | Pass | Score | More Info |
---|---|---|---|
Contains a meaningful README.md file | ✅ | 20 / 20 | More info |
SUPPORT.md file exists | ❌ | 0 / 20 | More info |
Repo has a description | ✅ | 15 / 15 | More info |
Has a recognized open source license | ❌ | 0 / 15 | More info |
Has a descriptive repo name | ❌ | 0 / 15 | More info |
Required topics attached to repo | ✅ | 15 / 15 | More info |
CONTRIBUTING.md file with contribution guidelines | ❌ | 0 / 5 | More info |
Has custom issue and pull request templates | ❌ | 0 / 5 | More info |
Current score: 50
Target threshold: 100
Total possible: 110
Hi All,
I'm getting the following error when trying to deploy
Deployment validation failed.
Additional details from the underlying API that might be helpful: The template deployment 'Microsoft.Template' is not valid according to the validation procedure. The tracking id is '7a8ad30b-1c22-44fb-bcb6-204d43004a20'. See inner errors for details. Please see https://aka.ms/arm-deploy for usage details.
Any ideas?
Thanks in advance,
Chris
Is anyone working on adapting this template to use a pre-existing VNET? Or know of one. Prefer to know prior to adapting this one.
readme of PaloAltoNetworks/azure
There are stale links in the readme for the Azure marketplace and the PaloAlto technical documentation.
Provide updated links to current content/documentation
The vmseries1 offer is no longer visible in the marketplace, it's only vmseries-ngfw.
If the client tries to deploy and private marketplace is enabled, this error appears:
But the "vmseries1" offer appears to be delisted from the marketplace so it cannot be added. Please provide the offer ID info so that it can be added to a private marketplace via Set-AzMarketplacePrivateStoreOffer
Does this handle NATing multiple public IP addresses to unique addresses on the firewall? If so, what needs to be edited?
Where does $1 come from?
Is this script intended to be run just once when the VM is set up, or does it need to go into a startup script?
Hello,
I tried the use this custom template directly on Azure.
I have already the Hub-And-Spokes design on my Azure and I want to add the Palo Alto.
Unfortunately, the deployment fails because it wants to delete the existing vNet and just using it.
I tried with these repos :
Tried to edit the ARM code but didn't succeed either, it still wants to delete to recreate but not to just use existing vnet.
Create the Palo Alto VM Series on the existing vNet
The custom template tries to delete the existing vNet
Adding a Palo Alto VM series on a existing hub and spokes design on Azure
The validation of the template fails. is based on restrictions
Should not fail on the validation.
code": "InvalidTemplateDeployment",
"message": "The template deployment failed with error: 'The resource with id: '/subscriptions/d53bdfc8-4709-4943-bb57-f34c53495ea5/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' failed validation with message: 'The requested size for resource '/subscriptions/d53bdfc8-4709-4943-XXXX-f34cXXXXXX/resourceGroups/test7/providers/Microsoft.Compute/virtualMachines/pan-fw' is currently not available in location 'northcentralus' zones '' for subscription 'd53bdfc8-4709-4943-XXXXX-f34cXXXXXXX'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.'."
I changed on the template the size of the web server and dbserver. Looks like that VMs sizes are not available anymore on some regions.
I change the line: "gvmSize": "Standard_B1ls",
Run the template on a PAYG license on different US locations
Hello,
I am trying to deploy your AVSet template and when it tries I get the following error:
New-AzureRmResourceGroupDeployment : 2:09:01 PM - Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template parameters 'imageVersion, availabilitySetName' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'location, vmName, imageSku, imageOffer, imagePublisher, nicName, vmSize, adminUsername, adminPassword, newStorageAccount, sshKey'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.
I checked the template file and the parameters file and I cannot find any issues.
The template file clearly identifies both of the parameters it is complaining about.
I can deploy this template fine if I use the web gui but not through powershell.
Let me know if you require further details
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.