Showing posts with label vmadm. Show all posts
Showing posts with label vmadm. Show all posts

Friday, February 22, 2013

smartos vmunbundle exited with code 1

Smartos joyent_20130207T202554Z

vmadm send f59c8669-b709-42cb-98e8-a2f1fa1ee7bf |ssh destination.host vmadm receive

I get this error

vmunbundle exited with code 1

The problem was that, since I was doing some test, there was, on the destination, a zfs dataset for the same zone of a previous attemp.

Solution, on the destination,

zfs destroy zones/f59c8669-b709-42cb-98e8-a2f1fa1ee7bf

Tuesday, January 15, 2013

smartos vmadm failed

Maybe this is only a workaround, like a good craftsman.

I was in this situation:

# vmadm list
UUID                   TYPE  RAM      STATE      ALIAS

76ffffff-cc23-4501...  OS    256      failed     db1

No way to boot or halt the zone.
(Cannot to start vm from state "failed", must be "stopped")
(login allowed only to running zones  ... is 'installed')


The only way to solve the issues, for me, was:

vi /etc/zones/76ffffff-cc23-4501-b5f3-41a69c65b321.xml

and search for a line containing "failed", then delete this line.