oracle / oci-designer-toolkit

OCI designer toolKIT (OKIT) is a set of tools for enabling design, deploy and visualise OCI environments through a graphical web based interface.
Universal Permissive License v1.0
264 stars 130 forks source link

Unable to retrieve information from OCI #216

Closed Habibur1251 closed 2 years ago

Habibur1251 commented 3 years ago

I followed the installation instruction properly.

This is my config file looks like [DEFAULT] user=ocid1.user.oc1..aaaaaaaabvugqwgermwvmwtmr45aqe7qaor5ydtvinhr6o5d5jq..... fingerprint=89:fb:0b:48:be:9b:92:6e:f9:00:13:1d:79...... key_file=~/.oci/okit.pem tenancy=ocid1.tenancy.oc1..aaaaaaam52zxcraq5sr3phbb3ffp5walcgyx2zm4ebflra.... region=us-ashburn-1

I have uploaded public key as well. But on OKIT portal I am not able to connect with OCI

toxophilist commented 3 years ago

@Habibur1251 if you check the logs what messages do you see

toxophilist commented 3 years ago

@Habibur1251 can you use the oci cli with these credentials to access your tenancy

henremurr commented 3 years ago

After creating ssh keys and creating the config file; I had to do the following:

cp ~/.oci/* /okit/oci-designer-toolkit/containers/oci
rm /okit/oci-designer-toolkit/containers/oci/example_config
cp ~/.ssh/* /okit/oci-designer-toolkit/containers/ssh
rm /okit/oci-designer-toolkit/containers/ssh/example_config

The above is mentioned in the Install Guide but I missed it three times (skimming too fast) ...

Then rebuild (I used Docker-Compose) ...

cd /okit/oci-designer-toolkit/containers/docker
docker-compose stop
docker-compose rm
docker rmi okit

cd /root/oci-designer-toolkit/containers/docker
docker-compose build
docker-compose start
docker-compose top

After rebuild, I clear my browser history.

I hope this helps.

toxophilist commented 3 years ago

@Habibur1251 Are you still seeing the issue

vittoriocioe commented 3 years ago

Hello, I am encountering this very same issue. I am deploying okit using the Quick start from installation guide. I tried the procedure listed above but no success. Still querying OCI is failing. Any suggestions?

toxophilist commented 2 years ago

Update documentation to improve quick start