[
https://issues.apache.org/jira/browse/DTACLOUD-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565449#comment-13565449
]
Joseph J. VLcek commented on DTACLOUD-437:
------------------------------------------
Curl directly to RHEVm works correctly. Issue is in gem.
See: https://bugzilla.redhat.com/show_bug.cgi?id=905205
The problem seems to be in rbovirt lib/ovirt/vm.rb
"_file" should be "file". The suspicion is a Nokogiri change likely
surfaced this as it used to work fine with "_file".
...
payloads {
payload(:type => 'floppy') {
_file(:name => "#{opts[:fileinject_path] ||
OVIRT::FILEINJECT_PATH}") { content(Base64::decode64(opts[:user_data])) }
}
} if(opts[:user_data_method] && opts[:user_data_method] == :payload)
...
> Empty user-data genrated on rhevm3.1 instance
> ----------------------------------------------
>
> Key: DTACLOUD-437
> URL: https://issues.apache.org/jira/browse/DTACLOUD-437
> Project: DeltaCloud
> Issue Type: Bug
> Reporter: Joseph J. VLcek
> Assignee: Joseph J. VLcek
>
> If using curl or the web interface to pass user-data when creating an
> instance on
> rhev3.1 the user-data is empty.
> # modprobe floppy
> # mount /dev/fd0 /media
> ...
> # ls -aFl /media/*
> -rwxr-xr-x. 1 root root 0 Jan 24 2013 /media/vmPayload*
> # cat /media/vmPayload
> <nada>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira