Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-19 Thread roberto battistoni
; On Thu, Apr 18, 2019 at 9:18 AM Roberto Battistoni > wrote: > >> yes the problem is that KVM is not running. also with your specification >> it does not work… >> >> I must investigate on the KVM installation on the host machine. >> > > Look at the output

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-17 Thread Roberto Battistoni
gt; on it? > > What version of QEMU? What version of VirtualBox? > > Depending on it I might give you better advice on which accelerator (KVM, > Intel HAXM, etc) to use with QEMU. > > Waldek > > On Tuesday, April 16, 2019 at 2:06:26 AM UTC-4, Pekka Enberg wrote: >

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-15 Thread Roberto Battistoni
Hi guys! Any advice? Please I am very close to conclude my experimentations but QEMU is too slow and I need to do other tests with more efficient platform. thanks so much r > Il giorno 14 apr 2019, alle ore 08:13, robertob ha > scritto: > > I made package.yaml that correctly run with defa

Re: [osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-31 Thread roberto battistoni
Yes, you are right. It was a my mistake. Thanks a lot r Il giorno dom 31 mar 2019 alle ore 11:09 Rick Payne ha scritto: > > > On 31 Mar 2019, at 19:56, roberto battistoni > wrote: > > Sorry but the DHCP offers the IP both in the NAT and BRIDGE configuration. > I th

Re: [osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-31 Thread roberto battistoni
connect to localhost port 8000: Connection refused" Any advice? thanks Il giorno dom 31 mar 2019 alle ore 04:53 Rick Payne ha scritto: > On Thu, 2019-03-28 at 14:20 +0100, roberto battistoni wrote: > > [I/211 dhcp]: Received DHCPACK message from DHCP server: > > 192.

Re: [osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-28 Thread roberto battistoni
Sorry I didn't be so clear in my explanation. Running cli.so (with httpserver api) is only a test to understand why are not reachable the REST services. In my case the problem is that with BRIDGE configuration this does not work, instead with NAT it works. I need the BRIDGE configuration for my r

Re: [osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-28 Thread Roberto Battistoni
I did the include step you suggested but it did not work. So I made a test: capstan run uni -n "nat" -f "8000:8000" -e "/cli/cli.so” With “nat” configuration I see the REST services from the host (http://localhost:8000/ …), but when I switch to “bridge” I don’t see any

[osv-dev] Problems to pass arguments to a JAR in run.yaml

2019-03-19 Thread roberto battistoni
Dear all, I have a "run.yaml" to run a JAR file. We need to pass a lot of arguments but something go wrong. This is the snippet of the run.yaml: *myconfig1:* * main: /Uni.jar* * args:* * - -lsim -nTc 10* * - -sp 5* * - -kp ./keystore* * - -tf ./confi

Re: [osv-dev] Get logs inside a Unikernel instance

2019-03-15 Thread Roberto Battistoni
Hi, On 13/03/2019 17:06, Waldek Kozaczuk wrote: Hi, You can easily do this with newest mikelangelo capstan using compose-family-of-commands (https://github.com/mikelangelo-project/capstan/blob/master/Documentation/generated/CLI.md#working-with-application-packages - ala docker compose). I su

Re: [osv-dev] Get logs inside a Unikernel instance

2019-03-12 Thread roberto battistoni
I use the QEMU hypervisor. The problem is that in the Capstanfile the "base:" is "cloudius/osv-openjdk8" and I do not understand how add another base image like "httpserver" or "cloudius/osv" to activate the REST services. Any suggestion? regards r Il giorno lun 11 mar 2019 alle ore 14:38 Wald

Re: [osv-dev] Get logs inside a Unikernel instance

2019-03-08 Thread roberto battistoni
The problem is that the two instances run on a separate network and I do not understand how to reach them from the outside... The startup command is this: first instance: capstan run -n "bridge" -e "--ip=eth0,10.0.0.2,255.255.255.0 --defaultgw=10.0.0.1 --nameserver=10.0.0.1 /java.so -jar /my.jar"

Re: [osv-dev] Re: Run capstan with bridge conf: can I set static IP?

2019-03-01 Thread roberto battistoni
I'm trying to run this sample: "./bin/capstan run -e "--ip=eth0,10.0.0.2,255.255.255.0 --defaultgw=10.0.0.1 --nameserver=10.0.0.1" cloudius/osv" But with "-e" option I got a "This image has an empty command line. Nothing to run." message instead the running instance... Can you get me any advice

Re: [osv-dev] Re: Run capstan with bridge conf: can I set static IP?

2019-02-25 Thread Roberto Battistoni
Hi, On 26/02/2019 00:20, Waldek Kozaczuk wrote: Hi, Could you please elaborate your setup? Do you mean two separate VMs? Under what hypervisor? We use QEMU with a Capstanfile (outdated) to run our JAR with Java 8 base image: base: cloudius/osv-openjdk8, cli cmdline: /jav