Bug #3177

OneFlow template regex error

Added by Infinite Loop almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:09/05/2014
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Sunstone
Target version:Release 4.10
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.8

Description

hi. we got the following error message using:
- opennebula 4.8 (virtualbox sandbox image)
- OS-X host
- safari browser

We are trying to instantiate an OneFlow Template.

This are the template parameters we used:
Type: CHANGE
Adjust: 1
Min: -
Expression: CPU > 80
Periods: 3
Period: 10
Cooldown: -

The template is saved successfully, but on instantiation we get this error message:

Role 'testrole', elasticity policy #0 'expression' parse error: Expected one of , ==, =, !=, <>, >=, >, <=, < at line 1, column 5 (byte 5) after CPU

what can we do ?
best regards

fix.patch Magnifier (663 Bytes) Carlos Martín, 10/03/2014 02:01 PM

Associated revisions

Revision 2999576f
Added by Carlos Martín over 6 years ago

Bug #3177: Fix oneflow-template tab to allow vnet names with spaces

Revision ee6a807f
Added by Carlos Martín over 6 years ago

Bug #3177: Fix regex error for flow template instantiate

Revision 5146896e
Added by Carlos Martín over 6 years ago

Bug #3177: Fix regex error for flow template instantiate in cloud view

History

#1 Updated by Carlos Martín almost 7 years ago

  • Target version set to 67

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

  • Target version changed from 67 to Release 4.10

#3 Updated by Carlos Martín almost 7 years ago

It can be temporarily fixed with the attached patch. We'll need to check if a more complete solution is needed, or commit this change directly.

#4 Updated by Carlos Martín over 6 years ago

  • Assignee set to Carlos Martín

#5 Updated by Carlos Martín over 6 years ago

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

#6 Updated by Carlos Martín over 6 years ago

  • Category changed from OneFlow to Sunstone
  • Status changed from Closed to New
  • Resolution deleted (fixed)

Same problem persists in the cloud view

#7 Updated by Carlos Martín over 6 years ago

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

Also available in: Atom PDF