Ticket #742 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

athinfo.defs should use better test for cluster machines

Reported by: jdreed Owned by: amb
Priority: normal Milestone: Natty Alpha
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

As per release-team discussion, "machtype -v -L | grep debathena-cluster" is not a valid test for "Is this machine public". Under Athena 9, we tested for PUBLIC=true in rc.conf. This value was set regardless of whether the machine installed successfully. By contrast, if something breaks during the install, it's possible for machtype -L to report the wrong value.

We should move to some sort of flag file, whether this is the PXE install flag, or a new file, but a cluster machine should successfully expose its logs over athinfo even if it's broken.

Change History

comment:1 Changed 13 years ago by jdreed

  • Status changed from new to committed

Fixed in r25057/8, where I ship a script that will return 0 if it's a cluster machine or 1 otherwise, so queries can do:

/usr/lib/athinfod/is_cluster && whatever

We should ship the script in athinfod, not -cluster-athinfod-config, so that it's guaranteed to be there.

comment:2 Changed 13 years ago by jdreed

  • Status changed from committed to development

athinfod-10.0.0-0debathena16 -> dev

comment:3 Changed 13 years ago by jdreed

  • Status changed from development to proposed

comment:4 Changed 13 years ago by jdreed

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.