ERROR PUT request failed: BadRequest - XML Schema validation error in network configuration at line 54,18. (http code 400: Bad Request)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
Followed configuration steps here: https:/
1) When using a storage account that is part of an affinity group I get:
ERROR POST request failed: BadRequest - The affinity group name is empty or was not specified. (http code 400: Bad Request)
2) When using a stand alone storage account I get:
ERROR PUT request failed: BadRequest - XML Schema validation error in network configuration at line 54,18. (http code 400: Bad Request)
when using the Windows version instead of the Ubuntu one I get:
Microsoft Windows [Versión 6.3.9600]
C:\Program Files (x86)\Juju>juju bootstrap
WARNING unknown config field "public-
WARNING unknown config field "public-
Bootstrap failed, destroying environment
ERROR Bootstrap failed, and the environment could not be destroyed: cannot get i
nstances: crypto/tls: failed to parse key: ASN.1 structure error: tags don't mat
ch (2 vs {class:0 tag:16 length:1113 isCompound:true}) {optional:false explicit:
false application:false defaultValue:<nil> tag:<nil> stringType:0 set:false omit
Empty:false} int @4
ERROR crypto/tls: failed to parse key: ASN.1 structure error: tags don't match (
2 vs {class:0 tag:16 length:1113 isCompound:true}) {optional:false explicit:fals
e application:false defaultValue:<nil> tag:<nil> stringType:0 set:false omitEmpt
y:false} int @4
Any help would be greatly appreciated. Let me know if you need any additional information.
Thanks!
tags: | added: azure-provider |
Changed in juju-core: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
tags: | added: bootstrap |
Changed in juju-core: | |
milestone: | none → 1.19.1 |
Changed in juju-core: | |
milestone: | 1.19.1 → 1.20.0 |
Changed in juju-core: | |
milestone: | 1.20.0 → next-stable |
Changed in juju-core: | |
milestone: | 1.20.0 → none |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I haven't seen an error like this before, but I see lots of intermittent errors with azure.
1. Check that the jenv file was not left behind an early attempt because juju will use it instead of environments.yaml. environments/ azure.jenv metadata- url: https:/ /jujutools. blob.core. windows. net/juju- tools/tools
rm ~/.juju/
2. The only differerence between my config and the one from the docs is that I specify where to find the tools
tools-
3. The location must be
location: West US
I have never gotten juju to work with a different location