Hi Joe,

That is not your fault but my fault because I wrote the wiki page and I asked 
you to refer to the page.

Anyway, since the way you built the meta rpm inside the package is working, I 
believe that you can go further.

I will fix this bug ASAP.

Thank you,

- DongInn


Greenseid, Joseph M. wrote:
> Hi DongInn,
>  
> I can't tell what version of opkgc I have.  --version just says 0.4, and the 
> ChangeLog says 0.4 at the top, with the first note being "Release "It is not 
> that i do not like people, it is just that i don't like when they speak to 
> me."
>  
> The opkg meta rpm rebuild instruction page said to use the --input flag, 
> which I did.  I just tried `opkgc --dist=rhel` from inside the 
> $OSCAR_WORKING_COPY/packages/ganglia directory, and the newly created RPM 
> does in fact contain both configurator.html and configurator_image.html, 
> neither of which were in the old package.
>  
> I will recreate all packages this way.
>  
> Sorry for the confusion; it wasn't clear from what I read that the --input 
> flag was the culprit, I thought it was the "build everything at once" script 
> that was screwing things up.
>  
> Thanks,
> --Joe
> 
> ________________________________
> 
> From: [EMAIL PROTECTED] on behalf of DongInn Kim
> Sent: Wed 1/9/2008 2:36 PM
> To: [email protected]
> Subject: Re: [Oscar-devel] problem with installing oscar server packages
> 
> 
> 
> Hi Joe,
> 
> What version of opkgc do you use? (e.g., mine is r6837).
> How did you build the opkg meta rpm?
> (i.e., 1)Did you go into the package directory and then ran "opkgc --dist 
> rhel ."? or 2)"opkgc --dist rhel --input ganglia" something like this?)
> 
> You'd better do 1). I think the second one is the way scripts/build_opkg_rpms 
> automatically builds all the opkg meta rpms and it does not work properly for 
> this kind of case.
> 
> Regards,
>   
> - DongInn
> 
> 
> Greenseid, Joseph M. wrote:
>> DongInn,
>>
>> I built packages one at a time, but the opkg RPMs that were created and 
>> placed in /usr/src/redhat/RPMS/noarch/ did not have the configurator.html 
>> file in them.  I checked out trunk of the opkgc repository yesterday, so I 
>> think I have a new enough version. 
>>
>> When I checked out branch-5-1 yesterday, there were already opkg RPMs in 
>> $OSCAR_WORKING_COPY/packages/*/distro/rhel5-x86_64, and all these had 
>> configurator.html.  However, when I rebuilt, the packages I built didn't end 
>> up with it. 
>>
>> Not sure why building one at a time isn't working.
>>
>> --Joe
>>
>> ________________________________
>>
>> From: [EMAIL PROTECTED] on behalf of Greenseid, Joseph M.
>> Sent: Wed 1/9/2008 11:05 AM
>> To: [email protected]; [email protected]
>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>
>>
>>
>> Yup, that's the problem:
>>
>> [EMAIL PROTECTED] ~]$ find /var/lib/oscar/packages -name configurator.html 
>> -print
>> /var/lib/oscar/packages/switcher/configurator.html
>> [EMAIL PROTECTED] ~]$ rpm -qpl 
>> /tftpboot/oscar/rhel-5-x86_64/opkg-sis-4.0.0-3.noarch.rpm |grep configur
>> [EMAIL PROTECTED] ~]$
>>
>> I'll rebuild each one one at a time.  I am encouraged by the rebuild fixing 
>> the problem I was facing, so it's worth it to redo this, even if it takes a 
>> little more time.
>>
>> I have been having trouble lately with SourceForge in interacting with the 
>> mailing lists' archives, so I apologize for not seeing the previous message.
>>
>> When I am done, if this works, if it'd be useful, I can try to put the opkg 
>> meta rpms I've rebuilt somewhere so others can use them.
>>
>> Thanks,
>> --Joe
>>
>> ________________________________
>>
>> From: [EMAIL PROTECTED] on behalf of DongInn Kim
>> Sent: Wed 1/9/2008 9:55 AM
>> To: [email protected]
>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>
>>
>>
>> Hi Joe,
>>
>> OK, than, this is what I worried about the bug when building all the opkg 
>> meta rpms at the same time.
>> I believe the newly bulit opkg meta rpms could not pick up the 
>> configurator.html file which is included at some OSCAR packages.
>>
>> torque
>> jobmonarch
>> ntpconfig
>> sis
>> ganglia
>> sge
>>
>> If configurator.html is not included at the opkg meta rpm, it should be 
>> missing on 
>> /var/lib/oscar/packages/{torque,jobmonorch,ntpconfig,sis,ganglia,sge}.
>> Anyway, please try to check to see if configurator.html exists on the above 
>> path or
>> cd /tftpboot/oscar/rhel-5-x86_64
>> rpm -qpl opkg-sis-4.0.0-3.noarch.rpm  | grep configurat
>>
>> If you confirm that configurator.html is missing, unfortunately you have to 
>> rebuild the above opkg meta rpms manually one by one like I posted before.
>> http://www.mail-archive.com/[email protected]/msg08427.html
>>
>> I hope this helps.
>>
>> Regards,
>>
>> - DongInn
>>
>>
>> Greenseid, Joseph M. wrote:
>>> Hi DongInn,
>>>
>>> Yes, I did a start_over before trying the new packages out.  I did it two 
>>> times to be sure before I emailed yesterday.  The behavior is very strange.
>>>
>>> It's not that no packages are selected.  I can select whatever I want.  
>>> When I click "Configure Selected OSCAR Packages," there are no choices in 
>>> there.  The packages are still selected, and they still get installed, but 
>>> the part where I can name my Ganglia host and grid, where I can tell Torque 
>>> to run a mom on the head node if I want, etc, I don't get to do any of that 
>>> anymore.
>>>
>>> --Joe
>>>
>>> ________________________________
>>>
>>> From: [EMAIL PROTECTED] on behalf of DongInn Kim
>>> Sent: Tue 1/8/2008 3:51 PM
>>> To: [email protected]
>>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>>
>>>
>>>
>>> Hi Joe,
>>>
>>> I am not sure what happened on the case that all the previously selected 
>>> packages are not selected but switcher.
>>> But this case is definitely related to the configuration issues(i.e., the 
>>> unseletected packages are not needed to be configured).
>>>
>>> Anyway, I wonder if you were using the all the newly built opkg meta rpms. 
>>> Can you make sure that some meta rpms could happen to be already installed 
>>> and the new one could not override it?
>>>
>>> In order avoid the above hassles, I would rather do "scripts/start_over" 
>>> and then retest it with the newly built opkg meta rpms.
>>>
>>> Regards,
>>>
>>> - DongInn
>>>
>>>
>>> Greenseid, Joseph M. wrote:
>>>> I rebuilt all the opkg meta rpms, and when I used them, I saw something 
>>>> interesting.  First, the problems I described earlier (config scripts 
>>>> looking in the wrong location) are gone.  The installation went quite 
>>>> smoothly.
>>>>
>>>> However, after I used the newly built opkg rpms, there were no options 
>>>> available to configure packages in Step 2 of the wizard, even for packages 
>>>> that had previously offered them (such as Torque or Ganglia).  The 
>>>> Configure Selected OSCAR Packages is empty except for switcher, and when I 
>>>> click on that, it says there is nothing to configure.
>>>>
>>>> To use the newly built opkg rpms, I replaced the contents of 
>>>> /tftpboot/oscar/rhel-5-x86_64/opkg* with the files i built from 
>>>> svn_branch_checkout/packages/*/distro/rhel5-x86_64/opkg*.
>>>>
>>>> This was basically a 1 to 1 correlation, with the exception of a few of my 
>>>> rebuilds had two versions, in which case I always used the newer, and 
>>>> there was an additional set of packages that wasn't in the original 
>>>> nightly tarball (named opkg-networking-*).
>>>>
>>>> So I guess my question is, did I use the new packages correctly, and does 
>>>> it make sense why the option to configure packages went away?
>>>>
>>>> Thanks,
>>>> --Joe
>>>>
>>>> ________________________________
>>>>
>>>> From: [EMAIL PROTECTED] on behalf of Greenseid, Joseph M.
>>>> Sent: Tue 1/8/2008 11:05 AM
>>>> To: [email protected]
>>>> Subject: RE: [Oscar-devel] problem with installing oscar server packages
>>>>
>>>>
>>>> That's what I thought.  I don't have it yet, but I'm checking it out now.  
>>>> No problem.
>>>>
>>>> Thanks,
>>>> --Joe
>>>>
>>>> ________________________________
>>>>
>>>> From: [EMAIL PROTECTED] on behalf of DongInn Kim
>>>> Sent: Tue 1/8/2008 10:47 AM
>>>> To: [email protected]
>>>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>>>
>>>>
>>>>
>>>> Yes, unfortunately, you should check out the branch-5-1 repository if you 
>>>> have not yet.
>>>>
>>>> Regards,
>>>>
>>>> - DongInn
>>>>
>>>>
>>>> Greenseid, Joseph M. wrote:
>>>>> Just to make sure I understand the instructions, I should check all of 
>>>>> branch out of svn, I can't use the nightly tarballs, for when I get to 
>>>>> the step of building Opkg meta rpms?
>>>>>
>>>>> Thanks,
>>>>> --Joe
>>>>>
>>>>> ________________________________
>>>>>
>>>>> From: [EMAIL PROTECTED] on behalf of Greenseid, Joseph M.
>>>>> Sent: Tue 1/8/2008 10:29 AM
>>>>> To: [email protected]; [email protected]
>>>>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>>>>
>>>>>
>>>>>
>>>>> Hi DongInn,
>>>>>
>>>>> Cool, I'll give it a shot.  Thanks.
>>>>>
>>>>> --Joe
>>>>>
>>>>> ________________________________
>>>>>
>>>>> From: [EMAIL PROTECTED] on behalf of DongInn Kim
>>>>> Sent: Tue 1/8/2008 10:27 AM
>>>>> To: [email protected]
>>>>> Subject: Re: [Oscar-devel] problem with installing oscar server packages
>>>>>
>>>>>
>>>>>
>>>>> Hi Joe,
>>>>>
>>>>> I believe that the opkg-<name> meta rpms for X86_64 have not been updated 
>>>>> for a long time and they can have the wrong entries (e.g., the wrong path 
>>>>> in the package API scripts).
>>>>>
>>>>> So, please rebuild the opkg meta rpms of the ganglia or everything else 
>>>>> too.
>>>>> http://svn.oscar.openclustergroup.org/trac/oscar/wiki/Building_Opkgs
>>>>> I hope this wiki page helps you to rebuild the opkg meta rpms.
>>>>>
>>>>> Regards,
>>>>>
>>>>> - DongInn
>>>>>
>>>>>
>>>>> Greenseid, Joseph M. wrote:
>>>>>> As mentioned in the jobmonarch thread, I ran into a problem where 
>>>>>> Ganglia seemed to be missing a config file during installation.  Turns 
>>>>>> out it wasn't missing, just looking in the wrong place.
>>>>>>
>>>>>> --> Running post_server_install scripts for server non-core packages
>>>>>> Shutting down GANGLIA gmond:                               [FAILED]
>>>>>> /var/lib/oscar/packages/ganglia/post_server_install: line 22: 
>>>>>> /var/lib/oscar/packages/ganglia/scripts/edit_ganglia_conf: No such file 
>>>>>> or directory
>>>>>> /var/lib/oscar/packages/ganglia/post_server_install: line 23: 
>>>>>> /var/lib/oscar/packages/ganglia/scripts/edit_ganglia_conf: No such file 
>>>>>> or directory
>>>>>> Failed running post_server_install for ganglia at ./install_server line 
>>>>>> 161
>>>>>> --> Step 3: Failed to properly install OSCAR server; please check the 
>>>>>> logs
>>>>>>
>>>>>> The problem was that edit_ganglia_conf exists in 
>>>>>> /var/lib/oscar/packages/ganglia not  
>>>>>> /var/lib/oscar/packages/ganglia/scripts.
>>>>>>
>>>>>> This also happened for Torque:
>>>>>>
>>>>>> [torque] ...updating xpbsmonrc file
>>>>>> cp: cannot stat `/var/lib/oscar/packages/torque/scripts/TORQUE.pm': No 
>>>>>> such file or directory
>>>>>> Failed to copy /var/lib/oscar/packages/torque/scripts/TORQUE.pm to 
>>>>>> /opt/oscar/lib/OSCAR/OCA/RM_Detect at 
>>>>>> /var/lib/oscar/packages/torque/server-post-install line 88
>>>>>> Failed running post_server_install for torque at ./install_server line 
>>>>>> 161
>>>>>> --> Step 3: Failed to properly install OSCAR server; please check the 
>>>>>> logs
>>>>>>
>>>>>> TORQUE.pm exists in /var/lib/oscar/packages/torque, not 
>>>>>> /var/lib/oscar/packages/torque/scripts
>>>>>>
>>>>>> I did not install all packages, so I don't know what others have this 
>>>>>> same problem.  My Package Selector did not include jobmonarch, sge, 
>>>>>> apitest, lam, mpich, openmpi, pvm, ntpconfig, pfilter, or linux-ha, so I 
>>>>>> can't speak to these working or not on my system.
>>>>>>
>>>>>> As a reminder, I'm using rhel-5-x86_64 from branch on a CentOS 5 x86_64 
>>>>>> platform.
>>>>>>
>>>>>> Once I figured out the problem, I was able to work around it, so the 
>>>>>> issue isn't blocking for me right now.  I know that not all x86_64 work 
>>>>>> is complete, so this may already be known, or just go on that TODO list 
>>>>>> for now if that is appropriate for what your plans are.
>>>>>>
>>>>>> Thanks for all the help so far.
>>>>>>
>>>>>> --Joe
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> Check out the new SourceForge.net Marketplace.
>>>>>> It's the best place to buy or sell services for
>>>>>> just about anything Open Source.
>>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>>> _______________________________________________
>>>>>> Oscar-devel mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>> -------------------------------------------------------------------------
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>> _______________________________________________
>>>>> Oscar-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>> _______________________________________________
>>>>> Oscar-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>>> _______________________________________________
>>>>> Oscar-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>> _______________________________________________
>>>> Oscar-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>>> _______________________________________________
>>>> Oscar-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> _______________________________________________
>>> Oscar-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>> _______________________________________________
>>> Oscar-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Oscar-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>
>>
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Oscar-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Oscar-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Oscar-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to