Azure-docs: SSL create doesn't work

Created on 30 Apr 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

The example SSL config doesn't work - failing with

>>> ComputeTarget.create(ws, "example", provisioning_config)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/colin/anaconda3/lib/python3.6/site-packages/azureml/core/compute/compute.py", line 214, in create
    compute_type = provisioning_configuration._compute_type
AttributeError: 'NoneType' object has no attribute '_compute_type'

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

corsubsvc cxp machine-learninsvc product-question triaged

All 4 comments

@csteegz
Thanks for the feedback! We are currently investigating and will update you shortly.

Managed to work around the issue by issuing a separate function call to enable_ssl()
provisioning_config = AksCompute.provisioning_configuration()
provisioning_config.enable_ssl(leaf_domain_label = "myservice")

@csteegz Please send us an email if above not works for you at [email protected] We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

well we need to update the document... - I'll open a PR with the fix

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behnam89 picture behnam89  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

Ponant picture Ponant  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments