dbchange was written for Class::MethodMaker v2, but RHN Satellite will use Class::MethodMaker v1 for the Triumph release.
Port complete. Automated tests are in cvs://rhn/sql/dbchange/test (see the README file) and a manual test plan is in cvs://rhn/sql/dbchange/test/manual/TEST_PROCEDURE.
I tried to run the automated test scripts (just seem faster ;-)), but I received an error while I tried to install the NOCpulse and NPusers to be able to run the test. Below is the error message. Any idea what could be causing the problem? Thanks! [root@dhcp59-212 root]# rpm -Uvh NOCpulse-Utils-1.9.0-2.noarch.rpm NPusers-1.8.0-0.noarch.rpm Preparing... ########################################### [100%] 1:NPusers ########################################### [ 50%] * Adding users -- Apache user httpd groupadd: gid 48 is not unique useradd: uid 48 is not unique passwd: Unknown user name 'httpd'. -- Oracle user oinstall groupadd: group dba exists useradd: cannot create directory /home/oracle /bin/chmod: failed to get attributes of `/home/oracle': No such file or directory -- Dynamo user dynamo useradd: cannot create directory /home/dynamo -- Login account nocops useradd: cannot create directory /home/nocops -- Prod account nocpulse useradd: cannot create directory /home/nocpulse passwd: Unknown user name 'nocpulse'. -- Telalert user telalert useradd: cannot create directory /home/telalert -- Useless brain-dead software user innovate (kill me now) useradd: cannot create directory /home/innovate -- Provisioning user config useradd: cannot create directory /home/config * Finished adding users * Setting passwds -- root * Finished setting root passwd * Setting up nocpulse homedir mkdir: cannot create directory `/home/nocpulse/': No such file or directory mkdir: cannot create directory `/home/nocpulse/bin': No such file or directory mkdir: cannot create directory `/home/nocpulse/etc': No such file or directory mkdir: cannot create directory `/home/nocpulse/libexec': No such file or directory mkdir: cannot create directory `/home/nocpulse/var': No such file or directory mkdir: cannot create directory `/home/nocpulse/var/archives': No such file or directory chown: `nocpulse.nocpulse': invalid user * Finished setting up nocpulse homedir 2:NOCpulse-Utils ########################################### [100%] error: unpacking of archive failed on file /home/nocpulse/bin/runtest.pl;40f6a36d: cpio: mkdir failed - No such file or directory
For some reason, 'useradd' is unable to create the directory /home/nocpulse (or /home/anything, looks like). It looks like /home doesn't exist. Try creating /home manually before installing the RPMs.
Alternately, give me access to the test box and I'll hammer the required stuff into place. :)
Thanks Dave! Below is the info. Let me know if you have any questions: box: root.redhat.com passwrd: dog8code
Sorry, Fanny -- that box is a regular AS2.1 box. The dbchange stuff requires code installed on a satellite (e.g. PXT). Do you have an AS3 satellite to test it on?
Hi Dave, Not at the moment, all my sats are AS2.1. I'll try to build an AS3 one and let you know. Thanks!
Hi Dave, I am moving this bug to rhn350sat since it requires a 3.5 sat (AS3) build and we are not there yet. I'll will update bug once I can get a hold of a stable iso to build a 3.5 sat, so that you can help me with the automation test setup. Thanks!
Dave has left the company so I am not sure what is the status of this bug. There a previous test plan that required Dave to set the client up for me so I can do some testing...but then again he is gone. Could you please provide an alternate test plan for this bug or set a client for me so I can test it. Thanks!
I'll put an installation plan together.
Assume this is fixed. Closing this one out. Cliff.