Error creating Azure host

I am trying to add a host from azure environment. While I have updated the azure.conf file as follows, my host gets the following error. Nothing goes past it:

Command execution fail: /var/lib/one/remotes/im/run_probes az /var/lib/one//datastores 4124 20 9 south-central-us
Mon Jun 4 12:26:44 2018 [Z0][InM][I]: /usr/share/ruby/psych.rb:248:in parse': (<unknown>): could not find expected ':' while scanning a simple key at line 8 column 9 (Psych::SyntaxError) Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from /usr/share/ruby/psych.rb:248:inparse_stream’
Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from /usr/share/ruby/psych.rb:196:in parse' Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from /usr/share/ruby/psych.rb:123:inload’
Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from /usr/lib/one/ruby/az_driver.rb:139:in initialize' Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from ./poll:32:innew’
Mon Jun 4 12:26:44 2018 [Z0][InM][I]: from ./poll:32:in `’
Mon Jun 4 12:26:44 2018 [Z0][InM][E]: Error executing poll
Mon Jun 4 12:26:44 2018 [Z0][InM][I]: ExitCode: 1

proxy_uri:
regions:
default:
region_name: “West Europe”
#Â pem_management_cert --> Absolute path to pem management certificate
#Â Info on creating certificates:
# http://azure.microsoft.com/en-us/documentation/articles/linux-use-ssh-key/
pem_management_cert:/root/vOneCloud.pem
subscription_id:
management_endpoint:
capacity:
Small: 5
Medium: 1
Large: 0
west-europe:
region_name: “West Europe”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small: 5
Medium: 1
Large: 0
north-europe:
region_name: “North Europe”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
east-us:
region_name: “East US”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
south-central-us:
region_name: “South Central US”
pem_management_cert:/root/vOneCloud.pem
subscription_id:xyz@xyz.com
management_endpoint:
capacity:
Small:5
Medium:5
Large:2
west-us:
region_name: “West US”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
east-asia:
region_name: “East Asia”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
southeast-asia:
region_name: “Southeast Asia”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
japan-west:
region_name: “Japan West”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
brazil-south:
region_name: “Brazil South”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
instance_types:
ExtraSmall:
cpu: 1
memory: 0.768
Small:
cpu: 1
memory: 1.75
Medium:
cpu: 2
memory: 3.5
Large:
cpu: 4
memory: 7.0
ExtraLarge:
cpu: 8
memory: 14.0
A5:
cpu: 2
memory: 14.0
A6:
cpu: 4
memory: 28.0
A7:
cpu: 8
memory: 56.0
A8:
cpu: 8
memory: 56.0
A9:
cpu: 16
memory: 112.0
A10:
cpu: 8
memory: 56.0
A11:
cpu: 16
memory: 112.0
Standard_A1_v2:
cpu: 1
memory: 2.0
Standard_A2_v2:
cpu: 2
memory: 4.0
Standard_A4_v2:
cpu: 4
memory: 8.0
Standard_A8_v2:
cpu: 8
memory: 16.0
Standard_A2m_v2:
cpu: 2
memory: 16.0
Standard_A4m_v2:
cpu: 4
memory: 32.0
Standard_A8m_v2:
cpu: 8
memory: 64.0
Standard_D1:
cpu: 1
memory: 3.5
Standard_D2:
cpu: 2
memory: 7.0
Standard_D3:
cpu: 4
memory: 14.0
Standard_D4:
cpu: 8
memory: 28.0
Standard_D11:
cpu: 2
memory: 14.0
Standard_D12:
cpu: 4
memory: 28.0
Standard_D13:
cpu: 8
memory: 56.0
Standard_D14:
cpu: 16
memory: 112.0
Standard_D1_v2:
cpu: 1
memory: 3.5
Standard_D2_v2:
cpu: 2
memory: 7.0
Standard_D3_v2:
cpu: 4
memory: 14.0
Standard_D4_v2:
cpu: 8
memory: 28.0
Standard_D5_v2:
cpu: 16
memory: 56.0
Standard_D11_v2:
cpu: 2
memory: 14.0
Standard_D12_v2:
cpu: 4
memory: 28.0
Standard_D13_v2:
cpu: 8
memory: 56.0
Standard_D14_v2:
cpu: 16
memory: 112.0
Standard_D15_v2:
cpu: 20
memory: 140.0
Standard_G1:
cpu: 2
memory: 28.0
Standard_G2:
cpu: 4
memory: 56.0
Standard_G3:
cpu: 8
memory: 112.0
Standard_G4:
cpu: 16
memory: 224.0
Standard_G5:
cpu: 32
memory: 448.0
Standard_H8:
cpu: 8
memory: 56.0
Standard_H16:
cpu: 16
memory: 112.0
Standard_H8m:
cpu: 8
memory: 112.0
Standard_H16m:
cpu: 16
memory: 224.0
Standard_H16r:
cpu: 16
memory: 112.0
Standard_H16mr:
cpu: 16
memory: 224.0

Looks like the yaml parsing is failing.

please check your indentation and make sure that you are checking lines like:

             pem_management_cert:/root/vOneCloud.pem

try to left after : the proper space and put values in quotation marks for better readibility (i think that they are not mandatory).

Hi, I made the following changes but still the same error:

proxy_uri:
regions:
default:
region_name: “West Europe”
#Â pem_management_cert --> Absolute path to pem management certificate
#Â Info on creating certificates:
# http://azure.microsoft.com/en-us/documentation/articles/linux-use-ssh-key/
pem_management_cert: “/root/vOneCloud.pem”
subscription_id: “9a25cec4-c36a-4e0e-aae1-bfb51eb9d83”
management_endpoint:
capacity:
Small: 5
Medium: 1
Large: 0
west-europe:
region_name: “West Europe”
pem_management_cert: “/root/vOneCloud.pem”
subscription_id: “9a25cec4-c36a-4e0e-aae1-bfb51eb9783”
management_endpoint:
capacity:
Small: 5
Medium: 1
Large: 0
north-europe:
region_name: “North Europe”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
east-us:
region_name: “East US”
pem_management_cert:
subscription_id:
management_endpoint:
capacity:
Small:
Medium:
Large:
south-central-us:
region_name: “South Central US”
pem_management_cert: “/root/vOneCloud.pem”
subscription_id: “9a25cec4-c36a-4e0e-aae1-bfb51e7d83”
management_endpoint:
capacity:
Small:5
Medium:5
Large:2