Trying to deploy Canonical k8s on Canonical OpenStack on 18.04. I:

  1. Deployed OpenStack on a box with 16G memory, 512G disk with a bridged network
  2. Login to horizon: a. Create a domain called "k8s_domain" b. Create project in k8s_domain called "kubernetes" c. Create user "k8s" thats a user in kubernetes/k8s_domain d. Make k8s an admin in kubernetes/k8s_domain e. Download the openstack v3 rc file
  3. Source k8s' rc file
  4. Create ec2 credentials "openstack ec2 credentials create"
  5. on the server, run conjure-up kubernetes
  6. choose openstack for my cloud username = k8s password = **** domain name = k8s_domain project domain name = kubernetes access key = **** secret key = ****
  7. When clicking "save" - Review log messages at /home/os/.cache/conjure-up/conjure-up.log If appropriate, please submit a bug here:
    https://github.com/conjure-up/conjure-up/issues/new

Here's the log:

2018-10-14 20:49:56,198 [ERROR] conjure-up/canonical-kubernetes - events.py:161 - Unhandled exception in <Task finished coro=<CredentialsController._save_credential() done, defined at /snap/conjure-up/1030/lib/python3.6/site-packages/conjureup/controllers/juju/credentials/gui.py:76> exception=NotImplementedError()>
Traceback (most recent call last):
  File "/snap/conjure-up/1030/lib/python3.6/site-packages/conjureup/controllers/juju/credentials/gui.py", line 109, in _save_credential
    juju.get_cloud(app.provider.cloud)
  File "/snap/conjure-up/1030/lib/python3.6/site-packages/conjureup/juju.py", line 533, in get_cloud
    raise LookupError("Unable to locate cloud: {}".format(name))
LookupError: Unable to locate cloud: cloud-openstack-5c0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/snap/conjure-up/1030/lib/python3.6/site-packages/conjureup/controllers/juju/credentials/gui.py", line 112, in _save_credential
    await app.provider.cloud_config())
  File "/snap/conjure-up/1030/lib/python3.6/site-packages/conjureup/models/provider.py", line 170, in cloud_config
    raise NotImplementedError
NotImplementedError

How does conjur know which openstack cloud i want to talk to? Am I setting the wrong parameters? From the stack trace it looks like its missing how to identify the cloud. Did I miss a step?

Thanks

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.