direktiv / vorteil

turn your applications and containers into micro virtual machines
https://direktiv.io
Apache License 2.0
174 stars 13 forks source link

Virtualizer, adding fail with Graphql error #129

Closed wahmedswl closed 3 years ago

wahmedswl commented 3 years ago

Problem description

Not able to Virtualizer from Vorteil Studio, getting following error

GraphQL ERROR: Syntax Error GraphQL request (1:109) Unterminated string. 1: mutation newHyperVVirtualizer { newHyperVVirtualizer(name:"HyperV", headless: true, switch: "Default Switch ^ 2: ") }

Expected behaviour

Virtualization platform should be added.

Actual behaviour

Getting graphql error and not able to add.

Steps to reproduce

  1. List of steps that must be taken to reproduce the issue.

System details

Please include details about the system that the issue can be reproduced on, including:

image

trentis commented 3 years ago

Hi, thanks for the report!

If you visit the included GraphQL Playground at http://localhost:7472/graphql in your web browser, you could try to run the raw mutation yourself. Does this affect the result at all?

mutation newHyperVVirtualizer { 
  newHyperVVirtualizer(name:"HyperV", headless: true, switch: "Default Switch ^ 2:") 
}

Unfortunately I was not able to reproduce your error, so I hope this helps. The Vorteil Studio is currently out of date and does not support the latest kernel. We recommend using our up-to-date Command Line Interface tools which you can get by visiting our GitHub project page and navigating to the 'Releases' page.

Using the CLI, you can run a Vorteil VM on HyperV as follows:

vorteil.exe run <RUNNABLE> --platform hyper-v