Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Object # has no method 'getCurrentSubscription'

$
0
0

I’m trying to use azure CLI (azure hdinsight cluster )  on   CentOS release 6.5 (Final)  CLI version 0.8.4 . 

Running 

azure hdinsight cluster create --clusterName $clusterName  --nodes 1  --location "West Europe" --storageAccountName "$defaultStorageAccount.blob.core.windows.net" --storageAccountKey $defaultStorageAccountKey --storageContainer"$clusterName" --username "$clusterAdmin"  --username $clusterAdmin --clusterPassword $clusterPassword

Give me an error 

Sun Jun 08 2014 18:05:31 GMT+0000 (UTC):
{ [TypeError: Object #<AzureCli> has no method 'getCurrentSubscription']
  stack: [Getter/Setter],
  __frame: 
   { name: 'getCluster__2',
     line: 177,
     file: '/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js',
     prev: 
      { name: 'createClusterCommand__1',
        line: 254,
        file: '/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js',
        prev: undefined,
        active: false,
        offset: 41,
        col: 19 },
     active: false,
     offset: 1,
     col: 17 },
  rawStack: [Getter] }
TypeError: Object #<AzureCli> has no method 'getCurrentSubscription'
    at createHDInsightManagementService (/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js:202:39)
    at listClusters__4 (/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js:194:24)
    at getCluster__2 (/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js:178:17)
    at createClusterCommand__1 (/usr/local/lib/node_modules/azure-cli/lib/commands/asm/hdinsight._js:295:19)

Anyone seen that before ??

Regards

Seb

p.s of-course all values for parameters are supplied :) I've just removed them 



Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>