Bug #2951

Invalid RAW syntax found in vmm_exec conf files

Added by EOLE Team about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:05/27/2014
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 4.8
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.6

Description

The #2258 makes the RAW examples in vmm_exec use the new syntax but it does not works.

I tried this:

RAW = [ type = "kvm", data = "<devices><video><model type='vga' heads='1'/></video></devices>" ]

the deployement.0 files do not contains the raw data.

Then I tried this:

RAW = "<devices><video><model type='vga' heads='1'/></video></devices>" 

now the deployement.0 files contains the raw data.

Associated revisions

Revision 984bad9f
Added by Ruben S. Montero about 7 years ago

bug #2951: This reverts commit 76164fa1d031f58d21ee4621cef07bcc46c9d5d4. Hypervisor RAW syntax for default configuration files is RAW = "raw_value"

Revision 2800534f
Added by Ruben S. Montero about 7 years ago

bug #2951: This reverts commit 76164fa1d031f58d21ee4621cef07bcc46c9d5d4. Hypervisor RAW syntax for default configuration files is RAW = "raw_value"

(cherry picked from commit 984bad9fe8cfbe09fdf57ec3bb440567a0a6b06c)

History

#1 Updated by EOLE Team about 7 years ago

Defining the type in the vmm_exec_<type>.conf files seems useless since the type is in the conf file name.

#2 Updated by Ruben S. Montero about 7 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

Yes

RAW = [ TYPE = ... , DATA = ... ]

is for VMs

RAW = ...

is for vmm_exec.conf files, as noted the TYPE is not needed in those files

Closing this, as it seems that is working as expected:

http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#usage

#3 Updated by EOLE Team about 7 years ago

Ruben S. Montero wrote:

is for vmm_exec.conf files, as noted the TYPE is not needed in those files

Closing this, as it seems that is working as expected:

http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#usage

But the sources are not correct:

I think 76164fa1d031f58d21ee4621cef07bcc46c9d5d4 could be reverted.

#4 Updated by Ruben S. Montero about 7 years ago

  • Status changed from Closed to New
  • Target version set to Release 4.8

You are totally right, thanks for the heads up

#5 Updated by Ruben S. Montero about 7 years ago

  • Assignee set to Ruben S. Montero
  • Resolution deleted (worksforme)

#6 Updated by Ruben S. Montero about 7 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF