Ticket #266 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Groups with single nodes do not get processed by Velocity correctly

Reported by: pruth Owned by: yxin
Priority: minor Milestone:
Component: ORCA: Network embedding and stitching Version: baseline
Keywords: Cc: ibaldin@…

Description

It seems that if we make a group with a single node in it the velocity template processing cannot address the group properties.

I have attached an rdf from Devarshi that has this problem.

Note: this may be related to the problem where single node groups cannot be modified. It feels like the controller is processing single node groups as if they are individual nodes.

Attachments

duke_hadoop_new_1.ndl (8.9 kB) - added by pruth 6 years ago.
Devarshi's rdf

Change History

Changed 6 years ago by pruth

Devarshi's rdf

Changed 5 years ago by pruth

To check this problem put $NodeGroupName?.size() in the post boot script. Velocity should replaced this with the number of nodes in the group. It works for node groups of any size except size 1.

Changed 5 years ago by yxin

  • status changed from new to closed
  • resolution set to fixed

fix the group name issue in a one node nodegroup. Now a one-node nodegroup and a single node can also be modified.

Changed 5 years ago by yxin

Note: See TracTickets for help on using tickets.