chef-boneyard / knife-oraclecloud

Knife plugin for Oracle Cloud Infrastructure Classic
Apache License 2.0
4 stars 5 forks source link

Orchestration list command errors out with hard-coded email #8

Closed prparmar77 closed 8 years ago

prparmar77 commented 8 years ago

[opc@fb0611 ~]$ knife oraclecloud orchestration list ERROR: OracleCloud::Exception::HTTPNotFound: Orchestration "/Compute-usoracle49873/tony.nicotera@oracle.com/dbaas" not found

jjasghar commented 8 years ago

@prparmar77 can you run with -VV after so we can see the debug output please?

prparmar77 commented 8 years ago

[opc@fb0611 ~]$ knife oraclecloud orchestration list -vv Chef: 12.9.38

jjasghar commented 8 years ago

Awesome, how about knife oraclecloud orchestration list -VV ?

prparmar77 commented 8 years ago
[opc@fb0611 ~]$ knife oraclecloud orchestration list -VV
INFO: Using configuration from /home/opc/.chef/knife.rb
/home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/client.rb:257:in `raise_http_exception': Orchestration "/Compute-us                     oracle49873/tony.nicotera@oracle.com/dbaas" not found (OracleCloud::Exception::HTTPNotFound)
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/client.rb:192:in `rescue in http_get'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/client.rb:185:in `http_get'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/client.rb:159:in `asset_get'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/client.rb:173:in `single_item'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/asset.rb:44:in `fetch'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/asset.rb:31:in `initialize'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:44:in `new'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:44:in `block (2 levels) in all'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:43:in `each'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:43:in `block in all'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:42:in `each'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:42:in `each_with_object'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/oraclecloud-1.1.0/lib/oraclecloud/assets.rb:42:in `all'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/knife-oraclecloud-1.2.0/lib/chef/knife/cloud/oraclecloud_service.rb:137:in `list_orchest                     rations'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/knife-oraclecloud-1.2.0/lib/chef/knife/oraclecloud_orchestration_list.rb:46:in `query_re                     source'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/list_resource_command.rb:35:in `execute_command'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/command.rb:51:in `run'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/lib/chef/knife.rb:421:in `block in run_with_pretty_exceptions'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/lib/chef/local_mode.rb:44:in `with_server_connectivity'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/lib/chef/knife.rb:420:in `run_with_pretty_exceptions'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/lib/chef/knife.rb:219:in `run'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/lib/chef/application/knife.rb:148:in `run'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/gems/chef-12.9.38/bin/knife:25:in `<top (required)>'
        from /home/opc/.rvm/rubies/ruby-2.3.0/bin/knife:23:in `load'
        from /home/opc/.rvm/rubies/ruby-2.3.0/bin/knife:23:in `<main>'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/bin/ruby_executable_hooks:15:in `eval'
        from /home/opc/.rvm/gems/ruby-2.3.0@global/bin/ruby_executable_hooks:15:in `<main>'
prparmar77 commented 8 years ago

Looks like the issue is with account(identity domain) which has some Dbaas related instance also along with compute services and therefore gives specific email/dbaas information.I tried changing my identity domain which has not Dbaas services created and it works fine ..