juju should warn on http url during add-cloud for lxd

Bug #1787605 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Undecided
Heather Lanigan

Bug Description

$ /snap/bin/juju add-cloud
Cloud Types
  lxd
  maas
  manual
  oci
  openstack
  oracle
  vsphere

Select cloud type: lxd

Enter a name for your lxd cloud: lxd-remote

Enter the API endpoint url for the remote LXD server: http://x.x.x.x:8443

Auth Types
  certificate

Select one or more auth types separated by commas [certificate]:

Enter region [default]:

Enter the API endpoint url for the region [use cloud api url]:

Enter another region? (y/N):

Cloud "lxd-remote" successfully added
You may need to `juju add-credential lxd-remote' if your cloud needs additional credentials
Then you can bootstrap with 'juju bootstrap lxd-remote'

$ juju add-credential lxd-remote
Enter credential name: admin

Auth Types
  certificate
  interactive

Select auth type [interactive]:

Enter trust-password:

Enter The LXD client certificate, PEM-encoded. (optional):

Enter The LXD client key, PEM-encoded. (optional):

Enter server-cert (optional):

Loaded client cert/key from "/home/heather/.local/share/juju/lxd"
ERROR finalizing credential: invalid URL "http://x.x.x.x:8443": only HTTPS is supported
$

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

 2.5-beta1+develop-ea6da15

Changed in juju:
milestone: none → 2.5-beta1
status: New → Triaged
tags: added: add-c lxd-provider
tags: added: add-cloud
removed: add-c
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Heather Lanigan (hmlanigan) wrote :
Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.