-
TheTim0Nat0r
Does anyone know which log file shows cloud-init errors during provisioning? The JSONified cloud config in the customer_metadata gets ignored and I can not find any error related to this issue.
-
neuroserve
TheTim0Nat0r : what kind of instance is it?
-
TheTim0Nat0r
neuroserve: lx and kvm
-
neuroserve
there could be logs in /zones/<zonename>/logs - at least the console log should have some cloud-init output
-
TheTim0Nat0r
Does agetty have something to do with it? Thats the only thing I could find: "agetty: cannot connect on UNIX port"
-
TheTim0Nat0r
-
neuroserve
you should be able to update the metadata of an instance with sdc-updatemachinemetadata (
docs.tritondatacenter.com/public-cl…ata/metadata#use-cases-for-metadata)
-
TheTim0Nat0r
Been updating metadata multiple times, the string has changed but not the behaviour unfortunately
-
Smithx10
danmcd rmustacc: any idea of what to do with the sestopo output to find the slot / light it up?
-
jbk
does the slot show up in fmtopo -V ?
-
Smithx10
-
jbk
is that cut off? it seems to stop at the first bay
-
Smithx10
hmmm
-
Smithx10
let me reupload
-
Smithx10
Same url, 6264 lines
-
jbk
yeah looks like it stops there.. i wonder if there's something it's not liking about the enclosure
-
jbk
my understanding is that the t10 standards for ses can be a bit.. open to interpretation by vendors
-
Smithx10
lol, so what do I tell the DC guy who has to replace the drive?
-
jbk
does sestopo output anything?
-
Smithx10
-
jbk
try 'TOPOSESDEBUG=1 fmtopo -V' -- that should output debug info which might help explain why it's not enumerating the contents despite sestopo showing they exist
-
jbk
though that output goes to stderr
-
jbk
so you might need fmtopo -V > topo.txt 2>debug.txt (or 2>&1...) to capture it
-
Smithx10
"/usr/lib/fm/fmd/fmtopo: failed to get properties for bay=0: (null)"
-
Smithx10
"/usr/lib/fm/fmd/fmtopo: failed to get properties for FAN6=0: (null)"
-
jbk
that is strange... the '(null)' appears to be coming from topo_strerror(), but unless there's something smartos-specific going on there, it should always return a string, and never NULL
-
danmcd
Nothing AFAICT we change there:
-
danmcd
kebe(~/ws/ij-cr)[0]% diff {~/nfslinks/nowhere/ws/illumos-gate,.}/usr/src/lib/fm/topo/libtopo/common/mkerror.sh
-
danmcd
kebe(~/ws/ij-cr)[0]%
-
jbk
just to see.. if you do 'UMEM_DEBUG=guards TOPOSESDEBUG=1 fmtopo -V'
-
jbk
does it crash?
-
jbk
danmcd: looking at topo_strerror() -- it seems like it should always return a string
-
Smithx10
no
-
jbk
unless i'm missing something
-
jbk
and looking at that error message from fmtopo, there appears to only be one spot where that happens
-
rmustacc
Smithx10: I've not had any chance to review or dig, sorry.
-
jbk
one thing that's (maybe) interesting is there's an ARRAY_DEVICE element that seems like it's actually a 'container' for the actual drive bays.. i haven't dug too deeply, but the impression I get is that there's an assumption that ARRAY_DEVICE is a slot/bay
-
jbk
and it's also enumerated first
-
Smithx10
hmm
-
Smithx10
I guess to make it easier I could take this drive out of the pool
-
Smithx10
and maybe make the pool do work?
-
Smithx10
and the non blinky drive could be the other spare.... or it....
-
jbk
that might work..
-
jbk
you could also try doing a dd if=/dev/dsk/<other spare> of=/dev/null to make the other spare light up