Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't support xaas blueprints and blows with a nill class error #77

Open
Bharat2190 opened this issue May 29, 2019 · 0 comments

Comments

@Bharat2190
Copy link

Versions: 2.7.1

  • Version of vmware-vra-gem:2.7.1
  • Version of chef:
  • Version of ruby:2.5

Platform Details

  • Version of vRA:
  • Version of ESXi:

Scenario:

i am trying to send a request to vra using the gem for xaas blueprint and it blows up looking for the blueprint name which xaas blueprints do not provide.

Steps to Reproduce:

Expected Result:

the vra gem should be able to make a request to vra with the catalog items provided to provision a machine. But, it throws an error for the blueprint id which t collects for the catalog items.

Actual Result:

VMs\",\"state\":\"BEGIN\",\"log_lvl\":\"INFO\",\"message\":\"Beginning process\"}}"

/usr/lib64/ruby/gems/2.5.0/gems/vmware-vra-2.7.1/lib/vra/catalog_request.rb:56:in request_from_payload': undefined method []' for nil:NilClass (NoMethodError)
from scripts/vra_vm_build.rb:101:in block in submit_vra_vm_request' from scripts/vra_vm_build.rb:98:in times'
from scripts/vra_vm_build.rb:98:in submit_vra_vm_request' from scripts/vra_vm_build.rb:214:in create_vra_vm_request'
from scripts/vra_vm_build.rb:363:in run' from scripts/vra_vm_build.rb:416:in

'
"{"time":"1559155446.6994432213","host":"aos-pipeline-xaas-test-q6pkc-56vhh\n","sourcetype":"_json","event":{"correlationId":"53193364-3139-4a6f-b3cd-191a6764ac5a_b98fb29c-99bd-4425-8da4-b60a84e4647c_a61c83d4-b175-4eef-a96c-949ff528b333","actor":"AOS.automated_testing","action":"Clean up provisioned VMs","state":"END","log_lvl":"INFO","message":"Successfully destroyed VMs"}}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant