kitematic icon indicating copy to clipboard operation
kitematic copied to clipboard

building an image hangs and cannot be deleted

Open thesurlydev opened this issue 12 years ago • 12 comments

Attempting to build an image and it's been in the "BUILDING" status for at least 30 mins. I attempted to delete the image but nothing happens if I click "Delete Image".

thesurlydev avatar Aug 30 '14 17:08 thesurlydev

Hey, thanks for letting me know about the issue! Looking into it right now :) You can also try to restart Kitematic app to see if it works for you after that.

seanli avatar Aug 30 '14 17:08 seanli

After restarting Kitematic, it still had a status of building but I was able to delete the image. Thanks.

thesurlydev avatar Aug 30 '14 17:08 thesurlydev

Thanks! Really sorry about the app being a bit flaky at the moment. Still ironing out the bugs during Beta. Really appreciate the help.

seanli avatar Aug 30 '14 17:08 seanli

Adding a little bit of color to this: it also hangs for me on the "Setting up the default Kitematic images" step during a re-install. I got it stuck on the building images step as well and decided to try a re-install. I started by deleting the app support directory for Kitematic and no luck. So I retried deleting it, the route, and the separate route plist.

Is there anything in logs or something else I can give you to help diagnose this?

descentintomael avatar Sep 01 '14 03:09 descentintomael

same issue here.

BlueHotDog avatar Sep 02 '14 20:09 BlueHotDog

I'm having the same issue, creating a new image results in it "BUILDING" indefinitely. I ran it from the command line and this line kept repeating:

[6485:0902/160513:INFO:CONSOLE(83)] ""Exception while invoking method 'checkDefaultImages' Error: connect ETIMEDOUT\n at Object.Future.wait (/Applications/Kitematic.app/Contents/Resources/app.nw/bundle/node_modules/fibers/future.js:326:15)\n at packages/meteor/helpers.js:111\n at Meteor.methods.checkDefaultImages (app/server/docker.js:426:49)\n at maybeAuditArgumentChecks (packages/livedata/livedata_server.js:1487)\n at packages/livedata/livedata_server.js:643\n at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)\n at packages/livedata/livedata_server.js:642\n at _.extend.withValue (packages/meteor/dynamics_nodejs.js:56)\n at _.extend.protocol_handlers.method (packages/livedata/livedata_server.js:641)\n at packages/livedata/livedata_server.js:541\n - - - - -\n at errnoException (net.js:904:11)\n at Object.afterConnect as oncomplete\n"", source: file:///Applications/Kitematic.app/Contents/Resources/app.nw/index.js (83)

EvanK avatar Sep 02 '14 21:09 EvanK

+1. I had the same. I had to restart the boot2docker vm to be able to kill it off.

EDIT: I can only delete the image before boot2docker comes up. Once it's up and functioning, it doesn't seem to delete any further.

EDIT(2): I then removed all the images (rmi) from within the boot2docker, and was able to remove the image from the UI.

neogenix avatar Sep 03 '14 16:09 neogenix

Managed to get this working...

  • In VirtualBox...
    • Powered down & removed entirely all VMs
    • In Preferences > Network, removed all Host-only Networks entries
  • From the Uninstalling directions for kitematic:
    • sudo route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway 192.168.60.103
    • rm -rf ~/Library/Application\ Support/Kitematic
    • sudo rm /Library/LaunchAgents/com.kitematic.route.plist

Started up Kinematic from the command line, went through the setup again, and now it appears to work.

EvanK avatar Sep 03 '14 19:09 EvanK

@EvanK Thanks! I tried it again too, and had better luck after a few tries. It seems to also randomly go to 'docker@localhost's password' during the install too.

neogenix avatar Sep 03 '14 21:09 neogenix

Same issue here. Running Kitematic with console logs shows docker@localhost's password:

AMar4enko avatar Sep 04 '14 15:09 AMar4enko

Hey guys,

We updated the installer with patches. This issue should be solved.

Let me know if there are still problems. :)

mchiang0610 avatar Sep 04 '14 16:09 mchiang0610

thanks @mk101. I'll give it a try in the morning.

neogenix avatar Sep 05 '14 03:09 neogenix