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

When multipass launch pulls the image, it exits and then re-executes:launch failed: Operation canceled #29

Open
bxy4543 opened this issue Mar 14, 2023 · 0 comments

Comments

@bxy4543
Copy link
Member

bxy4543 commented Mar 14, 2023

./sealvm run --nodes=1 --dev --dev-mounts /Users/huaijiahui/go/src/bxy4543/sealos:/root/go/src/github.com/bxy4543/sealos
2023-03-14T09:58:44 info Start to create a new infra: default
2023-03-14T09:58:44 info Start to exec InitStatus: default
2023-03-14T09:58:44 info Start to exec ApplyConfig: default
2023-03-14T09:58:44 info Start to exec CreateVMs: default
2023-03-14T09:58:44 info executing... multipass launch --name default-golang-0 --cpus 2 --mem 4G --disk 50G --cloud-init /Users/huaijiahui/.sealvm/etc/default/golang.yaml    

2023-03-14T09:58:44 info executing... multipass launch --name default-node-0 --cpus 2 --mem 4G --disk 50G --cloud-init /Users/huaijiahui/.sealvm/etc/default/node.yaml    

launch failed: Operation canceled                                               
launch failed: Operation canceled                                               
2023-03-14T09:58:44 error Exec failed reason: CreateVMError,error: exit status 2
2023-03-14T09:58:44 info Start to exec MountsVMs: default
2023-03-14T09:58:44 info executing... multipass mount /Users/huaijiahui/go/src/bxy4543/sealos default-golang-0:/root/go/src/github.com/bxy4543/sealos 

mount failed: The following errors occurred:                                    
instance "default-golang-0" does not exist
2023-03-14T09:58:45 info Start to exec SyncVMs: default                         
2023-03-14T09:58:45 error Exec failed reason: VMStatus,error: vm default-golang-0 status is not running
2023-03-14T09:58:45 error Exec failed reason: VMStatus,error: vm default-node-0 status is not running
2023-03-14T09:58:45 info Skip to exec PingVms: default
2023-03-14T09:58:45 info succeeded in creating a new infra, enjoy it!

When multipass launch pulls the image, it exits and then re-executes:launch failed: Operation canceled

solution: canonical/multipass#2288
macOS solution:
sudo launchctl stop com.canonical.multipassd sudo launchctl start com.canonical.multipassd

@cuisongliu cuisongliu pinned this issue Jul 2, 2023
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

1 participant