Re: KVM: Out of subnet 'secondary' IPs for Virtual Machines (Anycast/floating IPs)

2022-01-19 Thread Daan Hoogland
Sounds dangerous, hope you get home with a good tale. On Wed, Jan 19, 2022 at 10:32 AM Wido den Hollander wrote: > > > On 1/17/22 4:28 PM, Wei ZHOU wrote: > > Hi Wido, > > > > CloudStack allows users to add multiple IP ranges to a shared network. > All > > these IPs share the same vlan. I hope i

Re: KVM: Out of subnet 'secondary' IPs for Virtual Machines (Anycast/floating IPs)

2022-01-19 Thread Wido den Hollander
On 1/17/22 4:28 PM, Wei ZHOU wrote: > Hi Wido, > > CloudStack allows users to add multiple IP ranges to a shared network. All > these IPs share the same vlan. I hope it helps you. > Yes, but then they would also be allocated to VMs. > The problem is, a secondary IP can only be assigned to a

Re: KVM: Out of subnet 'secondary' IPs for Virtual Machines (Anycast/floating IPs)

2022-01-17 Thread Wido den Hollander
Op 17-01-2022 om 15:07 schreef Daan Hoogland: Wido, As an operator, would I sell a floating ip with a number of instances it can be applied to? For example you would sell a /32 and /128 address (or a larger subnet) which a client can announce from their VMs. It does require that the upstr

Re: KVM: Out of subnet 'secondary' IPs for Virtual Machines (Anycast/floating IPs)

2022-01-17 Thread Wei ZHOU
Hi Wido, CloudStack allows users to add multiple IP ranges to a shared network. All these IPs share the same vlan. I hope it helps you. The problem is, a secondary IP can only be assigned to a VM. I think we can add a flag like `floating` to secondary IP . If the flag is true, it can be assigned

Re: KVM: Out of subnet 'secondary' IPs for Virtual Machines (Anycast/floating IPs)

2022-01-17 Thread Daan Hoogland
Wido, As an operator, would I sell a floating ip with a number of instances it can be applied to? just checking on your envisioned business case, not implying an answer here/yet. On Mon, Jan 17, 2022 at 2:37 PM Wido den Hollander wrote: > Hi, > > Use-case: I have a SG enabled shared network wher

Re: KVM Agent disconnect hooks

2021-10-15 Thread Marcus
at how other > projects are solving this problem, maybe explore other RPC frameworks such > as gRPC. > > Regards. > > > From: Marcus > Sent: Wednesday, October 6, 2021 22:36 > To: dev@cloudstack.apache.org > Subject: Re: KVM Agent disconnect ho

Re: KVM Agent disconnect hooks

2021-10-13 Thread Rohit Yadav
dern approach would be to look at how other projects are solving this problem, maybe explore other RPC frameworks such as gRPC. Regards. From: Marcus Sent: Wednesday, October 6, 2021 22:36 To: dev@cloudstack.apache.org Subject: Re: KVM Agent disconnect hooks

Re: KVM Agent disconnect hooks

2021-10-06 Thread Marcus
Thanks, Daan, I appreciate the feedback and I hope it is useful. I wish I could comment more on the other hypervisors and how something similar might work for them. On Wed, Oct 6, 2021 at 2:49 AM Daan Hoogland wrote: > thanks Marcus, > > On Tue, Oct 5, 2021 at 7:32 PM Marcus wrote: > > > Hi ev

Re: KVM Agent disconnect hooks

2021-10-06 Thread Daan Hoogland
thanks Marcus, On Tue, Oct 5, 2021 at 7:32 PM Marcus wrote: > Hi everyone! It's been awhile. I've got a feature I'd love to get some > feedback on and contribute to the community, if it's acceptable. I need to > brush up on the proper process (did read CONTRIBUTING.md). Not a lot has changed.

Re: KVM advanced zone without vLAN

2021-03-01 Thread Andrija Panic
You can't, Advanced zone has to use some isolation method, and that is VLAN by default. Please read the documentation thoroughly, in order to understand the possibilities and limitations. Best, On Mon, 1 Mar 2021 at 13:05, Al Amin wrote: > Hi, > > How can I setup KVM Advanced zone without vLAN,

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-06 Thread Wido den Hollander
On 9/5/19 6:03 PM, Riepl, Gregor (SWISS TXT) wrote: > >>> Wido, makes sense that log4j and logrotate would conflict. Log4j >>> has its >>> own rotate functionality. >> > > Note that a few CS log files are not generated by log4j. > You still need external logrotatation if you don't want them to

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-05 Thread Riepl, Gregor (SWISS TXT)
> > Wido, makes sense that log4j and logrotate would conflict. Log4j > > has its > > own rotate functionality. > Note that a few CS log files are not generated by log4j. You still need external logrotatation if you don't want them to fill up your disk. I had this issue with access.log, for exam

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-05 Thread Wido den Hollander
On 9/5/19 11:13 AM, Daan Hoogland wrote: > Wido, makes sense that log4j and logrotate would conflict. Log4j has its > own rotate functionality. It does indeed :-) > I didn't understand before but the binary data is always the beginning of > the file? Is always nulls? I found this out yesterda

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-05 Thread Daan Hoogland
Wido, makes sense that log4j and logrotate would conflict. Log4j has its own rotate functionality. I didn't understand before but the binary data is always the beginning of the file? Is always nulls? Op do 5 sep. 2019 09:18 schreef Wei ZHOU : > Hi Wido, > > I saw this issue in a 4.11.3 platform t

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-05 Thread Wei ZHOU
Hi Wido, I saw this issue in a 4.11.3 platform today. It seems to be caused by file https://github.com/apache/cloudstack/blob/master/agent/conf/cloudstack-agent.logrotate.in Maybe the file /etc/logrotate.d/cloudstack-agent is not needed ( in Ubuntu ?). -Wei On Thu, 5 Sep 2019 at 08:08, Wido

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-04 Thread Wido den Hollander
On 9/3/19 2:55 PM, Daan Hoogland wrote: > On Tue, Sep 3, 2019 at 2:22 PM Wido den Hollander wrote: > >> >> >> On 9/3/19 9:57 AM, Daan Hoogland wrote: >>> Can you find/look at the line before in the log. It is probably the one >>> containing the hindering data. Or otherwise it *might* be a clue

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-03 Thread Daan Hoogland
On Tue, Sep 3, 2019 at 2:22 PM Wido den Hollander wrote: > > > On 9/3/19 9:57 AM, Daan Hoogland wrote: > > Can you find/look at the line before in the log. It is probably the one > > containing the hindering data. Or otherwise it *might* be a clue where in > > the flow it happens. > > > > Do you

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-03 Thread Wido den Hollander
On 9/3/19 9:57 AM, Daan Hoogland wrote: > Can you find/look at the line before in the log. It is probably the one > containing the hindering data. Or otherwise it *might* be a clue where in > the flow it happens. > Do you have any idea what the easiest way might be? I checked agent.log.1.gz a

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-03 Thread Daan Hoogland
Can you find/look at the line before in the log. It is probably the one containing the hindering data. Or otherwise it *might* be a clue where in the flow it happens. On Tue, Sep 3, 2019 at 8:22 AM Wido den Hollander wrote: > > > On 9/2/19 10:18 PM, Wei ZHOU wrote: > > Hi Wido, > > > > I had sim

***UNCHECKED*** Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-02 Thread Wido den Hollander
bin1kKK_RS4uR.bin Description: PGP/MIME version identification

Re: kvm: /var/log/cloudstack/agent/agent.log is a binary file

2019-09-02 Thread Wei ZHOU
Hi Wido, I had similar issue (not agent.log). It is probably caused by one or few lines with special characters. "grep -a" should work. -Wei On Mon, 2 Sep 2019 at 19:35, Wido den Hollander wrote: > Hi, > > I've seen this on multiple occasions with Ubuntu 18.04 (and maybe > 16.04?) hypervisors

Re: KVM HA fails under multiple management services

2019-06-24 Thread Andrija Panic
his? > > 发件人: Nicolas Vazquez<mailto:nicolas.vazq...@shapeblue.com> > 发送时间: 2019年6月23日 23:31 > 收件人: dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>; > users<mailto:us...@cloudstack.apache.org> > 抄送: dev@cloudstack.apache.org<mailto:dev@cloudstack

Re: KVM HA fails under multiple management services

2019-06-23 Thread Nicolas Vazquez
domingo, 23 de junio 11:03 Asunto: Re: KVM HA fails under multiple management services Para: users Cc: dev@cloudstack.apache.org Li, based on the Global Setting description for those 2, I would say that is the expected behaviour. i.e. change Indirect.agent.lb.check.interval to some other value,

Re: KVM HA fails under multiple management services

2019-06-23 Thread Andrija Panic
Li, based on the Global Setting description for those 2, I would say that is the expected behaviour. i.e. change Indirect.agent.lb.check.interval to some other value, since 0 means "don't check, don't reconnect" per what I read. Also, you might want to change from Indirect.agent.lb.algorithm=sta

Re: KVM wrong CPU speed reported

2018-12-28 Thread Ivan Kudryavtsev
Fixing that is not back compatible because SOs can be created aligned to TurboBoost values. Adding global variable switch can be an option. пт, 28 дек. 2018 г., 7:38 Andrija Panic andrija.pa...@gmail.com: > I agree Wido, it's just that it's wrong - there should be no implicit CPU > over-provision

Re: KVM wrong CPU speed reported

2018-12-28 Thread Andrija Panic
I agree Wido, it's just that it's wrong - there should be no implicit CPU over-provisioning by default - and yes, later you can do over-provision by 2-3 as most of us do... just something that hurts my eyes :) On Fri, 28 Dec 2018 at 11:39, Wido den Hollander wrote: > > > On 12/28/18 9:23 AM, And

Re: KVM wrong CPU speed reported

2018-12-28 Thread Wido den Hollander
On 12/28/18 9:23 AM, Andrija Panic wrote: > Hi guys, > > https://github.com/apache/cloudstack/commit/29e389eb872ffa816be99aa66ff20bdec56d3187 > > this one gets above gets CPU frequency with "effectively > "cat sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" which gives the > TurboBoost C

Re: KVM Max Guests Limit

2018-11-09 Thread Andrija Panic
gt; >> > >>> >> > >>> >> > >>> On 11/8/18 11:20 PM, Simon Weller wrote: >> > >>>> I think these is legacy and a guess back in the day. It was 50 >> > at one >> > >>> point and

Re: KVM Max Guests Limit

2018-11-09 Thread Andrija Panic
1/8/18 11:20 PM, Simon Weller wrote: > > >>>> I think these is legacy and a guess back in the day. It was 50 > > at one > > >>> point and it was lifted higher a few releases. ago. > > >>>> > > >>> > > >>> I see. I'm about to do a test wi

Re: KVM Max Guests Limit

2018-11-09 Thread Wido den Hollander
m about to do a test with a bunch of 128GB hypervisors and > >>> spawning a lot of 128M VMs. Trying to see where the limit might > be and > >>> also stress the VR a bit by loading a lot of DHCP entries. > >>> > >>> Wido >

Re: KVM Max Guests Limit

2018-11-09 Thread Andrija Panic
higher a few releases. ago. > >>>> > >>> > >>> I see. I'm about to do a test with a bunch of 128GB hypervisors and > >>> spawning a lot of 128M VMs. Trying to see where the limit might be and > >>> also stress the VR a bit by loading a

Re: KVM Max Guests Limit

2018-11-09 Thread Wido den Hollander
;> point and it was lifted higher a few releases. ago. >>>>>> >>>>> >>>>> I see. I'm about to do a test with a bunch of 128GB hypervisors and >>>>> spawning a lot of 128M VMs. Trying to see where the limit might be and >>>

Re: KVM Max Guests Limit

2018-11-09 Thread Rafael Weingärtner
h of 128GB hypervisors and > >>> spawning a lot of 128M VMs. Trying to see where the limit might be and > >>> also stress the VR a bit by loading a lot of DHCP entries. > >>> > >>> Wido > >>> > >>>> > >>>> > &

Re: KVM Max Guests Limit

2018-11-09 Thread Wido den Hollander
gt; also stress the VR a bit by loading a lot of DHCP entries. >>> >>> Wido >>> >>>> >>>> >>>> >>>> >>>> From: Ivan Kudryavtsev >>>> Sent: Thursday, November 8, 2018 3:58 PM

Re: KVM Max Guests Limit

2018-11-09 Thread Andrija Panic
gt; > > > > > > > > > > From: Ivan Kudryavtsev > > > Sent: Thursday, November 8, 2018 3:58 PM > > > To: dev > > > Subject: Re: KVM Max Guests Limit > > > > > > Hi all, +1 for higher numbers.

Re: KVM Max Guests Limit

2018-11-09 Thread Rafael Weingärtner
> > > From: Ivan Kudryavtsev > > Sent: Thursday, November 8, 2018 3:58 PM > > To: dev > > Subject: Re: KVM Max Guests Limit > > > > Hi all, +1 for higher numbers. > > > > чт, 8 нояб. 2018 г. в 16:32, Wido den Hollander :

Re: KVM Max Guests Limit

2018-11-09 Thread Wido den Hollander
see where the limit might be and also stress the VR a bit by loading a lot of DHCP entries. Wido > > > > > From: Ivan Kudryavtsev > Sent: Thursday, November 8, 2018 3:58 PM > To: dev > Subject: Re: KVM Max Guests Limit > > Hi all, +1

Re: KVM Max Guests Limit

2018-11-08 Thread Andrija Panic
ago. > > > > > > From: Ivan Kudryavtsev > Sent: Thursday, November 8, 2018 3:58 PM > To: dev > Subject: Re: KVM Max Guests Limit > > Hi all, +1 for higher numbers. > > чт, 8 нояб. 2018 г. в 16:32, Wido den Hollander : > > > Hi, > > > > I see that for

Re: KVM Max Guests Limit

2018-11-08 Thread Simon Weller
I think these is legacy and a guess back in the day. It was 50 at one point and it was lifted higher a few releases. ago. From: Ivan Kudryavtsev Sent: Thursday, November 8, 2018 3:58 PM To: dev Subject: Re: KVM Max Guests Limit Hi all, +1 for higher numbers

Re: KVM Max Guests Limit

2018-11-08 Thread Ivan Kudryavtsev
Hi all, +1 for higher numbers. чт, 8 нояб. 2018 г. в 16:32, Wido den Hollander : > Hi, > > I see that for KVM we set the limit to 144 guests by default, can > anybody tell me why we have this limit set to 144? > > Searching a bit I found this: > https://access.redhat.com/articles/rhel-kvm-limits

RE: KVM CloudStack Agent Hacking proposal

2018-10-24 Thread Paul Angus
Cool. Thanks for the explanation Ivan, I'll watch with interest. paul.an...@shapeblue.com  www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Ivan Kudryavtsev Sent: 23 October 2018 14:55 To: dev Subject: Re: KVM Cloud

Re: KVM CloudStack Agent Hacking proposal

2018-10-23 Thread Ivan Kudryavtsev
Wido, > How are you planning on getting things like the VM name and other details to the scripts? Agent passes it right now into SGs, so I'm thinking about the same way: https://github.com/apache/cloudstack/blob/65f31f1a9fbc1c20cd752d80a7e1117efc0248a5/plugins/hypervisors/kvm/src/main/java/com/cl

Re: KVM CloudStack Agent Hacking proposal

2018-10-23 Thread Ivan Kudryavtsev
ike you want to build upon this rather than > rewrite it. > > > > > paul.an...@shapeblue.com > www.shapeblue.com > Amadeus House, Floral Street, London WC2E 9DPUK > @shapeblue > > > > > -Original Message- > From: Wido den Hollander > Sent: 23

RE: KVM CloudStack Agent Hacking proposal

2018-10-22 Thread Paul Angus
House, Floral Street, London WC2E 9DPUK @shapeblue -Original Message- From: Wido den Hollander Sent: 23 October 2018 07:46 To: dev@cloudstack.apache.org Subject: Re: KVM CloudStack Agent Hacking proposal On 10/22/18 8:02 PM, Ivan Kudryavtsev wrote: > Hello, Devs. > >

Re: KVM CloudStack Agent Hacking proposal

2018-10-22 Thread Wido den Hollander
On 10/22/18 8:02 PM, Ivan Kudryavtsev wrote: > Hello, Devs. > > I would like to introduce a feature and decided to consult with you about > its design before implementation. The feature is connected with KVM > CloudStack agent. We have found it beneficial to be able to launch custom > scripts u

Re: KVM HA BUG 4.11.1.0 centos 7

2018-08-13 Thread Thomas Heil
Hi, Ive added more hosts and enabled ha on all of them. Now i shoot down node cs-hv-06, which is running r-199. Here are the logs iam gettin. -- 2018-08-13 12:12:51,402 DEBUG [c.c.h.HighAvailabilityManagerImpl] (pool-5-thread-1:null) (logid:b71a09c7) Notifying HA Mgr of to restart vm 199-r-199-VM

Re: KVM on ubuntu

2018-01-16 Thread Wei ZHOU
In my experience, /etc/init/libvirt-bin.conf is used for ubuntu 12.04 (add "-d -l", any change in /etc/default/libvirt-bin has no impact) /etc/default/libvirt-bin is used for ubuntu 16.04. We use -l . "-d" will cause libvirt-bin fails to restart. If libvirt-bin fails to restart, please execute "sy

RE: KVM on ubuntu

2018-01-16 Thread Paul Angus
com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -Original Message- From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com] Sent: 16 January 2018 09:05 Cc: dev@cloudstack.apache.org Subject: Re: KVM on ubuntu On Tue, Jan 16, 2018 at 10:49 AM, Wido den Hollander wr

Re: KVM on ubuntu

2018-01-16 Thread Özhan Rüzgar Karaman
On Tue, Jan 16, 2018 at 10:49 AM, Wido den Hollander wrote: > > > On 01/16/2018 06:36 AM, Özhan Rüzgar Karaman wrote: > >> Hi Paul; >> Ubuntu 16.04 has systemd installed and it directly controls libvirtd >> process so if you add -d to /etc/default/libvirt-bin file libvirtd tries >> to >> control

Re: KVM on ubuntu

2018-01-15 Thread Wido den Hollander
On 01/16/2018 06:36 AM, Özhan Rüzgar Karaman wrote: Hi Paul; Ubuntu 16.04 has systemd installed and it directly controls libvirtd process so if you add -d to /etc/default/libvirt-bin file libvirtd tries to control to its self and then you have problem, you could not stop/start/restart libvirtd

Re: KVM on ubuntu

2018-01-15 Thread Özhan Rüzgar Karaman
Hi Paul; Ubuntu 16.04 has systemd installed and it directly controls libvirtd process so if you add -d to /etc/default/libvirt-bin file libvirtd tries to control to its self and then you have problem, you could not stop/start/restart libvirtd service via systemd. Only adding -l flag to libvirtd_opt

Re: KVM Host overprovisioning

2017-09-12 Thread Ivan Kudryavtsev
Hi, community. I implemented quick PR for KVM cloudstack-agent with use of additional directive host.overcommit.mem.mb at agent.properties https://github.com/apache/cloudstack/pull/2266 I tested it in my 4.9, works nic for me. Also, during the building I found interesting bug in Quota plugin, pr

Re: KVM Host overprovisioning

2017-09-12 Thread Wido den Hollander
> Op 12 september 2017 om 9:05 schreef Ivan Kudryavtsev > : > > > Yes, sure. > > What I want is an ability to increase host memory rather than decrease it. > > So the first suggestion is to add a parameter to increase amount of > megabytes or gigabytes, not necessary a multiplier. Manual addi

Re: KVM Host overprovisioning

2017-09-12 Thread Ivan Kudryavtsev
Yes, sure. What I want is an ability to increase host memory rather than decrease it. So the first suggestion is to add a parameter to increase amount of megabytes or gigabytes, not necessary a multiplier. Manual adding via agent.properties is a good way to implement it because different hosts ca

Re: KVM Host overprovisioning

2017-09-11 Thread Wido den Hollander
> Op 11 september 2017 om 13:04 schreef Ivan Kudryavtsev > : > > > Hi, Wido. > > Yes, you can. But it works not the way I expect because It cuts RAM from VM > by dividing it to overprovisioning factor like VM with 2GB of RAM with > Overprovisioning factor 2.0 will get 1GB displayed with "free"

Re: KVM Host overprovisioning

2017-09-11 Thread Ivan Kudryavtsev
Hi, Wido. Yes, you can. But it works not the way I expect because It cuts RAM from VM by dividing it to overprovisioning factor like VM with 2GB of RAM with Overprovisioning factor 2.0 will get 1GB displayed with "free" command. That's why I finished the message with words that it might be I just

Re: KVM Host overprovisioning

2017-09-11 Thread Wido den Hollander
Hi, > Op 10 september 2017 om 8:37 schreef Ivan Kudryavtsev > : > > > Hello, community. > > During the last years Linux kernel got some interesting features like KSM, > ZSWAP, ZRAM. Hardware also steps forward and we see Intel 3d xpoint, > extremely fast SSD drives with m.2 and PCI-E interface

Re: KVM Plugin Test JNA Failure on Master

2016-08-02 Thread Jeff Hair
Yeah. I'm on Ubuntu 14.04 at the moment. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Tue, Aug 2, 2016 at 4:03 PM, Rohit Yadav wrote: > Hi Jeff, > > > It depends on what base distro/OS you're using to build CloudStack. I'm > u

Re: KVM Plugin Test JNA Failure on Master

2016-08-02 Thread Rohit Yadav
Hi Jeff, It depends on what base distro/OS you're using to build CloudStack. I'm using Ubuntu 16.04 and CentOS7 (latest) and I did not get errors while building latest master. Though, I see Travis related failures around few unit tests in cloud-server. If you're using Ubuntu 12.04/14.04 or o

Re: KVM Libvirt Versions

2016-06-20 Thread Wei ZHOU
document bug, I think. Ubuntu 12.04 works fine in my testing. 2016-06-20 12:24 GMT+02:00 Paul Angus : > Hi All, > > Our documentation states that the following are required: > > * libvirt: 1.2.0 or higher > * Qemu/KVM: 2.0 or higher > > CentOS6 does not include these versions > CentOS7

Re: KVM host agent disconnection

2016-02-07 Thread Wido den Hollander
> Op 6 februari 2016 om 13:01 schreef Indra Pramana : > > > Hi Wido, > > Good day to you, and thanks for your reply. Nice to hear from you again. :) > > So is this caused by a bug on 4.2 which is resolved on newer version of > ACS? Any specific information on the bug, e.g. bug ID and descripti

Re: KVM host agent disconnection

2016-02-06 Thread Indra Pramana
Hi Wido and all, Good day to you. In addition to my previous email, I noted that the latest released version of ACS is 4.7. May I know if the problem is resolved by 4.7? I don't think 4.8 is already available from ACS repository, unless if we get the source and compile ourselves. https://cloudst

Re: KVM host agent disconnection

2016-02-06 Thread Indra Pramana
Hi Wido, Good day to you, and thanks for your reply. Nice to hear from you again. :) So is this caused by a bug on 4.2 which is resolved on newer version of ACS? Any specific information on the bug, e.g. bug ID and description on how to fix it? Is there a way I can resolve the problem without hav

Re: KVM host agent disconnection

2016-02-05 Thread Wido den Hollander
Hi, > Op 5 februari 2016 om 17:24 schreef Indra Pramana : > > > Dear all, > > We are using CloudStack 4.2.0, KVM hypervisor and Ceph RBD for primary > storage. In the past one week, many of our KVM host agents would often be > disconnected from the management server, causing the VMs to go down

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Nux!
Thanks Wido, Let's see what the others think of it. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Wido den Hollander" > To: dev@cloudstack.apache.org > Sent: Wednesday, 6 January, 2016 16:30:57 >

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Wido den Hollander
adrant using Borg technology! > > Nux! > www.nux.ro > > - Original Message - >> From: "Wido den Hollander" >> To: dev@cloudstack.apache.org >> Sent: Wednesday, 6 January, 2016 15:37:39 >> Subject: Re: KVM: Security grouping through libvirt instead of Python

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Nux!
e.org > Sent: Wednesday, 6 January, 2016 15:37:39 > Subject: Re: KVM: Security grouping through libvirt instead of Python > On 06-01-16 16:20, Nux! wrote: >> That's great! Fine by me then, but we need to be careful and not mess up the >> SG >> bits for XenServer. >

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Wido den Hollander
udstack.apache.org >> Sent: Wednesday, 6 January, 2016 14:38:17 >> Subject: Re: KVM: Security grouping through libvirt instead of Python > >> On 06-01-16 13:12, Nux! wrote: >>> Hi Wido, >>> >>> +1 for using more libvirt and less custom stuff, but what d

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Nux!
den Hollander" > To: dev@cloudstack.apache.org > Sent: Wednesday, 6 January, 2016 14:38:17 > Subject: Re: KVM: Security grouping through libvirt instead of Python > On 06-01-16 13:12, Nux! wrote: >> Hi Wido, >> >> +1 for using more libvirt and less custom stuff, but w

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Wido den Hollander
On 06-01-16 13:12, Nux! wrote: > Hi Wido, > > +1 for using more libvirt and less custom stuff, but what do we do about > XenServer? SG is supported with it as well and there is no libvirt there. > Would this be a different implementation just for KVM? > Yes. For KVM we control almost everythi

Re: KVM: Security grouping through libvirt instead of Python

2016-01-06 Thread Nux!
Hi Wido, +1 for using more libvirt and less custom stuff, but what do we do about XenServer? SG is supported with it as well and there is no libvirt there. Would this be a different implementation just for KVM? In addition, I have the following in production and it's not clear if it would conti

Re: [KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-18 Thread Wei ZHOU
Qian, This is fixed in 4.6/master by commit bef92052ee9a7303b427782838a8a97623de231c diff --git a/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeDataFactoryImpl.java b/engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeDataFactoryImp~ index bc51f5f..3e4cdff

Re: [KVM] NPE when createVolume by a snapshot whose source volume is deleted

2015-11-18 Thread Wido den Hollander
On 11/18/2015 08:23 AM, Qian Shaohua wrote: > Hi all, > > > > CS 4.5.2 KVM > > KVMStorageProcessor checks source volume of a snapshot for the ImageFormat > in createVolumeFromSnapshot(CopyCommand cmd). > > If the source volume is deleted, we get NPE. > > > > 2015-11-18 14:02:57,259 DEBU

Re: KVM HA is broken, let's fix it

2015-10-12 Thread Frank Louwers
> On 10 Oct 2015, at 12:35, Remi Bergsma wrote: > > Can you please explain what the issue is with KVM HA? In my tests, HA starts > all VMs just fine without the hypervisor coming back. At least that is on > current 4.6. Assuming a cluster of multiple nodes of course. It will then do > a neigh

Re: KVM HA is broken, let's fix it

2015-10-10 Thread Nux!
m: "Remi Bergsma" > To: dev@cloudstack.apache.org > Cc: "Cloudstack Users List" > Sent: Saturday, 10 October, 2015 11:35:36 > Subject: Re: KVM HA is broken, let's fix it > Hi Lucian, > > Can you please explain what the issue is with KVM HA? In my test

Re: KVM HA is broken, let's fix it

2015-10-10 Thread Remi Bergsma
Hi Lucian, Can you please explain what the issue is with KVM HA? In my tests, HA starts all VMs just fine without the hypervisor coming back. At least that is on current 4.6. Assuming a cluster of multiple nodes of course. It will then do a neighbor check from another host in the same cluster.

Re: KVM unit tests issue

2015-05-29 Thread Rohit Yadav
Thanks Wilder :) > On 29-May-2015, at 9:18 am, Wilder Rodrigues > wrote: > > That’s a bunch of emails within 10minutes. :) > > I checked the branch again and found out that not all the IPs have been > replaced. It means that you commit on the 25th was fine. > > Will fix it now and merge. > > Ch

Re: KVM unit tests issue

2015-05-29 Thread Wilder Rodrigues
That’s a bunch of emails within 10minutes. :) I checked the branch again and found out that not all the IPs have been replaced. It means that you commit on the 25th was fine. Will fix it now and merge. Cheers, Wilder > On 29 May 2015, at 09:09, Wilder Rodrigues > wrote: > > Hi there again,

Re: KVM unit tests issue

2015-05-29 Thread Wilder Rodrigues
Hi there again, The file on master doesn’t contains my changes, as we already know: https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/kvm/test/com/cloud/hypervisor/kvm/resource/LibvirtComputingResourceTest.java If you check the history, the changes were gone 7 days ago, on th

Re: KVM unit tests issue

2015-05-29 Thread Wilder Rodrigues
Sorry, that’s the PR: https://github.com/apache/cloudstack/pull/270 Cheers, Wilder On 29 May 2015, at 09:03, Wilder Rodrigues mailto:wrodrig...@schubergphilis.com>> wrote: It was indeed fixed on libvirt: https://github.com/schubergphilis/cloudstack/commit/982a0235a0143864e5b0eda1836fb913d9125

Re: KVM unit tests issue

2015-05-29 Thread Wilder Rodrigues
It was indeed fixed on libvirt: https://github.com/schubergphilis/cloudstack/commit/982a0235a0143864e5b0eda1836fb913d91252f6 and it was merged 9 days ago: https://github.com/schubergphilis/cloudstack/commit/982a0235a0143864e5b0eda1836fb913d91252f6 It seems another PR just got rid of my changes.

Re: KVM unit tests issue

2015-05-28 Thread Wilder Rodrigues
Sorry guys, I missed this email. A couple of weeks ago I replaced many IPs by 127.0.0.1 in the tests. Missed that one. Haven’t ran into this issue - not local, remotely or seen any complain on ASF builds. Reason for not reacting before. Will fix. Cheers, Wilder On 25 May 2015, at 16:01, Raf

Re: KVM unit tests issue

2015-05-25 Thread Rafael Fonseca
I am getting the same in my environments, can't you put that UnsatistfiedLinkError in a try/catch to let it not fail if the exception isn't thrown? :) On Mon, May 25, 2015 at 3:55 PM, Rohit Yadav wrote: > Hi Wilder, > > In my environment, when building the kvm plugin on master branch I’m > getti

Re: KVM HA

2015-05-03 Thread Nux!
This can be done by enabling HA in the service offering for an instance. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Budur Nagaraju" > To: dev@cloudstack.apache.org > Sent: Thursday, 30 April, 2015 10:37:56 > Subject: KVM HA > HI

Re: KVM HA

2015-05-02 Thread Tilak Raj Singh
goto boot menu to enable intel virtualisation...in newer intel motherboards its under security in boot menu.. On Fri, May 1, 2015 at 8:46 PM, Somesh Naidu wrote: > There may not be any specific KVM.HA configuration. What are you looking > for? > > Somesh > CloudPlatform Escalations > Citrix Syst

RE: KVM HA

2015-05-01 Thread Somesh Naidu
There may not be any specific KVM.HA configuration. What are you looking for? Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Budur Nagaraju [mailto:nbud...@gmail.com] Sent: Thursday, April 30, 2015 5:38 AM To: dev@cloudstack.apache.org Subject: KVM HA H

Re: KVM securing root

2015-04-24 Thread Remi Bergsma
+1 @Marcus: This is also something on my wish list :-) @Nux: When we look at SELinux, we should also make it work with AppArmor (Ubuntu). I think it should not be too hard to fix this for the KVM agent, as both provide tools to record the permissions and create profiles. But you never know what y

Re: KVM securing root

2015-04-23 Thread Nux!
Good proposition. Personally I would like to see support for Selinux and separation between VMs. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: "Marcus" > To: dev@cloudstack.apache.org > Sent: Friday, 24 April, 2015 00:17:09 > Subject

Re: KVM plugs public nic twice in non-VPC router

2015-04-15 Thread Simon Weller
Remi, We haven't experienced exactly what you're describing, but we did have a similar issue that caused multiple interfaces to be built back when we upgraded to 4.3 from 4.1.1 on KVM. Have a look at https://issues.apache.org/jira/browse/CLOUDSTACK-6464. The notes also reference another couple o

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Laszlo Hornyak
It is still doing the same, I suspect that this is an intentional behavior of qemu, it keeps the disk space for future use. However I haven't found any documentation on how users should free the space. On Mon, Dec 8, 2014 at 12:32 PM, Wei ZHOU wrote: > As far as I know, KVM does support memory

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Nux!
t; > To: dev@cloudstack.apache.org > Sent: Monday, 8 December, 2014 12:05:50 > Subject: Re: KVM - VM snapshot (round 2) > Hm... I see that in XS 6.0.2 it was impossible to do memory snapshot unless > you had a licenced XS ? Is this still the case with XS 6.2 ? > > On 8 December 2014 at 12:4

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Erik Weber
Not that I know. I take VM snaphots all the time, and don't have XS licenses. -- Erik On Mon, Dec 8, 2014 at 1:05 PM, Andrija Panic wrote: > Hm... I see that in XS 6.0.2 it was impossible to do memory snapshot unless > you had a licenced XS ? Is this still the case with XS 6.2 ? > > On 8 Decem

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Andrija Panic
Hm... I see that in XS 6.0.2 it was impossible to do memory snapshot unless you had a licenced XS ? Is this still the case with XS 6.2 ? On 8 December 2014 at 12:43, Erik Weber wrote: > On Mon, Dec 8, 2014 at 12:11 PM, Vadim Kimlaychuk < > vadim.kimlayc...@elion.ee > > wrote: > > > CS does not s

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Erik Weber
On Mon, Dec 8, 2014 at 12:11 PM, Vadim Kimlaychuk wrote: > CS does not support memory snapshots for XenServer. Disk snapshots are > working. Not sure about VmWare, but I guess it should be the same. I > thought the reachest feature-set is developed for KVM. But if it does not > support memory sna

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Wei ZHOU
As far as I know, KVM does support memory snapshot. The shortcoming is libvirt-java supports only internal snapshot (not external snapshots) for now. In this case, the memory snapshot will be attached to the qcow2 file, and the qcow2 will grow even after we remove the memory snapshot. I've changed

Re: KVM - VM snapshot (round 2)

2014-12-08 Thread Andrija Panic
With KVM - I understand that there are 2 steps in general. 1) libvirts save - which saves memory of running VM to a file 2) qemu-img to snapshot disks... AS for the KVM VM snapshoting - my understanding is that the code is not implemented at all, right ? On 8 December 2014 at 12:11, Vadim Kimlay

RE: KVM - VM snapshot (round 2)

2014-12-08 Thread Vadim Kimlaychuk
CS does not support memory snapshots for XenServer. Disk snapshots are working. Not sure about VmWare, but I guess it should be the same. I thought the reachest feature-set is developed for KVM. But if it does not support memory snapshots - I wonder wich hypervisor does it ? This option at user

Re: KVM VM snapshots any time soon ?

2014-11-06 Thread Mike Tutkowski
Thanks, Wido On Thursday, November 6, 2014, Wido den Hollander wrote: > > > On 11/05/2014 10:26 PM, Mike Tutkowski wrote: > > When you say the disk would be snapshotted, do you mean from the point of > > view of the SAN or from the point of view of the hypervisor? > > > > Hypervisor. QCOW2 files

Re: KVM VM snapshots any time soon ?

2014-11-06 Thread Wido den Hollander
On 11/05/2014 10:26 PM, Mike Tutkowski wrote: > When you say the disk would be snapshotted, do you mean from the point of > view of the SAN or from the point of view of the hypervisor? > Hypervisor. QCOW2 files support snapshots, so does RBD. When using iSCSI we usually create a VG on top of t

Re: KVM VM snapshots any time soon ?

2014-11-05 Thread Mike Tutkowski
When you say the disk would be snapshotted, do you mean from the point of view of the SAN or from the point of view of the hypervisor? A SAN snapshot is no problem. I'm mainly curious to see how this would work for a hypervisor snapshot. Thanks! On Wed, Nov 5, 2014 at 2:24 PM, Wido den Hollander

  1   2   3   >