Opened 12 years ago

Closed 8 years ago

#496 closed defect (fixed)

IZ2533: qconf -mrqs adds extra space and linebreak, which cannot be read back

Reported by: wig Owned by:
Priority: normal Milestone:
Component: sge Version: 6.1u3
Severity: minor Keywords: Linux clients
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2533]

        Issue #:      2533             Platform:     All      Reporter: wig (wig)
       Component:     gridengine          OS:        Linux
     Subcomponent:    clients          Version:      6.1u3       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qconf -mrqs adds extra space and linebreak, which cannot be read back
   Status whiteboard:
      Attachments:

     Issue 2533 blocks:
   Votes for issue 2533:


   Opened: Fri Mar 21 13:11:00 -0700 2008 
------------------------


qconf -mrqs: Problems to read it’s own output:
If you try to edit a rule in non SGE_SINGLE_LINE mode, an added space
and line break in the "long" limits leads to
errors when you store and exit the editor (even
without changing a single character).

$ qconf -mrqs
{
name frcq_limit_550_usage
description Limit emulator slot usage to 2
enabled TRUE
limit users * projects frcq hosts muc-ax4x.micronas.com, \
muc-ax5x.micronas.com to axis_slots_550=2
}

---> returns:

unknown attribute name "muc-ax5x.micronas.com"
each value in the attribute value list in line 6 should end with
"<NEWLINE>"
unrecognized characters after the attribute values in line 6: "to"
each value in the attribute value list in line 6 should end with "}"

The \ is not recognized and both space and \ have to be removed
and all of the limit has to be on one line
before one can write back the rules successfully.

Change History (1)

comment:1 Changed 8 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.