Re: Unable to resize down data disk: libvirt exception - invalid argument: can't shrink capacity below existing allocation

2018-09-19 Thread Cloud List
Hi Simon, Thanks for your reply. We are using Ubuntu OS on the hypervisor level. We compiled libvirtd from source (downloaded from libvirt website) and do not use the one from Ubuntu apt package. Currently using below version: # libvirtd --version libvirtd (libvirt) 1.2.3 Any clue what could be

Re: MAAS and Cloudstack

2018-09-19 Thread Dag Sonstebo
Syed demo'ed this in Miami last year, I've cheekily bcc'ed him on this mail - hopefully he can answer your questions. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 19/09/2018, 19:42, "Richard Persaud" wrote: Hello, Is there any additional documentation on how to use Cloudsta

MAAS and Cloudstack

2018-09-19 Thread Richard Persaud
Hello, Is there any additional documentation on how to use Cloudstack with MAAS baremetal provisioning service? I have only found this: https://cwiki.apache.org/intermediates/pdfexport-20180410-100418-0207-158541/CLOUDSTACK-MaaSIntegrationforBaremetalProvisioninginCloudstack-100418-0207-158542.p

Re: VRs swapping with 256 MB RAM

2018-09-19 Thread Rohit Yadav
Hi Rene, I've come across issues where vmware side would provision less than 256MB RAM to the guest OS while vCenter would still claim to have reserved/allocated 256MB RAM. I've seen this happen few cases, which is why for 4.11+ VRs on vmware the guest os type selected is 'other linux 64'. Ref

Re: ***UNCHECKED*** Re: Network "restart required - yes"

2018-09-19 Thread Rafael Weingärtner
> > Btw, do you know what actually REALLY happens when you restart Network > (part of VPC), not the whole VPC - since I was not clear if this does > anything (and it takes 1-3 seconds only...) > I have checked this before, but I do not know it by heart now. If I had to guess, I would that say resta

Re: ***UNCHECKED*** Re: Network "restart required - yes"

2018-09-19 Thread Andrija Panic
Hi Rafael, thanks a lot for digging into code - I undestand possible situations now - thx. Btw, do you know what actually REALLY happens when you restart Network (part of VPC), not the whole VPC - since I was not clear if this does anything (and it takes 1-3 seconds only...) thx again On Wed, 1

Re: Network "restart required - yes"

2018-09-19 Thread Andrija Panic
Well, not recent at all, and no issues so far update was done a few months, and as I stated above, from DB I got all VRs reported to be running 4.6.0 version - I assume DB is populated dynamically as VR reports the version to MGMT server Need to think... On Wed, 19 Sep 2018 at 15:43, Simo

Re: Live Migration From VMware to KVM?

2018-09-19 Thread Info Manager
Hello, Live Migratiom across different hypervisors isn't possible, you can use third party tools. ср, 19 сент. 2018 г., 17:16 Fariborz Navidan : > Hello folks, > > Is it possible to add a VMware datacenter and live migrate all VMs from > VMware host to a KVM host? > > Thanks in advance. >

***UNCHECKED*** Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Simon Weller
Is your guest network the bond0.200? From: Jevgeni Zolotarjov Sent: Wednesday, September 19, 2018 9:34 AM To: [email protected] Subject: Re: Unable to communicate to instances on new host - iptables? sure iptables: *mangle :PREROUTING ACCEPT [4215:3

Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Jevgeni Zolotarjov
sure iptables: *mangle :PREROUTING ACCEPT [4215:32894293] :INPUT ACCEPT [3585:32849592] :FORWARD ACCEPT [756:57998] :OUTPUT ACCEPT [3739:715406] :POSTROUTING ACCEPT [4495:773404] COMMIT *nat :PREROUTING ACCEPT [22:3593] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [3:4508] :POSTROUTING ACCEPT [25:8101] COM

Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Simon Weller
Can you provide your iptables rules on your hosts? From: Jevgeni Zolotarjov Sent: Wednesday, September 19, 2018 9:29 AM To: [email protected] Subject: Re: Unable to communicate to instances on new host - iptables? sorry. corrected network config ifcf

Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Jevgeni Zolotarjov
sorry. corrected network config ifcfg-bond0: TYPE=Bond BONDING_MASTER=yes BONDING_OPTS="mode=802.3ad miimon=100 updelay=0 downdelay=0" DEVICE=bond0 ONBOOT=yes BOOTPROTO=none USERCTL=no HOTPLUG=no BRIDGE=cloudbr0 NM_CONTROLLED=no ifcfg-bond0.200: DEVICE=bond0.200 ONBOOT=yes HOTPLUG=no BOOTPROTO=no

Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Jevgeni Zolotarjov
Hi Simon, I am not using advanced network. Here is my network configuration ifcfg-bond0: TYPE=Bond BONDING_MASTER=yes BONDING_OPTS="mode=802.3ad miimon=100 updelay=0 downdelay=0" DEVICE=bond0 ONBOOT=yes BOOTPROTO=none USERCTL=no HOTPLUG=no BRIDGE=cloudbr0 NM_CONTROLLED=no ifcfg-bond0.200: DEVICE

Re: Live Migration From VMware to KVM?

2018-09-19 Thread Simon Weller
Live migration across different hypervisors is not possible. You could use a tool such as Veeam agent to backup the running VM and then import it as an image to KVM and start it. As the hypervisors use different paravirtualized drivers, you're going to need to do some work to be able to transfe

Live Migration From VMware to KVM?

2018-09-19 Thread Fariborz Navidan
Hello folks, Is it possible to add a VMware datacenter and live migrate all VMs from VMware host to a KVM host? Thanks in advance.

***UNCHECKED*** Re: Network "restart required - yes"

2018-09-19 Thread Rafael Weingärtner
According to the code: > a lot more code here > if (forceCleanup) { > if (!rollingRestartVpc(vpc, context)) { >s_logger.warn("Failed to execute a rolling restart as a part of VPC > " + vpc + " restart process"); >restartRequired = true; >return false; >

Re: Network "restart required - yes"

2018-09-19 Thread Simon Weller
Without digging into the code, I believe that the VR reports the version and it's matched against the min version. i'm not sure what happens if the version is not reported at all. Is this recent and have you updated the system QCOW2 or systemvm.iso recently? And if so, did you rebuild the rpms,

Re: Network "restart required - yes"

2018-09-19 Thread Andrija Panic
Just did some SQL - only 19 networks in this state (requires restart...), so a few of VPCs Minimum template version ss 4.6.0 (we run acs 4.8.x) and just checked all VRs from DB, did SQL, all existing routers are on this version (4.6.0) Hm... On Wed, 19 Sep 2018 at 15:02, Simon Weller wrot

Re: Network "restart required - yes"

2018-09-19 Thread Simon Weller
Andrija, Is this isolated to that particular VPC, or is this across the entire zone? What's the minreq.sysvmtemplate.version global set to? - Si From: Andrija Panic Sent: Wednesday, September 19, 2018 7:55 AM To: users Subject: Re: Network "restart required -

Re: Network "restart required - yes"

2018-09-19 Thread Andrija Panic
Actually, its the filed called "Restart required" - check here: https://pasteboard.co/HEBUmB0.png you go to inside VPC, click on network, and there it is... Thanks ! On Wed, 19 Sep 2018 at 14:42, Rafael Weingärtner < [email protected]> wrote: > Where is this appearing? In the network

Re: Network "restart required - yes"

2018-09-19 Thread Rafael Weingärtner
Where is this appearing? In the network 'state' field? On Wed, Sep 19, 2018 at 9:28 AM, Andrija Panic wrote: > Hi all, > > does anyone know it means when on the Network tab (this is VPC network) it > says "Restart Required - yes" ? > (the VR is using latest, up-to-date template just FYI). > > T

Network "restart required - yes"

2018-09-19 Thread Andrija Panic
Hi all, does anyone know it means when on the Network tab (this is VPC network) it says "Restart Required - yes" ? (the VR is using latest, up-to-date template just FYI). Thanks, -- Andrija Panić

Re: Rename an instance

2018-09-19 Thread Matheus Fontes
Hi Ugo, You can change the instance name by cloudmonkey. update virtualmachine id=ID_OF_VM name=NEW_NAME press tab twice at “id=“ to list all vm ids. > On 19 Sep 2018, at 07:27, Ugo Vasi wrote: > > Hi all, > from the cloudstack web interface (version 4.11.1 in my case) I can only > change th

Re: Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Simon Weller
Jevgeni, What type of networking are you using on your hosts? If advanced, what type of isolation? - Si From: Jevgeni Zolotarjov Sent: Wednesday, September 19, 2018 3:17 AM To: [email protected] Subject: Unable to communicate to instances on new hos

Re: Unable to resize down data disk: libvirt exception - invalid argument: can't shrink capacity below existing allocation

2018-09-19 Thread Simon Weller
This looks like a libvirt limitation/bug. What OS are you using? From: Cloud List Sent: Tuesday, September 18, 2018 11:34 PM To: [email protected] Subject: Re: Unable to resize down data disk: libvirt exception - invalid argument: can't shrink capacit

Re: Merge two cloudstack environments

2018-09-19 Thread Dag Sonstebo
Hi Ugo, Technically I guess it could be done - but it would require a huge amount of database and storage hacking with considerable risk of getting things wrong - so I would strongly advise against even attempting it. Regards, Dag Sonstebo Cloud Architect ShapeBlue On 19/09/2018, 11:03, "Ugo

Re: Rename an instance

2018-09-19 Thread Dingane Hlaluku
Hi Ugo CloudStack assigns three names for guest VM instance for use in different contexts and only allows user control for 2. It does now allow alterations to the instance name. "Instance name – a unique, immutable ID that is generated by CloudStack and cannot be modified by the user. This name

Re: Rename an instance

2018-09-19 Thread Ivan Kudryavtsev
Hey, Ugo. It is possible through API, AFAIK. CloudStack UI doesn't support that. 2018-09-19 17:27 GMT+07:00 Ugo Vasi : > Hi all, > from the cloudstack web interface (version 4.11.1 in my case) I can only > change the "Display name" by stopping the instance and clicking the icon. > > Is it possibl

Rename an instance

2018-09-19 Thread Ugo Vasi
Hi all, from the cloudstack web interface (version 4.11.1 in my case) I can only change the "Display name" by stopping the instance and clicking the icon. Is it possible to change the instance name? Is it dangerous to change the field in the database? Thanks in advance -- *Ugo Vasi* / System

Merge two cloudstack environments

2018-09-19 Thread Ugo Vasi
Hi all, having two cloudstack structures of different versions, can you merge them into one, maybe by upgrading the version of the older one? -- *Ugo Vasi* / System Administrator [email protected] *Procne S.r.l.* +39 0432 486 523 via Cotonificio, 45 33010 Tavagn

Unable to communicate to instances on new host - iptables?

2018-09-19 Thread Jevgeni Zolotarjov
Hello! We are running CS 4.11.1 on CentOS7 (latest) Previously the installation had just 1 KVM host. Now we added another identical host. After some configuration hassle with libvirtd, new host is up and running. I followed strictly the host installation guide for 4.11. But instances running on

***UNCHECKED*** Apache CloudStack Generic Key-Value and Communication Plug-in

2018-09-19 Thread Ivan Kudryavtsev
Hello, community. We glad to announce a new Open Source plug-in for Apache CloudStack which helps to maintain generic key-value storages. There are three types are supported right now: - temporary KV with TTL (many per account); - persistent KV bound to VM (one per VM); - persistent KV bound to a