Last active
October 19, 2016 16:15
-
-
Save merevu/7c00ac48bb7c6df059fd1d949b4068a5 to your computer and use it in GitHub Desktop.
sdcadm post-setup: error: imgapi client error: socket hang up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sdcadm post-setup fabrics -c ./fabric_cfg.json | |
Downloading image ebfc89fa-8ffc-11e6-a823-d354feacbb52 | |
(portolan@master-20161011T214759Z-ga06a34d) | |
Error importing image ebfc89fa-8ffc-11e6-a823-d354feacbb52 | |
(portolan@master-20161011T214759Z-ga06a34d) | |
sdcadm post-setup: error: imgapi client error: socket hang up | |
## download manually | |
$ wget https://us-east.manta.joyent.com/Joyent_Dev/public/builds/portolan/master-20161011T214759Z/portolan/portolan-zfs-master-20161011T214759Z-ga06a34d.zfs.gz --no-check-certificate | |
$ wget https://us-east.manta.joyent.com/Joyent_Dev/public/builds/portolan/master-20161011T214759Z/portolan/portolan-zfs-master-20161011T214759Z-ga06a34d.imgmanifest --no-check-certificate | |
$ wget https://us-east.manta.joyent.com/Joyent_Dev/public/builds/portolan/master-20161011T214759Z/portolan/portolan-pkg-master-20161011T214759Z-ga06a34d.tar.bz2 --no-check-certificate | |
$ # sdc-imgadm import -m portolan-zfs-master-20161011T214759Z-ga06a34d.imgmanifest -f portolan-zfs-master-20161011T214759Z-ga06a34d.zfs.gz | |
$ sdc-imgadm import -m nat-zfs-master-20160720T035404Z-ge997023.imgmanifest -f nat-zfs-master-20160720T035404Z-ge997023.zfs.gz | |
$ wget https://us-east.manta.joyent.com/Joyent_Dev/public/builds/nat/master-20160720T035404Z/nat/nat-zfs-master-20160720T035404Z-ge997023.imgmanifest --no-check-certificate | |
$ wget https://us-east.manta.joyent.com/Joyent_Dev/public/builds/nat/master-20160720T035404Z/nat/nat-zfs-master-20160720T035404Z-ge997023.zfs.gz --no-check-certificate | |
$ sdc-imgadm import -m nat-zfs-master-20160720T035404Z-ge997023.imgmanifest -f nat-zfs-master-20160720T035404Z-ge997023.zfs.gz | |
## retry post-setup | |
$ sdcadm post-setup fabrics -c ./fabric_cfg.json | |
Creating "portolan" service | |
Creating "portolan" instance | |
Finished portolan setup | |
Adding fabric configuration | |
Restarting config of services using "fabric_cfg": napi, vmapi, dhcpd | |
sdcadm post-setup: error: first of 3 errors: spawn error: | |
argv: ["/opt/smartdc/bin/sdc-login","napi","cd /opt/smartdc/config-agent && ./build/node/bin/node agent.js -s"] | |
exit code: 1 | |
exit signal: null | |
stdout: | |
stderr: | |
sdcadm insts: error: vmapi client error: read ECONNRESET | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment