use host uuids and account ids as replication ids instead of creating our own

Bug #452293 reported by Chad Miller on 2009-10-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chad Miller

Bug Description

There may be a host UUID that makes machines unique; I see something in "lshw" output. That, with a uid make unique id that can be used, instead of generating a UUID and storing that in couchdb. The danger of replicating a self-identity record is great, and this may be an easy way to generate ids.

First: Figure out where 'lshw' gets its UUID. Make sure it's a host UUID and not a "configuration" uuid (something unique to this boot signature.)

$ lshw
WARNING: you should run this program as super-user.
^CI (sysfs)
cmiller@zippy:~ $ sudo lshw
    description: Mini Tower Computer
    product: Dimension 4700
    vendor: Dell Inc.
    serial: C7NK971
    width: 32 bits
    capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
    configuration: administrator_password=enabled boot=normal chassis=mini-tower cpus=1 power-on_password=enabled uuid=44454C4C-3700-104E-804B-C3C04F393731

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers