I recall fixing a similar issue in the SmartOS install scripts a few years ago (parsing of serial numbers in this case).
I bet you could contribute a fix to strip trailing whitespace ;) > On 07 Nov 2015, at 13:39, Rob Seastrom <[email protected]> wrote: > > Having finally made it back home from travels for long enough to do more > serious investigation I thought I'd share my root cause analysis and solution. > > To recap, we were up and running fine on smartos-20150625T055522Z but failed > when going to smartos-20151015T063628Z; couldn't find the NICs. > > A binary search of the interstitial releases found that we were winning on > smartos-20150820T062742Z but losing on smartos-20150903T073920Z > > It turns out that there was some pretty serious retooling between those > releases and the size of the contract file ( /lib/svc/method/net-physical ) > for net/physical increased by about 50%. > > A careful walkthrough of the code where the logs were throwing errors left me > scratching my head... I re-examined the /usbkey/config files... > > Eureka. One single trailing space in the MAC address. Looked on another > machine which was a partner of our lab machine (first installed in late > spring 2013 for T&E). Yup. Same thing. Checked other machines which had > been installed more recently. Nope. No trailing whitespace. > > I fixed the trailing space problem and successfully upgraded both lab and one > production machine to smartos-20151015T063628Z so as to match the machine at > home. > > So there you have it, problem solved. Something to look out for where the > zones zpool and config files might be a little on the older side. Not > something that's likely to be a problem for folks who glaze their disks on a > regular basis. > > cheers, > > -r > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
