Custom Query (431 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 431)

Ticket Resolution Summary Owner Reporter
#314 fixed IZ1949: 2 instances of non well-formed XML output from "qstat -xml" Dave Love <d.love@…> craffi
Description

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

        Issue #:      1949             Platform:     All      Reporter: craffi (craffi)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.0u7       CC:    None defined
        Status:       STARTED          Priority:     P2
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:        http://gridengine.sunsource.net/servlets/BrowseList?list=dev&by=thread&from=7191
       * Summary:     2 instances of non well-formed XML output from "qstat -xml"
   Status whiteboard:
      Attachments:

     Issue 1949 blocks:
   Votes for issue 1949:


   Opened: Mon Dec 19 08:30:00 -0700 2005 
------------------------


Discussed on the dev mailing list via this thread:

http://gridengine.sunsource.net/servlets/BrowseList?list=dev&by=thread&from=7191

================
Problem #1
================

Summary:
'qstat -j <jobID> -xml' produces non-compliant (not well formed) XML output

Reproduce:
Run "qstat -xml -j <jobID>" on a job ID that does not exist

Sample ouput showing error:

chrisdag:~/sgetest dag$ qstat -j 11 -xml
<?xml version='1.0'?>
<unknown_jobs  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <>
   <ST_name>11</ST_name>
 </>
</unknown_jobs>

 -- and --

qstat -j 1234 -xml
error: can't unpack gdi request
error: error unpacking gdi request: bad argument
<?xml version='1.0'?>
<unknown_jobs  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <>
    <ST_name>1234</ST_name>
  </>
</unknown_jobs>



================
Problem #2
================

Summary:
When there are Grid Engine communication or access problems, "qstat -f -xml"
does not produce XML at all, or in some cases will produce non-well-formed XML
similar to Problem #1 described above

Reproduce:
Less convenient than problem #1. My specific problem was caused by a changing IP
address on the qmaster/execd node. This problem may be reproducable by
intentionaly generating a different sort of error.

Example:

chrisdag:~/sgetest dag$ qstat -f -xml

error: commlib error: access denied (client IP resolved to host name
"chrisdag.local". This is not identical to clients host name
"chrisdag-wireless.private.sonsorol.net")
unable to contact qmaster using port 701 on host "chrisdag.local"

   ------- Additional comments from roland Mon Feb 13 01:42:34 -0700 2006 -------
changed priority

   ------- Additional comments from olesen Fri Jun 26 03:45:56 -0700 2009 -------
*** Issue 3057 has been marked as a duplicate of this issue. ***

   ------- Additional comments from olesen Fri Jun 26 03:49:33 -0700 2009 -------
increase priority
The badly formatted <> and </> tags should be fairly trivial to avoid.

   ------- Additional comments from templedf Thu Dec 3 06:56:05 -0700 2009 -------
From Mark Olesen:

I suspect that problem is in libs/cull/cull_xml.c
lWriteListXML_ (not lWriteELemXML_).


There is no check before the corresponding fprintf.
Eg,

{
  fprintf(fp, "%s<%s%s>", indent, lGetString(elem, XMLA_Name),
     (is_attr?sge_dstring_get_string(&attr):""));
  fprintf(fp, "%s", lGetString(elem, XMLA_Value));
  lWriteListXML_(lGetList(ep, XMLE_List), nesting_level+1, fp);
  fprintf(fp, "</%s>\n", lGetString(elem, XMLA_Name));
}


Wouldn't it just be a simple case of doing this?

{
  const char* tag = lGetString(elem, XMLA_Name);

  if (tag != NULL && strlen(tag))
  {
    fprintf(fp, "%s<%s%s>", indent, tag,
      (is_attr?sge_dstring_get_string(&attr):""));
    fprintf(fp, "%s", lGetString(elem, XMLA_Value));
  }
  lWriteListXML_(lGetList(ep, XMLE_List), nesting_level+1, fp);

  if (tag != NULL && strlen(tag))
  {
    fprintf(fp, "</%s>\n", tag));
  }
}
#321 fixed IZ1962: Problems compiling maintrunk on Fedora development version andreas
Description

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

        Issue #:      1962             Platform:     PC        Reporter: andreas (andreas)
       Component:     gridengine          OS:        Linux
     Subcomponent:    kernel           Version:      current      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    PATCH
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:        http://gridengine.sunsource.net/servlets/ReadMsg?list=dev&msgNo=2614
       * Summary:     Problems compiling maintrunk on Fedora development version
   Status whiteboard:
      Attachments:

     Issue 1962 blocks:
   Votes for issue 1962:


   Opened: Tue Jan 17 04:12:00 -0700 2006 
------------------------


DESCRIPTION:
There are problems with compiling maintrunk sources on "latest Fedora
development version". To overcome the problems a patch (see URL) has been
provided by Orion Poplawski.

   ------- Additional comments from crei Mon Nov 12 08:37:12 -0700 2007 -------
Wrong subcomponent
#323 fixed IZ1965: qconf -Mckpt reports success on incorrect file ovid
Description

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

        Issue #:      1965             Platform:     Other    Reporter: ovid (ovid)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.0u4       CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qconf -Mckpt reports success on incorrect file
   Status whiteboard:
      Attachments:

     Issue 1965 blocks:
   Votes for issue 1965:


   Opened: Fri Jan 20 12:02:00 -0700 2006 
------------------------


Modifying non-existent checkpoint from file returns success, instead of failure.


sgetest@dt218-123# more /tmp/ckpt
ckpt_name          testcheckpointobject2
interface          userdefined
ckpt_command       none
migr_command       none
restart_command    none
clean_command      none
ckpt_dir           /tmp
signal             none
when               xs

sgetest@dt218-123# qconf -sckptl
testcheckpointobject

sgetest@dt218-123# qconf -Mckpt /tmp/ckpt
denied: checkpoint interface "testcheckpointobject2" does not exist
sgetest@dt218-123# echo $status
0
Note: See TracQuery for help on using queries.