6.0.0_BETA1 r125994 and missing "~/.oci/config"

Postings relating to old VirtualBox pre-releases
Post Reply
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

6.0.0_BETA1 r125994 and missing "~/.oci/config"

Post by socratis »

The OCI export feature is broken with Version 6.0.0_BETA1 r125994 (Qt5.6.3), at least on OSX hosts:
  • There's only 3 export options, OVF 0.9, 1.0 and 2.0, no "Oracle Cloud Infrastructure".
  • The "Add" and "Import" buttons in the OCI Manager do nothing.
  • The output of "VBoxManage list cloudproviders" shows 0 providers:
    $ VBoxManage list cloudproviders
    Supported 0 cloud providers:
    $
The "fix" is to create a "~/.oci/config" file, based on the help from the page: https://docs.cloud.oracle.com/iaas/Cont ... config.htm (at the bottom). Save the contents of the following as "~/.oci/config" and the whole thing comes to life! ;)

Code: Select all

[DEFAULT]
user=ocid1.user.oc1..aaaaaaaat5nvwcna5j6aqzjcaty5eqbb6qt2jvpkanghtgdaqedqw3rynjq
fingerprint=20:3b:97:13:55:1c:5b:0d:d3:37:d8:50:4e:c5:3a:34
key_file=~/.oci/oci_api_key.pem
tenancy=ocid1.tenancy.oc1..aaaaaaaaba3pv6wkcr4jqae5f15p2b2m2yt2j6rx32uzr4h25vqstifsfdsq
region=us-ashburn-1

[ADMIN_USER]
# Subsequent profiles inherit unspecified values from DEFAULT.
user=ocid1.user.oc1..aaaaaaaa65vwl7zut55hiavppn4nbfwyccuecuch5tewwm32rgqvm6i34unq
fingerprint=72:00:22:7f:d3:8b:47:a4:58:05:b8:95:84:31:dd:0e
key_file=keys/admin_key.pem
pass_phrase=mysecretphrase
BTW, someone should change the default shortcut for the "Cloud Profile Manager". The Ctrl/Cmd+C is reserved by the OS for "Copy"...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
klaus
Oracle Corporation
Posts: 1133
Joined: 10. May 2007, 14:57

Re: 6.0.0_BETA1 r125994 and missing "~/.oci/config"

Post by klaus »

This quirk is fixed in https://download.virtualbox.org/virtual ... ox-extpack which is a slightly updated variant of the extension pack which you can use with the BETA1 base packages. It will make it much easier for users who want to try out the "export to OCI" feature, which needs having an OCI (Oracle Cloud Infrastructure) account. Evaluation access to OCI is available, check out the pages on the Oracle website for more information.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 6.0.0_BETA1 r125994 and missing "~/.oci/config"

Post by socratis »

It works better, but it still needs the "~/.oci/config" to be there, it can't be Imported. I take it that the last part (Importing) is a "not yet"... ;)

Tried on OSX 10.11.6, Win10-64, Mint 17-64. Need some 32-bit testing, just for kicks...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
klaus
Oracle Corporation
Posts: 1133
Joined: 10. May 2007, 14:57

Re: 6.0.0_BETA1 r125994 and missing "~/.oci/config"

Post by klaus »

You don't need any .oci/config (if you have it then the profiles in it are read of course). You can create all profiles in the GUI (there's a quirk though, a newly created profile shows as empty, just select some other entry in the list and then select the new profile again, it does contain the right details).
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 6.0.0_BETA1 r125994 and missing "~/.oci/config"

Post by socratis »

Ah, yes, I see it now, thanks Klaus.
Now, got to fill the details somehow... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply