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

NoMethodError: undefined method `start_with?' for nil:NilClass #23

Open
apuntamb opened this issue Feb 26, 2019 · 1 comment
Open

NoMethodError: undefined method `start_with?' for nil:NilClass #23

apuntamb opened this issue Feb 26, 2019 · 1 comment

Comments

@apuntamb
Copy link
Member

apuntamb commented Feb 26, 2019

In file compute.rb, vm_hash[:vhd_path] parameter is unable to fetch the image_id for the given image. This in turn, fails with the specified error NoMethodError: undefined method 'start_with?' for nil:NilClass`.

@apuntamb
Copy link
Member Author

As per recent findings, if Compute Profile field on Host tab, is selected before, the Image field on Operating System tab loads an image name and becomes a non-editable field. Therefore, the request does not send the image_id parameter and is retrieved as Nil.
But, if I do not select Compute Profile prior to selecting the arch & os on OS tab, the Image field shows a drop-down with the associated images and I can get the image_id value. So, I am unable to understand if this is the expected workflow or a bug.
Any pointers?

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