Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-install fails in headnode.sh #205

Open
clord opened this issue Jun 17, 2016 · 5 comments
Open

Post-install fails in headnode.sh #205

clord opened this issue Jun 17, 2016 · 5 comments

Comments

@clord
Copy link

clord commented Jun 17, 2016

While going through the final phase of install of SmartOS Live Image v0.147+ build: 20160609T011018Z, the following message appeared on my console:

SUNW-MSG-ID: SMF-8000-YX, TYPE: defect, VER: 1, SEVERITY: major
EVENT-TIME: Thu Jun 16 21:19:42 UTC 2016
PLATFORM: SYS-6028R-WTR, CSN: S15752526345603, HOSTNAME: headnode
SOURCE: software-diagnosis, REV: 0.1
EVENT-ID: 1e880c1b-b066-6eb1-b982-c6b884f6d777
DESC: A service failed - a start, stop or refresh method failed.
  Refer to http://illumos.org/msg/SMF-8000-YX for more information.
AUTO-RESPONSE: The service has been placed into the maintenance state.
IMPACT: svc:/system/smartdc/init:default is unavailable.
REC-ACTION: Run 'svcs -xv svc:/system/smartdc/init:default' to determine the generic reason why the service failed, the location of any logfiles, and a list of other services impacted.

Going to the logs, I noticed the following error in /var/svc/log/system-smartdc-init:default.log:

[2016-06-17T02:40:36Z] /mnt/usbkey/scripts/headnode.sh:712: adopt_agents(): for agent in '$CONFIGURABLE_AGENTS'
[2016-06-17T02:40:36Z] /mnt/usbkey/scripts/headnode.sh:713: adopt_agents(): local instance_uuid
[[2016-06-17T02:40:36Z] /mnt/usbkey/scripts/headnode.sh:714: adopt_agents(): cat /opt/smartdc/agents/etc/config-agent
cat: cannot open /opt/smartdc/agents/etc/config-agent: No such file or directory

I edited /mnt/usbkey/scripts/headnode.sh line 713 and inserted:

+         touch $AGENTS_DIR/etc/$agent
            instance_uuid=$(cat $AGENTS_DIR/etc/$agent)

and the installer completed. However, the next command I issue from the guide Failed:

sdcadm post-setup common-external-nics
sdcadm post-setup: error: Couldn't find NICs for imgapi or adminui
@clord
Copy link
Author

clord commented Jun 17, 2016

I've repeated this after rewriting my usb key and wiping the zones pool

@twm1010
Copy link

twm1010 commented Jul 5, 2016

Seeing similar issues trying to install on a 6th generation Intel NUC. I was only able to move forward by imaging the internal SATA disk as my "boot" drive to work around no support for USB3.X

@elcritch
Copy link

👍 Running into this while trying to setup an R610 server for a test install.

@novuscy
Copy link

novuscy commented Jan 13, 2017

Mine is similar, the log says: cat: cannot open /opt/smartdc/agents/etc/net-agent: No such file or directory, any solutions?

@DarkBlaez
Copy link

This issue still persist in the current 2017 build. The installer craps out consistently across various servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants