+ Reply to Thread
Results 1 to 5 of 5

Thread: Compute node not used kusu installer

  1. #1
    johnyou is offline Junior Member
    Join Date
    January 22nd, 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Compute node not used kusu installer

    Compute booted from master node , but not use kusu installer , how to check. ThankS!

  2. #2
    johnyou is offline Junior Member
    Join Date
    January 22nd, 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    # service kusu start

    Running firstrun [FAILED]

    No more error infomation in kusu.log

  3. #3
    johnyou is offline Junior Member
    Join Date
    January 22nd, 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    wget http://master/repos/nodeboot.cgi?dum...1&installing=1

    KusuDB: Operational Error occurred when connecting to the DB

    most likely cause: insufficient permissions for user=apache

    could not connect to server: no such file or directory

    Is the server running localy and accepting connections on Unix domain socket "/tmp.s.sPGSQL.5432"?

    How to change db to mysql?

  4. #4
    ltsai is offline Project Moderator
    Join Date
    March 4th, 2008
    Posts
    61
    Blog Entries
    3
    Downloads
    3
    Uploads
    0

    Default

    Hi

    I'm attaching your original email:

    JOHN YOU wrote:

    Hi, Li Ming:

    When the client is booting up from master server, client is stopped at flowwing point.

    if cciss_dev.vendor.startswith('0x'):
    vendor = cciss_dev.vendor[2:].strip()
    pci = PCI([vendor])

    SCSI Handdled Error , PCI not defined.

    Can I change code from

    if cciss_dev.vendor.startswith('0x'):
    vendor = cciss_dev.vendor[2:].strip()
    pci = PCI([vendor])
    if pci.ids.has_key(vendor):
    cciss_dev.vendor = pci.ids[vendor]['NAME']

    if cciss_dev.model and cciss_dev.model.startswith('0x'):
    device = cciss_dev.model[2:].strip()
    if pci.ids[vendor]['DEVICE'].has_key(device):
    cciss_dev.model = pci.ids[vendor]['DEVICE'][device]['NAME']
    else:
    cciss_dev.model = None
    else:
    cciss_dev.vendor = None
    cciss_dev.model = None

    return dict(cciss_dev)
    ************************************************** ***********

    to

    # if cciss_dev.vendor.startswith('0x'):
    cciss_dev.model = None
    cciss_dev.vendor = None

    # vendor = cciss_dev.vendor[2:].strip()
    # pci = PCI([vendor])
    # if pci.ids.has_key(vendor):
    # cciss_dev.vendor = pci.ids[vendor]['NAME']
    #
    # if cciss_dev.model and cciss_dev.model.startswith('0x'):
    # device = cciss_dev.model[2:].strip()
    # if pci.ids[vendor]['DEVICE'].has_key(device):
    # cciss_dev.model = pci.ids[vendor]['DEVICE'][device]['NAME']
    # else:
    # cciss_dev.model = None
    # else:
    # cciss_dev.vendor = None
    # cciss_dev.model = None

    return dict(cciss_dev)

    script file name : probe.py

    Hardware HP DL460 Balde Server, Disk Raid Controller E200i
    linux version : RHEL 5.2 x86_64
    kusu version: 1.1
    In master server, lspci can show all pci devices included disk raid controller E200i.
    Thank YOU and Best Regards

    JOHN YOU

    Attached Images

  5. #5
    ltsai is offline Project Moderator
    Join Date
    March 4th, 2008
    Posts
    61
    Blog Entries
    3
    Downloads
    3
    Uploads
    0

    Default

    John,

    Can you import this in a python prompt?

    Code:
    o1010960:~ # python
    Python 2.4.2 (#1, Jan 10 2008, 17:43:58)
    [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from primitive.system.hardware.pci import PCI
    >>>
    

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts