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

Vmware Customization doesn't (seem to) pick up run-once commands #37

Closed
finkelamein opened this issue May 31, 2016 · 6 comments
Closed

Comments

@finkelamein
Copy link

see https://groups.google.com/forum/#!topic/foreman-users/ixUzNUJ7dkY
and
http://projects.theforeman.org/issues/14979

I'm trying to pinpoint where to look for the bug.
Sadly i'm mostly blind for the part between rendered template and actual sysprep in the windows client.

@jrgarcia
Copy link
Contributor

jrgarcia commented May 31, 2016

@finkelamein I'm not familiar with Foreman or Windows, but we do parse the YAML here. It appears the YAML that you mention here is an ERB template. I would need to see the rendered YAML to see what's going on in our code. Though, we really don't do anything, but transform the YAML to a Hash and pass it on. The underlying problem may actually be in RbVmomi. If you can get that rendered YAML, I will definitely trace the problem through Fog to see what's happening.

@finkelamein
Copy link
Author

See attached file, that is the foreman rendered yaml.
w2k8r2-sysprep.yaml.txt

@jrgarcia
Copy link
Contributor

jrgarcia commented Jun 3, 2016

That YAML makes it through fog-vsphere just fine. The problem may be in RbVmomi.

@finkelamein
Copy link
Author

To aid debugging in RbVmomi, can you pastebin the data you pass to RbVmomi?

@jrgarcia
Copy link
Contributor

jrgarcia commented Jun 8, 2016

@finkelamein It's a Ruby Hash object. You can see the output here: https://gist.github.com/jrgarcia/049d5d7d1c02bd7ba9a607aed817ed8a

@jrgarcia
Copy link
Contributor

jrgarcia commented Jul 8, 2016

@finkelamein I'm going to close this for now. However, if you hear anything from RbVmomi that leads to you thinking this is occurring inside of fog-vsphere, please don't hesitate to re-open this.

@jrgarcia jrgarcia closed this as completed Jul 8, 2016
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

2 participants