+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 10 of 14

Thread: How to install the OCS-GUI kit?

  1. #1
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default How to install the OCS-GUI kit?

    Hi,

    i am trying to install the OCS Gui kit but it is somehow not working for me.
    Code:
    [root@master ~]# repoman -l
    Repo name:      Repo for centos-5-x86_64
    Repository:     /depot/repos/1000
    Installers:     10.1.9.70;172.20.0.1
    Ostype:         centos-5-x86_64
    Kits:           base 0.1 noarch, centos 5 x86_64
    
    [root@master ~]# repoman -r 'Repo for centos-5-x86_64' -a -k 'OCS-GUI'
    Kit: OCS-GUI, version 5.1, architecture noarch, is not compatible with repo: Repo for centos-5-x86_64. Not added.
    
    How am I supposed to add the kit?

  2. #2
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    At least I cannot understand the following:

    Code:
    [root@master ~]# kitops -l
    The following Kits have been installed:
     'base-0.1-noarch'
     'centos-5-x86_64'
     'OCS-GUI-5.1-noarch'
     'lava-1.0-noarch'
    
    so it seems like lava (which I build myself from SVN) and OCS-GUI are noarch.

    But the one noarch package is accepted by repoman and the other ist not?
    Code:
    [root@master ~]# repoman -r "Repo for centos-5-x86_64" -a -k lava
    Kit: lava, version 1.0, architecture noarch, has been added to repo: Repo for centos-5-x86_64.  Remember to refresh with -u
    [root@master ~]# repoman -r "Repo for centos-5-x86_64" -a -k OCS-GUI
    Kit: OCS-GUI, version 5.1, architecture noarch, is not compatible with repo: Repo for centos-5-x86_64. Not added.
    
    Hm, I must be doing something wrong any hints appreciated.

  3. #3
    hsaliak is offline Project Moderator
    Join Date
    April 15th, 2008
    Posts
    3
    Downloads
    2
    Uploads
    0

    Default Re:How to install the OCS-GUI kit?

    Hi,
    What is the exact version of OCS/Kusu you are trying to get the OCS-GUI kit installed in? ( the output of cat /etc/kusu-release )
    Also could you just take a look at kusu.log - /var/log/kusu/kusu.log and paste relevant bits if any?

    This info will certainly help getting to the bottom of this!

  4. #4
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    thanks for looking into it.

    I have been running Kusu-0.8_devel.centos-5.1.x86_64.iso I am installing kusu-0.10-20081006-3510.centos-5.x86_64.iso right now.

    It seems quiet a few things in repoman have changed recently. Having a shortlook at the diff it seemed like the whole architecture part changed.

  5. #5
    hsaliak is offline Project Moderator
    Join Date
    April 15th, 2008
    Posts
    3
    Downloads
    2
    Uploads
    0

    Default

    Hi,

    I looked further into the OCS-GUI kit and it appears that it may not exactly 'noarch' as indicated in the ISO. However, I see no reason it should not work with centos at this point.

    As a manual workaround , as you are using centos 5.1 64bit you can try to run the following command before you attempt to add the centos kit to the repository.
    The command adds a line to the compoenents table that marks the OCS GUI kit as compatible to centos.
    Code:
    # sqlrunner  -q"insert into components set  cname='component-OCS-GUI' ,  cdesc='component for installing OCS GUI' ,  kid = (select kid from kits where rname ='OCS-GUI' and version='5.1')  , os = 'centos-5-x86_64'"
    
    Do let me know if it works!

  6. #6
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    OK just for the record the noarch iso contains the following files:
    Code:
    ./OCS-GUI
    ./OCS-GUI/component-OCS-GUI-5.1-4.x86_64.rpm
    ./OCS-GUI/kit-OCS-GUI-5.1-5.noarch.rpm
    ./OCS-GUI/ocsgui-connectors-5.1-1.x86_64.rpm
    ./OCS-GUI/ocs-gui-2.0.0-080916.x86_64.rpm
    ./OCS-GUI/TRANS.TBL
    ./TRANS.TBL
    
    I wiped my 0.8 install yesterday.
    The installation of kusu-0.10-20081006-3510.centos-5.x86_64.iso did not work (failed with cannot open /tmp/kusu/kusu-ks.cfg...) therefore i am now using r3520 which seems to work...

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

    Default

    Great. Let us know if you have any other problems.

  8. #8
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    Ok I got it installed on 0.10-r3520.

    Code:
    [root@master noarch]# kitops -l
    Kit:            base
    Description:    Base Kit
    Version:        0.10
    Architecture:   noarch
    OS Kit:         No
    Removable:      No
    Node Groups:    installer-centos-5-x86_64, compute-centos-5-x86_64,
                    compute-imaged-centos-5-x86_64, compute-diskless-centos-5-x86_64
    
    Kit:            centos
    Description:    OS kit for centos 5 x86_64
    Version:        5
    Architecture:   x86_64
    OS Kit:         Yes
    Removable:      Yes
    Node Groups:    installer-centos-5-x86_64, compute-centos-5-x86_64,
                    compute-imaged-centos-5-x86_64, compute-diskless-centos-5-x86_64
    
    Kit:            lava
    Description:    Lava Kit
    Version:        1.0
    Architecture:   noarch
    OS Kit:         No
    Removable:      Yes
    Node Groups:    installer-centos-5-x86_64, compute-centos-5-x86_64
    
    Kit:            OCS-GUI
    Description:    OCS GUI Kit
    Version:        5.1
    Architecture:   noarch
    OS Kit:         No
    Removable:      Yes
    Node Groups:
    
    Then I was able to add the packages to the depot with repoman:
    Code:
    [root@master noarch]# find /depot/kits/OCS-GUI/
    /depot/kits/OCS-GUI/
    /depot/kits/OCS-GUI/5.1
    /depot/kits/OCS-GUI/5.1/noarch
    /depot/kits/OCS-GUI/5.1/noarch/kit-OCS-GUI-5.1-5.noarch.rpm
    /depot/kits/OCS-GUI/5.1/noarch/ocsgui-connectors-5.1-1.x86_64.rpm
    /depot/kits/OCS-GUI/5.1/noarch/component-OCS-GUI-5.1-4.x86_64.rpm
    /depot/kits/OCS-GUI/5.1/noarch/ocs-gui-2.0.0-080916.x86_64.rpm
    
    As the packages did not associate themself to any node i wanted to do that myself with ngedit.

    But sadly the OCS-GUI kit is not listed on the Components page of ngedit. How am I supposed to associate my nodes with OCS-GUI?

  9. #9
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    Ok installing the packages by hand helped and the Console seems to be working at least I can login. The Submit pages still just show exceptions but let's see.

    Where is the right place to comment on this kit? Looking at the RPM I allready found several flaws in my opinion:

    /usr/share/pmc/2.0/shared/yui/examples has 11MB worth of you examples ...

    /usr/share/pmc/2.0/tomcat/webapps/{jsp-examples,tomcat-docs,servlets-examples} are they really needed?

    There are 16 Thumbs.db files which are certainly not needed.

    Otherwise I am impressed and the GUI looks really promissing.

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

    Default

    Thanks for the feedback. I will inform the Kit creator.

    As for the missing components, can you list out the components for the GUI kit in the database?

    Code:
    sqlrunner  -q "select * from components where kid = (select kid from kits where rname ='OCS-GUI' and version='5.1'")
    

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Posting Permissions

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