2019-02-02 18:34:34 |
james beedy |
bug |
|
|
added bug |
2019-02-02 19:03:02 |
james beedy |
description |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {} |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
This^ is one place where the user facing messaging does not help the user. The user just added the cloud 'pdl-maas', why is juju telling the user the cloud cannot be found? I'm thinking the messaging here should be something to the affect of "Cloud 'pdl-maas' found, you need a controller admin to grant you 'superuser' privileges in order to add a model."
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found.
This^ messaging seems accurate, but is not helpful. In the light of "this is what you should do to remedy this issue that is happening", the user only get an error message, not a direction for what to do to move forward.
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {}
These last two messages are confusing because user 'bdx' just added the credential 'bdx' for the cloud 'pdl-maas'. |
|
2019-02-02 19:03:52 |
james beedy |
description |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
This^ is one place where the user facing messaging does not help the user. The user just added the cloud 'pdl-maas', why is juju telling the user the cloud cannot be found? I'm thinking the messaging here should be something to the affect of "Cloud 'pdl-maas' found, you need a controller admin to grant you 'superuser' privileges in order to add a model."
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found.
This^ messaging seems accurate, but is not helpful. In the light of "this is what you should do to remedy this issue that is happening", the user only get an error message, not a direction for what to do to move forward.
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {}
These last two messages are confusing because user 'bdx' just added the credential 'bdx' for the cloud 'pdl-maas'. |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
This^ is one place where the user facing messaging does not help the user. The user just added the cloud 'pdl-maas', why is juju telling the user the cloud cannot be found? Possibly the messaging here could be something to the affect of "Cloud 'pdl-maas' found, you need a controller admin to grant you 'superuser' privileges in order to add a model."
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found.
This^ messaging seems accurate, but is not helpful. In the light of "this is what you should do to remedy this issue that is happening", the user only get an error message, not a direction for what to do to move forward.
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {}
These last two messages are confusing because user 'bdx' just added the credential 'bdx' for the cloud 'pdl-maas'. |
|
2019-02-02 21:37:13 |
Ian Booth |
juju: milestone |
|
2.5.2 |
|
2019-02-02 21:37:17 |
Ian Booth |
juju: importance |
Undecided |
High |
|
2019-02-02 21:37:21 |
Ian Booth |
juju: status |
New |
Triaged |
|
2019-03-11 23:02:00 |
Canonical Juju QA Bot |
juju: milestone |
2.5.2 |
2.5.3 |
|
2019-03-26 02:09:21 |
Canonical Juju QA Bot |
juju: milestone |
2.5.3 |
2.5.4 |
|
2019-04-02 01:46:42 |
Canonical Juju QA Bot |
juju: milestone |
2.5.4 |
2.5.5 |
|
2019-05-14 06:25:15 |
Anastasia |
juju: milestone |
2.5.6 |
2.5.8 |
|
2019-06-25 03:01:02 |
Anastasia |
description |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
This^ is one place where the user facing messaging does not help the user. The user just added the cloud 'pdl-maas', why is juju telling the user the cloud cannot be found? Possibly the messaging here could be something to the affect of "Cloud 'pdl-maas' found, you need a controller admin to grant you 'superuser' privileges in order to add a model."
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found.
This^ messaging seems accurate, but is not helpful. In the light of "this is what you should do to remedy this issue that is happening", the user only get an error message, not a direction for what to do to move forward.
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {}
These last two messages are confusing because user 'bdx' just added the credential 'bdx' for the cloud 'pdl-maas'. |
The controller admin adds the user 'bdx' to the controller, 'bdx' runs the register command, by default the 'bdx' user gets 'login' privileges on the controller.
The following is being ran as the 'bdx' user.
$ juju add-cloud
Cloud Types
lxd
maas
manual
openstack
vsphere
Select cloud type: maas
Enter a name for your maas cloud: pdl-maas
Enter the API endpoint url: http://10.10.0.100:5240/MAAS/
Cloud "pdl-maas" successfully added
You will need to add credentials for this cloud (`juju add-credential pdl-maas`)
before creating a controller (`juju bootstrap pdl-maas`).
$ juju users
Controller: pdl-maas
Name Display name Access Date created Last connection
bdx* bdx login 2019-02-01 just now
FRICTION POINT 1:
$ juju add-model mymodel
ERROR cloud "pdl-maas" not found
This^ is one place where the user facing messaging does not help the user. The user just added the cloud 'pdl-maas', why is juju telling the user the cloud cannot be found? Possibly the messaging here could be something to the affect of "Cloud 'pdl-maas' found, you need a controller admin to grant you 'superuser' privileges in order to add a model."
At this point the controller admin grants the 'bdx' user 'superuser' privileges on the controller.
FRICTION POINT 2:
$ juju add-model mymodel
ERROR detecting credentials for "pdl-maas" cloud provider: maas credentials not found.
This^ messaging seems accurate, but is not helpful. In the light of "this is what you should do to remedy this issue that is happening", the user only get an error message, not a direction for what to do to move forward.
At this point user 'bdx' adds credential for cloud 'pdl-maas'.
$ juju add-credential pdl-maas
Enter credential name: bdx
Using auth-type "oauth1".
Enter maas-oauth:
Credential "bdx" added locally for cloud "pdl-maas".
$ juju credentials
Cloud Credentials
pdl-maas bdx
FRICTION POINT 3:
$ juju add-model mymodel
ERROR getting credential: cloud credential "pdl-maas/bdx/bdx" not found (not found)
$ juju show-credential pdl-maas bdx
cloud credential "pdl-maas/bdx/bdx" not found
controller-credentials: {}
These last two messages are confusing because user 'bdx' just added the credential 'bdx' for the cloud 'pdl-maas'. |
|
2019-06-25 03:36:54 |
Anastasia |
juju: milestone |
2.5.8 |
2.7-beta1 |
|
2019-06-25 03:36:57 |
Anastasia |
juju: assignee |
|
Anastasia (anastasia-macmood) |
|
2019-06-25 03:37:02 |
Anastasia |
juju: status |
Triaged |
In Progress |
|
2019-06-25 03:37:23 |
Anastasia |
tags |
|
add-credential credenitals show-credential |
|
2019-07-19 03:48:48 |
Anastasia |
juju: status |
In Progress |
Fix Committed |
|
2019-12-09 03:26:50 |
Anastasia |
juju: status |
Fix Committed |
Fix Released |
|