[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
Sounds like there is some debate as to whether this is a crash or an error message. I'm going to change status to 'Opinion' so that further discussion can happen. ** Changed in: vm-builder (Ubuntu) Status: New = Opinion -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/777318/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
Well. I'm still surprised how this can seriously not be considered a crash. Yes it's an error message. Maybe even a good and meaningful one. But it's a crash nonetheless. I'd use logging.exception to print the stack trace along with an error message instead of letting the Python exception handler handle it and make Apport show up. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/777318/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
But it makes apport pop up to report a crash. ** Changed in: vm-builder (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/777318/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
Resolving as invalid. ** Changed in: vm-builder (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/777318/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
Thanks for taking the time to report this bug. vmbuilder must be run as root. You ran it as non-root user, which was the reason for the error. You will also need to use ubuntu' in place of natty for the second argument, and specify natty for the suite instead. Something like the following should work: sudo vmbuilder kvm ubuntu --suite=natty -addpkg=openssh-server --addpkg=nano ** Changed in: vm-builder (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
Calling the program with the wrong arguments shouldn't make it crash. Hence it's a bug. ** Changed in: vm-builder (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 777318] Re: ubuntu-vm-builder crashed with VMBuilderUserError in main()
This wasn't a crash, it was a meaningful error message. ** Changed in: vm-builder (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/777318 Title: ubuntu-vm-builder crashed with VMBuilderUserError in main() -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs