On 08/20/2013 11:00 AM, Dominic Hamon wrote:
> In plsync/slices.py:
> 
>> +# for restart, update and yum configuration.  These attributes should be added
>> +# to all slices on M-Lab.
>> +centos_slice_attrs = [ Attr(None, vsys='slice_restart'),
>> +                       Attr(None, vsys='slice_update'),
>> +                       Attr(None, vsys='slice_yum'),
>> +                       Attr('MeasurementLabCentos', isolate_loopback='1'),
>> +                     ]
>> +
>> +# NOTE: The arch, pldistro, and fcdistro slicetags apply GLOBALLY to slices.
>> +#       And, while a NodeGroup assignment would ordinarily limit the scope of a
>> +#       slicetag, for these, per-nodegroup values are ignored.
>> +#       The default on public PlanetLab slices: 
>> +#            arch=i386, pldistro=planetlab, fcdistro=f8.
>> +#       M-Lab servers work around this limitation by creating a symlink from
>> +#       /vservers/.vref/planetlab-f8-i386 -> /vservers/.vref/mlab-centos6-i386
>> +#   Attr(None, arch='i386'),
> 
> side note: would we ever consider 64-bit machines? does anything need to
> change other than this to support that?
> 

For sure. i386 is a legacy from PlanetLab, in part due to the boot
images installed on each server.  The plan for M-Lab's private boot
server is to produce 64-bit boot images so that it can operate either
64-bit (lxc) or 32-bit (centos) node images. The test nodes @ nuq0t are
run this way:  boot-test.measurementlab.net created 64-bit boot images
and boots the 32bit centos builds.  As long as we create 64-bit boot
images when we migrate to private boot server for M-Lab it should be
possible to support 64bit builds.