ravening opened a new issue #69:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/69


   In earlier cloudmonkey, the default is profile is `local` and if we use the 
same config with `cmk` then it fails as it looks for `localcloud` in config 
file. It should work with either `localcloud` or `local` as default profile 
name to preserve backward compatibility
   
   ```
   () 🐱 > list zones
   Please provide either apikey/secretkey or username/password to make an API 
call
   🙈 Error: failed to authenticate to make API call
   () 🐱 >
   ```
   
   explicitly mentioning `local` works
   
   ```
   # cmk -p local
   Apache CloudStack 🐵 CloudMonkey 6.1.0
   Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
   
   (local) 🐱 > list zones
   {
     "count": 1,
     "zone": [
       {
         "allocationstate": "Enabled",
         "dhcpprovider": "VirtualRouter",
         "dns1": "8.8.8.8",
         "guestcidraddress": "192.168.10.0/24",
         "id": "8ae93aed-7db1-4a1a-9030-db0efac6ba62",
         "internaldns1": "8.8.4.4",
         "localstorageenabled": false,
         "name": "mgt122-10",
         "networktype": "Advanced",
         "securitygroupsenabled": false,
         "tags": [],
         "zonetoken": "09-97f3-34cf-bba1-5fc23fcb"
       }
     ]
   }
   (local) 🐱 >
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to