The piranha web GUI wants to put lvs.cf in /etc/sysconfig/ha. Pulse, from piranha-0.4.16-3, wants it to be in /etc/lvs.cf. Neither rpm appears to set up a symlink, and the GUI doesn't appear to have a "deploy" button for putting the file in the correct spot.
This sounds like Bryce included V2 logic in the V1.1 RPM release. It's also possible that this logic is support to be there, but is accidentally being trigger on the sparc platform install. Forwarding to Bryce for review.
[a more understandable version of the previous paragraph] This sounds like Bryce included V2 logic in the V1.1 RPM release. It's also possible that this logic is suppose to be there, but is accidentally being triggered by the sparc platform install. Forwarding to Bryce for review.
I am running the latest version (0.4.16-3) in i386 and the Config is properly handled in /etc/lvs.cf. This is most likely a SPARC only issue.
With all due respect, I don't believe this is an architecture related problem: $ rpm -i piranha-0.4.16-3.src.rpm $ cd /usr/src $ rpm -bp SPECS/piranha.spec $ cd BUILD/piranha/web $ find . -type f -print | xargs grep -li '/etc/lvs\.cf' <NO OUTPUT> $ find . -type f -print | xargs grep -li '/etc/sysconfig/ha/lvs\.cf' ./html/secure/lvserror.php3 ./html/secure/parse.php3 Not a single file in the web gui references /etc/lvs.cf. Furthermore, there is nothing in the spec file that modifies any of the php files to point to a new location. If you're using RPMS built from the same source packages as I'm using, I'd appreciate it if you would point me at the part of the build process that is fixing what appears to be an error, because the other alternative is that I'm simply going insane. I have even built the piranha-gui package on my i386 system, used rpm2cpio to extract *ALL THE FILES*, and then run a recursive grep on them for /etc/lvs.cf. IT'S JUST NOT THERE!
Sorry, with all due respect, I'm an idiot. Yes, I'm running -3 of piranha, but only -2 of the piranha-gui. -- Keith
As payment for looking stupid, I'll be glad to fix the issue, the question is where does RedHat want the config? Want a fix to support the old location, or fix the install to migrate to the new location? -- Keith Moore Disclaimer: I do not work for RedHat
Actually, after looking through the Redhat HA FAQ, I found this: Why doesn't the GUI automatically copy the changed configuration file? This is planned for a future release. It simply did not make it into this release in time because the changes require extensive security review. Apparently, the piranha folks are already aware of this. I'd feel sheepish, but no-one else reading thus bug noticed either.
Care to comment Phil?
The config problem has been fixed and updated RPMs have been posted to ftp://people.redhat.com/kbarrett/HA/