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

Deployment suceeds but firewall dosent start properly #26

Open
akingscote opened this issue Jul 16, 2020 · 1 comment
Open

Deployment suceeds but firewall dosent start properly #26

akingscote opened this issue Jul 16, 2020 · 1 comment
Labels

Comments

@akingscote
Copy link

akingscote commented Jul 16, 2020

Describe the bug

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!

Expected behavior

32 length character password dosent cause deployment issues despite conforming to password requirements.

Current behavior

A long password somehow breaks the deployment.

Possible solution

The current workaround i have is to use a small (12 character) alpha numeric password rather than a 32 character one.

Your Environment

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.

@akingscote akingscote added the bug label Jul 16, 2020
@welcome
Copy link

welcome bot commented Jul 16, 2020

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant