after svccfg import is killed, subsequent import fails
I've been debugging some issues where mdata:execute times out and SMF kills the contract while "svccfg import" is running. If you try to clear the service to try again, "svccfg import" fails with a message like this:
+ svccfg import /opt/smartdc/registrar/smf/manifests/registrar.xml svccfg: Temporary service "TEMP/sds/application/registrar" must be deleted before this manifest can be imported. svccfg: Import of /opt/smartdc/registrar/smf/manifests/registrar.xml failed. Progress: svccfg: Service "sds/application/registrar": not reached. svccfg: Instance "default": not reached. svccfg: Import of /opt/smartdc/registrar/smf/manifests/registrar.xml failed. [ Oct 22 21:12:25 Method "start" exited with status 1. ]
If you follow the instructions and remove the temporary service, it works. svccfg should clean up after itself in this case.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
commit 254c049a4a15a87ed9928075be57535f41ae4c29 Author: Jerry Jelinek <firstname.lastname@example.org> Date: 2015-05-19T15:44:37.000Z 5931 after svccfg import is killed, subsequent import fails Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Tony Nguyen <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>