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

Create a diskless containerVM #1114

Closed
corrieb opened this issue Jun 16, 2016 · 2 comments
Closed

Create a diskless containerVM #1114

corrieb opened this issue Jun 16, 2016 · 2 comments
Labels
component/portlayer priority/p4 resolution/will-not-fix This issue is valid, but will not be fixed

Comments

@corrieb
Copy link
Contributor

corrieb commented Jun 16, 2016

For end-to-end testing the Port Layer exec redesign #1043, combined with TCE #1044, it would be extremely useful to have a diskless containerVM. This would allow us to test without any network or storage dependencies. A statically linked application could be copied into a RAMdisk via the tether.

It's unclear whether the app binary could be copied during initialization. If so, then we could trigger the entrypoint just like if there was a disk attached. If it has to be copied in after initialization, then we'd have to have to treat it like an exec. The lifecycle of the container would still need to be tied to the lifecycle of the application.

This should hopefully be very simple to implement. We just don't attach a disk and then get the initialization script in the ISO to start up in a particular mode - either because it can detect there's no disk attached - or because of some guestinfo setting.

@mdubya66
Copy link
Contributor

Should this remain open. Seems the ship has sailed or is there more research needed?

Marking low as not a 1.1 requirement

@hickeng
Copy link
Member

hickeng commented Apr 27, 2017

Adding this back in to refactor portlayer - not because it's a core requirement for containerVMs, but because it's needed by vic-machine if that's to use the portlayer to create the endpoint.

This addresses the bootstrap requirement of having a means to place data on a vmdk without having an endpointVM already running.

An alternative approach would be a slightly different pl.storage impl to use when self-hosted in vic-machine, that instead of attaching a disk to prepare an image instead authors a vmdk directly and uploads that to the expected location.

@zjs zjs added the resolution/will-not-fix This issue is valid, but will not be fixed label Mar 5, 2019
@zjs zjs closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/portlayer priority/p4 resolution/will-not-fix This issue is valid, but will not be fixed
Projects
None yet
Development

No branches or pull requests

4 participants