Re: Ceph & KVM clusters on the same servers

2015-12-15 Thread Vadim Kimlaychuk

Dear Vladimir,

You have this in documentation: "Warning. It is NOT recommended to run 
services on this host not controlled by CloudStack." from here: 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html
Believe me - this is for reason. It is usually bad idea to mix different 
roles at one host unless you want to have all-in-one development 
environment for some specific goal. Linux is great, but more your put on 
one host more fragile becomes the entire system. You can't change one 
part without breaking the other.


Vadim.

On 2015-12-15 16:08, Vladimir Melnik wrote:


Hello,

Have anyone tried to use the same servers for a KVM virtualization
HA-cluster and a Ceph storage cluster?

So guests' VMs and volumes will be quite available. Of course, there'll
be huge network load, so we'll have to design our network wisely. Maybe
a separate network for the management VLAN and for the
management/monitoring network of Ceph, a separate one for the secondary
storage network, another one - for public & private VLANS of guests 
and,
the last but not least, a network to interact with the Ceph storage 
from

hypervisors. Should be working fine, shouldn't it?

If anyone tried to implement this configuration, would you be so kind 
as

to share any of your conclusions about its performance and reliability?
Thank you very much in advance!




Links:
--
[1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


Re: Can I delete a unused VHD in a chain?

2015-12-10 Thread Vadim Kimlaychuk
/sm/cleanup.py", line 633, in validate
raise util.SMException("VHD %s corrupted" % self)

<8756> 2015-12-07 21:50:45.230181 
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

<8756> 2015-12-07 21:50:45.230234 Coalesce failed, skipping

Regards,
F.

On 10 Dec 2015, at 08:22, Vadim Kimlaychuk <va...@kickcloud.net> wrote:

Dear France,

It is more than 6 months I have used vhd-util, and xe to clean-up 
manually, but I remember that if you try to destroy VDI that has a 
child - you'll get an error. Since you have all the chain from the 
parent you should start from the last child and move to the top. You 
shouldn't be able to destroy VDI in the middle of the chain, since it 
will definitely corrupt data.


I didn't understand how exactly did you check existing VHD files? How 
do you know it is corrupted? Does vhd-util query shows that? What does 
it mean - "corrupted and not found". If it is not found, how do you 
know it is corrupted?


Try to work with vhd-util -- it is great. I think you can resolve all 
the issues with it.


Vadim.

On 2015-12-09 20:39, France wrote:

Thank you Vladim, for your response.
Ity is greatly appreciated.
I will surely read the document.
So If I understand correctly, I can try to remove it and if it would be 
bad for my setup, xe will not do it? :-)

I guess coalesce will not work, if one VHD in chain is corrupted.
I guess I will have to try and repair it first.
We will see. :-)
I vageuly remember that thin provisioning was not possible with CLVM 
over ISCSI at the time of cluster setup, so I guess we do not have it.

Regards,
F.
On 09 Dec 2015, at 18:18, Vadim Kimlaychuk <va...@kickcloud.net> wrote:
Dear France,
Hope this article helps 
you:http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf 
[1] [1 [1]] Common practice is to use "vhd-util" to merge (coalesce) 
VHD files into usable image. Luckily xe tool is smart enough not to 
allow you destroy image that is a part of the chain. Of course it is 
more safe to copy all the files before destruction (in a case you have 
thin provisioning).

Vadim.
On 2015-12-09 18:27, France wrote:
Hi guys,
below is the chain cross referenced with CS MySql database.
Can I delete/destroy 1a240d45-ee0a-4c30-809b-3114dfaf85ba without bad 
consequences? Are next in chain dependant upon it?

*555b38bf[VHD](20.000G//2.695G|n) -> not foud
5afd5849[VHD](20.000G//8.000M|n) -> found in template_spool_ref. status 
ready, template ID 292

*02e8b56b[VHD](20.000G//12.000M|n) -> not found
*1a240d45[VHD](20.000G//136.000M|n) <- corrupted and not found
*c99e711b[VHD](20.000G//136.000M|n) -> not found
34a03c9a[VHD](20.000G//8.000M|a) -> found in shapshot_store_ref. state 
destroyed, volume id 661, from template id 292
5c12db0a[VHD](20.000G//8.000M|n) -> found in shapshot_store_ref. state 
destroyed -> probably not part of the above chain?

I would do xe vdi-destroy=1a240d45-ee0a-4c30-809b-3114dfaf85ba .
Alternatively I think about exporting template ID 292 in CS, deleting 
it and importing it back again. It should remove the whole chain, 
right? 'Cause noone is using it?

Regards,
F.

Links:
--
[1] 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf 
[1]




Links:
--
[1] 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf


Re: Can I delete a unused VHD in a chain?

2015-12-09 Thread Vadim Kimlaychuk

Dear France,

 It is more than 6 months I have used vhd-util, and xe to clean-up 
manually, but I remember that if you try to destroy VDI that has a child 
- you'll get an error. Since you have all the chain from the parent you 
should start from the last child and move to the top. You shouldn't be 
able to destroy VDI in the middle of the chain, since it will definitely 
corrupt data.


 I didn't understand how exactly did you check existing VHD files?  
How do you know it is corrupted? Does vhd-util query shows that? What 
does it mean - "corrupted and not found". If it is not found, how do you 
know it is corrupted?


 Try to work with vhd-util -- it is great. I think you can resolve 
all the issues with it.


Vadim.


On 2015-12-09 20:39, France wrote:


Thank you Vladim, for your response.
Ity is greatly appreciated.

I will surely read the document.
So If I understand correctly, I can try to remove it and if it would be 
bad for my setup, xe will not do it? :-)

I guess coalesce will not work, if one VHD in chain is corrupted.
I guess I will have to try and repair it first.
We will see. :-)

I vageuly remember that thin provisioning was not possible with CLVM 
over ISCSI at the time of cluster setup, so I guess we do not have it.


Regards,
F.

On 09 Dec 2015, at 18:18, Vadim Kimlaychuk <va...@kickcloud.net> wrote:

Dear France,

Hope this article helps you: 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf 
[1] Common practice is to use "vhd-util" to merge (coalesce) VHD files 
into usable image. Luckily xe tool is smart enough not to allow you 
destroy image that is a part of the chain. Of course it is more safe to 
copy all the files before destruction (in a case you have thin 
provisioning).


Vadim.

On 2015-12-09 18:27, France wrote:

Hi guys,
below is the chain cross referenced with CS MySql database.
Can I delete/destroy 1a240d45-ee0a-4c30-809b-3114dfaf85ba without bad 
consequences? Are next in chain dependant upon it?

*555b38bf[VHD](20.000G//2.695G|n) -> not foud
5afd5849[VHD](20.000G//8.000M|n) -> found in template_spool_ref. status 
ready, template ID 292

*02e8b56b[VHD](20.000G//12.000M|n) -> not found
*1a240d45[VHD](20.000G//136.000M|n) <- corrupted and not found
*c99e711b[VHD](20.000G//136.000M|n) -> not found
34a03c9a[VHD](20.000G//8.000M|a) -> found in shapshot_store_ref. state 
destroyed, volume id 661, from template id 292
5c12db0a[VHD](20.000G//8.000M|n) -> found in shapshot_store_ref. state 
destroyed -> probably not part of the above chain?

I would do xe vdi-destroy=1a240d45-ee0a-4c30-809b-3114dfaf85ba .
Alternatively I think about exporting template ID 292 in CS, deleting 
it and importing it back again. It should remove the whole chain, 
right? 'Cause noone is using it?

Regards,
F.




Links:
--
[1] 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf


Re: Can I delete a unused VHD in a chain?

2015-12-09 Thread Vadim Kimlaychuk

Dear France,

  Hope this article helps you: 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf 
 Common practice is to use "vhd-util" to merge (coalesce) VHD files into 
usable image. Luckily xe tool is smart enough not to allow you destroy 
image that is a part of the chain. Of course it is more safe to copy all 
the files before destruction (in a case you have thin provisioning).


Vadim.

On 2015-12-09 18:27, France wrote:


Hi guys,

below is the chain cross referenced with CS MySql database.
Can I delete/destroy 1a240d45-ee0a-4c30-809b-3114dfaf85ba without bad 
consequences? Are next in chain dependant upon it?


*555b38bf[VHD](20.000G//2.695G|n) -> not foud
5afd5849[VHD](20.000G//8.000M|n) -> found in template_spool_ref. status 
ready, template ID 292

*02e8b56b[VHD](20.000G//12.000M|n) -> not found
*1a240d45[VHD](20.000G//136.000M|n) <- corrupted and not found
*c99e711b[VHD](20.000G//136.000M|n) -> not found
34a03c9a[VHD](20.000G//8.000M|a) -> found in shapshot_store_ref. state 
destroyed, volume id 661, from template id 292
5c12db0a[VHD](20.000G//8.000M|n) -> found in shapshot_store_ref. state 
destroyed -> probably not part of the above chain?


I would do xe vdi-destroy=1a240d45-ee0a-4c30-809b-3114dfaf85ba .

Alternatively I think about exporting template ID 292 in CS, deleting 
it and importing it back again. It should remove the whole chain, 
right? 'Cause noone is using it?


Regards,
F.


Re: ACS + XenServer + DAS ?

2015-12-08 Thread Vadim Kimlaychuk

Nux,

It is hard to understand without part number what exactly do you mean? 
DAS at Supermicro is usually referenced as backplane where you plug 
HDD-s in. We have such a server with 24 HDD and HBA adapter behind it. 
But this is just a server with a lot of bays for hard drives.


Vadim.

On 2015-12-08 20:49, Nux! wrote:


Hello,

I'm asked to set up something like the $subject. The DAS is Supermicro 
(mini-SAS).
As I've never worked with this kind of stuff before, can anyone clarify 
if this qualifies as shared storage in any way and can be used for HA 
or live migration?
From what I read DAS is considered by XenServer as local storage and 
there's no way around, I'm hoping to be told differently. :)


Thanks,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro [1]




Links:
--
[1] http://www.nux.ro


Re: What SDN are you using?

2015-11-30 Thread Vadim Kimlaychuk
I don't know if applicable, but I had very good impression from VyOS 
(http://vyos.net/wiki/Main_Page).


Vadim.

On 2015-11-29 20:56, Nux! wrote:


Hello,

So besides the folks using Nicira, can anyone recommend any other SDN 
thing or should I stay with v(x)lans?
I'm kind of removed from this side of things since my deployments tend 
to be with Security Grups in a single or few VLANs, any suggestions 
welcome, preferably free/foss.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro [1]




Links:
--
[1] http://www.nux.ro


Re: What SDN are you using?

2015-11-30 Thread Vadim Kimlaychuk
We mostly use it as external (to Cloudstack) intelligent switch/router, 
but also installed it as guest VM within cloud to provide customized SDN 
functionality.


Vadim.

On 2015-11-30 13:10, Nux! wrote:


Hello Vadim,

How exactly are you integrating VyOS in Cloudstack? We're also using it 
internally, but not sure how it would help us, especially with regards 
to SDN.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro [1]

- Original Message -


From: "Vadim Kimlaychuk" <va...@kickcloud.net>
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org, "Nux!" <n...@li.nux.ro>
Sent: Monday, 30 November, 2015 11:09:18
Subject: Re: What SDN are you using?


We have been using it at our DEV cloud around year ago. Now we are out
or resources so dev- environment is destroyed.

Vadim.

On 2015-11-30 12:24, Frank Louwers wrote:

Hi Vadim,

Are you using VyOS in a Cloudstack environment?

On 30 Nov 2015, at 11:20, Vadim Kimlaychuk <va...@kickcloud.net> wrote:

I don't know if applicable, but I had very good impression from VyOS
(http://vyos.net/wiki/Main_Page [2] [1 [2]]).

Vadim.

On 2015-11-29 20:56, Nux! wrote:

Hello,
So besides the folks using Nicira, can anyone recommend any other SDN
thing or should I stay with v(x)lans?
I'm kind of removed from this side of things since my deployments tend
to be with Security Grups in a single or few VLANs, any suggestions
welcome, preferably free/foss.
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro [1] [2 [1]] [1 [2]]

Links:
--
[1] http://www.nux.ro [1] [2 [1]]

Links:
--
[1] http://vyos.net/wiki/Main_Page [2]
[2] http://www.nux.ro [1]




Links:
--
[1] http://www.nux.ro
[2] http://vyos.net/wiki/Main_Page


Re: What SDN are you using?

2015-11-30 Thread Vadim Kimlaychuk
We have been using it at our DEV cloud around year ago. Now we are out 
or resources so dev- environment is destroyed.


Vadim.

On 2015-11-30 12:24, Frank Louwers wrote:


Hi Vadim,

Are you using VyOS in a Cloudstack environment?

On 30 Nov 2015, at 11:20, Vadim Kimlaychuk <va...@kickcloud.net> wrote:

I don't know if applicable, but I had very good impression from VyOS 
(http://vyos.net/wiki/Main_Page [1]).


Vadim.

On 2015-11-29 20:56, Nux! wrote:

Hello,
So besides the folks using Nicira, can anyone recommend any other SDN 
thing or should I stay with v(x)lans?
I'm kind of removed from this side of things since my deployments tend 
to be with Security Grups in a single or few VLANs, any suggestions 
welcome, preferably free/foss.

Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro [2] [1 [2]]

Links:
--
[1] http://www.nux.ro [2]




Links:
--
[1] http://vyos.net/wiki/Main_Page
[2] http://www.nux.ro


Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-24 Thread Vadim Kimlaychuk

Keerhiraja,

This one exists: 
https://issues.apache.org/jira/browse/CLOUDSTACK-7446, but is connected 
to OVS component that is a part of PVLAN functionality.


Vadim.

On 2015-11-24 11:06, Keerthiraja SJ wrote:

Regarding this issue is anyone raised issue in Jira if so please 
provide me

it will help me to follow.

Thanks,
Keerthi

On Tue, Nov 24, 2015 at 1:29 PM, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

Dear Stavros,

We also use XS 6.5 with bonding(active-backup) and VLANs, but this
discussion is about PVLANs. It is a bit different isolation method that
should also work for some CS distributions.

Regards,

Vadim.

On 2015-11-24 09:28, Stavros Konstantaras wrote:

Hi Vadim,
We use Xenserver 6.5 with bonding interfaces (LACP) and VLANs on top of
them at our compute nodes. At Head nodes we use Cloudstack 4.5.2 with 
bonds
and VLANS. Everything works fine until now, however documentation on 
VLANs

is lucking on both Cloudstack and Xenserver.

Cheers
Stavros


Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763 3465 A8DC 7C92 330F D59A

On 24 Nov 2015, at 02:51, Keerthiraja SJ <sjkeer...@gmail.com> wrote:

Hi All,

Will the CS 4.5 + XEN 6.5 using bond and pvlan will work on the 
upcoming

4.5.3.

Thanks,
Keerthi

On Thu, Nov 19, 2015 at 12:59 AM, Remi Bergsma <
rberg...@schubergphilis.com>
wrote:

Hi Vadim,

Thanks for your reply. For the 4.6 release we changed the way we work.
Instead of branching off early and making a release branch stable, we
decided to stabilise master. We got many complaints that master didn't
compile at times or functionality wasn't tested before it entered 
master.

Making master stable was quite some work, even harder than making a
release
branch stable. I can imagine that process gives you the impression of
"many
problems".

In reality, this should bring more stable releases. 4.7 will be built 
on

top of 4.6, so if 4.6 is good, 4.7 will be better (and so on). In the
past,
4.5 was not built on top of 4.4 (so you saw problems coming back and 
had

to
wait until a .1 or .2 release, indeed).

4.6.0 was released after just two RC voting rounds, while previous
releases needed more of them. That says something about the quality 
IMHO.


This is not so related to the question that was asked but I wanted to 
be
sure there weren't any "problems" in 4.6 that I didn't know about (so 
they

could be addressed). It's perfectly fine not to upgrade yet. But please
don't give people the impression there are "many problems" while you
cannot
name them.

In the mean while we work on 4.6.1 and 4.7.0 and hopefully some day 
you'll

have a smooth upgrade and enjoy the new features.

If you need any help with upgrading, please drop us a line on the dev
list.

Regards,
Remi

On 18/11/15 15:45, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Remi,

My apologize to mislead Audrey with notations - problem were
with VPC, not VR. Voting process for 4.6 release was also very
difficult. Of course official release will be stabilized, but from user
perspective I will say the same to Aundery - 4.6 will not solve his
problem with OVS plugin and probably will bring more problems than
4.5.2. May be this is just fear before release, but this is my personal
fear - I will wait until 4.6.1 definitely. My 4.5.2 VPC works too good
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:

Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1] [1 [1]] [1 
[1]]. Since

4.5.1
this
plugin is not in the list anymore. The reason, I guess, is outdated
code
that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't
know
if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you want
to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Ass

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-23 Thread Vadim Kimlaychuk

Dear Stavros,

 We also use XS 6.5 with bonding(active-backup) and VLANs, but this 
discussion is about PVLANs. It is a bit different isolation method that 
should also work for some CS distributions.


Regards,

Vadim.

On 2015-11-24 09:28, Stavros Konstantaras wrote:


Hi Vadim,

We use Xenserver 6.5 with bonding interfaces (LACP) and VLANs on top of 
them at our compute nodes. At Head nodes we use Cloudstack 4.5.2 with 
bonds and VLANS. Everything works fine until now, however documentation 
on VLANs is lucking on both Cloudstack and Xenserver.


Cheers
Stavros


Stavros Konstantaras
Science faculty Research IT support (FEIOG)
University of Amsterdam, Science Park 904, 1098 XH

Fingerprint: E5E5 9B19 D1CD 88CD 4763 3465 A8DC 7C92 330F D59A

On 24 Nov 2015, at 02:51, Keerthiraja SJ <sjkeer...@gmail.com> wrote:

Hi All,

Will the CS 4.5 + XEN 6.5 using bond and pvlan will work on the 
upcoming

4.5.3.

Thanks,
Keerthi

On Thu, Nov 19, 2015 at 12:59 AM, Remi Bergsma 
<rberg...@schubergphilis.com>

wrote:

Hi Vadim,

Thanks for your reply. For the 4.6 release we changed the way we work.
Instead of branching off early and making a release branch stable, we
decided to stabilise master. We got many complaints that master didn't
compile at times or functionality wasn't tested before it entered 
master.
Making master stable was quite some work, even harder than making a 
release
branch stable. I can imagine that process gives you the impression of 
"many

problems".

In reality, this should bring more stable releases. 4.7 will be built 
on
top of 4.6, so if 4.6 is good, 4.7 will be better (and so on). In the 
past,
4.5 was not built on top of 4.4 (so you saw problems coming back and 
had to

wait until a .1 or .2 release, indeed).

4.6.0 was released after just two RC voting rounds, while previous
releases needed more of them. That says something about the quality 
IMHO.


This is not so related to the question that was asked but I wanted to 
be
sure there weren't any "problems" in 4.6 that I didn't know about (so 
they

could be addressed). It's perfectly fine not to upgrade yet. But please
don't give people the impression there are "many problems" while you 
cannot

name them.

In the mean while we work on 4.6.1 and 4.7.0 and hopefully some day 
you'll

have a smooth upgrade and enjoy the new features.

If you need any help with upgrading, please drop us a line on the dev 
list.


Regards,
Remi

On 18/11/15 15:45, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Remi,

My apologize to mislead Audrey with notations - problem were
with VPC, not VR. Voting process for 4.6 release was also very
difficult. Of course official release will be stabilized, but from user
perspective I will say the same to Aundery - 4.6 will not solve his
problem with OVS plugin and probably will bring more problems than
4.5.2. May be this is just fear before release, but this is my personal
fear - I will wait until 4.6.1 definitely. My 4.5.2 VPC works too good
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:

Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1] [1 [1]]. 
Since 4.5.1

this
plugin is not in the list anymore. The reason, I guess, is outdated
code
that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't
know
if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you want
to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]



[2]
[1 [1]]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I thin

Re: [DISCUSS] ACS 4.5.3 release

2015-11-20 Thread Vadim Kimlaychuk

 I have 2 issues, both are related to UI.

 1. Network -> VPC -> Configure -> Network tier dashboard item has wrong 
number of "Public LB IP" in use. I have none, but it shows 6 (since 
4.5.1)
 2. Network -> VPC -> Configure -> Router - public gateways page has 
button with "label.add.private.gateway" caption instead of "Add private 
gateway" (since 4.5.2)


 I didn't create issues in JIRA.

 Vadim.


On 2015-11-20 09:23, Özhan Rüzgar Karaman wrote:
Hi Rohid;
I am looking for full Centos 7 support for KVM hosts. I know that 4.6.0 
and
4.5.3 will support it. Do we have any fixed date for public 4.6.0 
release?


Thanks
Özhan

On Fri, Nov 20, 2015 at 8:27 AM, Rohit Yadav 


wrote:

Hi all,

I want to ask how happy people are with the last 4.5.2 release and if
there are any issues they want to report or want to be fixed in a 
future
minor release. If we've enough demand, we can work towards a last 4.5 
minor

release. Thanks.

Rohit Yadav
*Software Architect*

* D: +44 20 3642 6102 <+442036426102> | S: +44 20 3603 0540
<+442036030540> | M: +91 88 262 30892 <+447770745036>
rohit.ya...@shapeblue.com  | 
www.shapeblue.com [1]

 | Twitter:@ShapeBlue
 ShapeBlue Ltd, 53 Chandos Place,
Covent Garden, London, WC2N 4HS *

Find out more about ShapeBlue and our range of CloudStack related 
services


IaaS Cloud Design & Build

CSForge - rapid IaaS deployment framework 

CloudStack Consulting 

CloudStack Software Engineering

CloudStack Infrastructure Support

CloudStack Bootcamp Training Courses


This email and any attachments to it may be confidential and are 
intended
solely for the use of the individual to whom it is addressed. Any views 
or
opinions expressed are solely those of the author and do not 
necessarily
represent those of Shape Blue Ltd or related companies. If you are not 
the
intended recipient of this email, you must neither take any action 
based
upon its contents, nor copy or show it to anyone. Please contact the 
sender
if you believe you have received this email in error. Shape Blue Ltd is 
a
company incorporated in England & Wales. ShapeBlue Services India LLP 
is a
company incorporated in India and is operated under license from Shape 
Blue
Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil
and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is
a company registered by The Republic of South Africa and is traded 
under

license from Shape Blue Ltd. ShapeBlue is a registered trademark.




Links:
--
[1] http://www.shapeblue.com
[2] http://www.shapeblue.com/
[3] https://twitter.com/#!/shapeblue
[4] http://shapeblue.com/iaas-cloud-design-and-build//
[5] http://shapeblue.com/csforge/
[6] http://shapeblue.com/cloudstack-consultancy/
[7] http://shapeblue.com/cloudstack-software-engineering/
[8] http://shapeblue.com/cloudstack-infrastructure-support/
[9] http://shapeblue.com/cloudstack-training/


Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-19 Thread Vadim Kimlaychuk

Dear Remi,

   I had this impression you described indeed. Have been with CS 
project from version 4.0 and updates always being very exiting thing :)
   Your words make me more confident in what you did. The idea to 
stabilize master is great! I am sorry for panic. Please, accept my 
apologize


Regards,

Vadim.


On 2015-11-18 21:29, Remi Bergsma wrote:


Hi Vadim,

Thanks for your reply. For the 4.6 release we changed the way we work. 
Instead of branching off early and making a release branch stable, we 
decided to stabilise master. We got many complaints that master didn't 
compile at times or functionality wasn't tested before it entered 
master. Making master stable was quite some work, even harder than 
making a release branch stable. I can imagine that process gives you 
the impression of "many problems".


In reality, this should bring more stable releases. 4.7 will be built 
on top of 4.6, so if 4.6 is good, 4.7 will be better (and so on). In 
the past, 4.5 was not built on top of 4.4 (so you saw problems coming 
back and had to wait until a .1 or .2 release, indeed).


4.6.0 was released after just two RC voting rounds, while previous 
releases needed more of them. That says something about the quality 
IMHO.


This is not so related to the question that was asked but I wanted to 
be sure there weren't any "problems" in 4.6 that I didn't know about 
(so they could be addressed). It's perfectly fine not to upgrade yet. 
But please don't give people the impression there are "many problems" 
while you cannot name them.


In the mean while we work on 4.6.1 and 4.7.0 and hopefully some day 
you'll have a smooth upgrade and enjoy the new features.


If you need any help with upgrading, please drop us a line on the dev 
list.


Regards,
Remi

On 18/11/15 15:45, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Remi,

My apologize to mislead Audrey with notations - problem were
with VPC, not VR. Voting process for 4.6 release was also very
difficult. Of course official release will be stabilized, but from user
perspective I will say the same to Aundery - 4.6 will not solve his
problem with OVS plugin and probably will bring more problems than
4.5.2. May be this is just fear before release, but this is my personal
fear - I will wait until 4.6.1 definitely. My 4.5.2 VPC works too good
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:

Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1] [1 [1]]. 
Since 4.5.1

this
plugin is not in the list anymore. The reason, I guess, is outdated
code
that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't
know
if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you want
to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]

[2]
[1 [1]]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5.
Use
VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but
when
I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea abo

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Audrey,

  If you talk about VPC private gateway you should start a new 
thread. I haven't used it yet.


Vadim.

On 2015-11-18 17:16, Audrey Roberto B Baldin wrote:


Vadim,

I will use VPC also, but in my initial tests (CS 4.5.2), when I tried 
to configure a static route to a private gateway, using the UI or 
cloudmonkey, the route was not installed in the VR. Did you notice this 
problem?


Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>, "Remi 
Bergsma" <rberg...@schubergphilis.com>

Enviadas: Quarta-feira, 18 de Novembro de 2015 12:45:28
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Dear Remi,

My apologize to mislead Audrey with notations - problem were
with VPC, not VR. Voting process for 4.6 release was also very
difficult. Of course official release will be stabilized, but from user
perspective I will say the same to Aundery - 4.6 will not solve his
problem with OVS plugin and probably will bring more problems than
4.5.2. May be this is just fear before release, but this is my personal
fear - I will wait until 4.6.1 definitely. My 4.5.2 VPC works too good
to take a risk of immediate update :)

Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:


Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have 
created

bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1] [1 [1]]. 
Since 4.5.1

this
plugin is not in the list anymore. The reason, I guess, is outdated
code
that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't
know
if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you 
want

to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had 
seen

it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]

[2 [2]]
[1 [1]]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5.
Use
VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but
when
I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.c

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Dear Audrey,

 OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created 
bug report in JIRA 
https://issues.apache.org/jira/browse/CLOUDSTACK-7446. Since 4.5.1 this 
plugin is not in the list anymore. The reason, I guess, is outdated code 
that is not compatible with this release. CS 4.6 version has a lot of 
problems with VR, so I would not recommend you to install it. Don't know 
if OVS is back there. I doubt.


 I think you may find OVS plugin at CS source tree, but whether you want 
to update it? Is PVLAN so important for you?


Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:


Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and 
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen 
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure 
PVLAN.


Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[1]

XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5. 
Use

VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:


Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but 
when

I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
5)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1
03)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53
)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.j
ava:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292
)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurre

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-18 Thread Vadim Kimlaychuk

Dear Remi,

My apologize to mislead Audrey with notations - problem were 
with VPC, not VR. Voting process for 4.6 release was also very 
difficult. Of course official release will be stabilized, but from user 
perspective I will say the same to Aundery - 4.6 will not solve his 
problem with OVS plugin and probably will bring more problems than 
4.5.2. May be this is just fear before release, but this is my personal 
fear - I will wait until 4.6.1 definitely.  My 4.5.2 VPC works too good 
to take a risk of immediate update :)


Vadim.

On 2015-11-18 15:32, Remi Bergsma wrote:


Hi Vadim,

What VR problems do you refer to in ACS 4.6?

Regards,
Remi

On 18/11/15 12:52, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Dear Audrey,

OVS plugin, as I remember, last seen OK before CS 4.4.0. I have created
bug report in JIRA
https://issues.apache.org/jira/browse/CLOUDSTACK-7446 [1]. Since 4.5.1 
this
plugin is not in the list anymore. The reason, I guess, is outdated 
code

that is not compatible with this release. CS 4.6 version has a lot of
problems with VR, so I would not recommend you to install it. Don't 
know

if OVS is back there. I doubt.

I think you may find OVS plugin at CS source tree, but whether you want
to update it? Is PVLAN so important for you?

Vadim.

On 2015-11-18 13:30, Audrey Roberto B Baldin wrote:

Hi Vadim, thanks for your help.

After reading your message I remembered of the plugin area of CS and
yes, the OVS plugin is missing. So I ask: Why is it missing? I had seen
it before (CS 4.5.1 probably) and using XEN 6.5 was able to configure
PVLAN.

Is it possible to instal the OVS plugin? Where can I find it?

Does CS 4.6 has the plugin out-of-the-box?

Att.,
Audrey

- Mensagem original -
De: "Vadim Kimlaychuk" <va...@kickcloud.net>
Para: users@cloudstack.apache.org
Cc: "Audrey Roberto B Baldin" <audrey.bal...@unitelco.com.br>
Enviadas: Terça-feira, 17 de Novembro de 2015 19:08:10
Assunto: Re: CS 4.5 + XEN 6.5 using bond and pvlan

Hello Audrey,

Look at this document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN 
[2]

[1]
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin
for cloudstack hasn't been updated for a long time as I know. At my CS
4.5.2 this plugin is missing, though in older versions of CS it was
present. I think this functionality does not work for XenServer 6.5.
Use
VLANs - it is more reliable.

Vadim.

On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:

Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated
for Public traffic, one for MGMT + Secondary Storage, one for Primary
Storage and a bond configured for the Guest traffic. Zone is installed
as Advanced without Security Groups.

When I add a Guest Network with PVLAN, the network is created, but
when
I try to create a new instance it does not start. I realized that the
virtual router also does not start. Adding a Guest Network without
PVLAN works as expected.

Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase]
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label:
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was
a failure communicating with the plugin.

2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache]
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr
owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add,
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1
50.236.11, due to There was a failure communicating with the plugin.
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6
5)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext

Re: CS 4.5 + XEN 6.5 using bond and pvlan

2015-11-17 Thread Vadim Kimlaychuk

Hello Audrey,

Look at this document: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN
XenServer uses OVS and CS have OVS pluging to work with. OVS plugin 
for cloudstack hasn't been updated for a long time as I know. At my CS 
4.5.2 this plugin is missing, though in older versions of CS it was 
present. I think this functionality does not work for XenServer 6.5. Use 
VLANs - it is more reliable.


Vadim.

 On 2015-11-17 21:11, Audrey Roberto B Baldin wrote:


Hello everybody!

I installed CS 4.5.2 and I'm using XEN 6.5. There is one NIC dedicated 
for Public traffic, one for MGMT + Secondary Storage, one for Primary 
Storage and a bond configured for the Guest traffic. Zone is installed 
as Advanced without Security Groups.


When I add a Guest Network with PVLAN, the network is created, but when 
I try to create a new instance it does not start. I realized that the 
virtual router also does not start. Adding a Guest Network without 
PVLAN works as expected.


Does anyone have an idea about it?

Looking into the log I could find the information below:

2015-11-17 12:03:48,924 WARN [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-280:ctx-c1d905bf) callHostPlugin failed for cm
d: setup-pvlan-dhcp with args dhcp-mac: 06:b9:40:00:08:91, nw-label: 
GUESTBR0, isolated-pvlan: 999, op: add, dhcp-name:
r-10-VM, primary-pvlan: 900, dhcp-ip: 200.150.236.11, due to There was 
a failure communicating with the plugin.


2015-11-17 12:03:48,924 WARN [c.c.a.m.DirectAgentAttache] 
(DirectAgent-280:ctx-c1d905bf) Seq 1-6584825605169088819: Thr

owable caught while executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed 
for cmd: setup-pvlan-dhcp with args dhcp-mac: 06:
b9:40:00:08:91, nw-label: GUESTBR0, isolated-pvlan: 999, op: add, 
dhcp-name: r-10-VM, primary-pvlan: 900, dhcp-ip: 200.1

50.236.11, due to There was a failure communicating with the plugin.
at 
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3686)
at 
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1708)
at 
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:541)
at 
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:64)
at 
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at 
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:6

5)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:1

03)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53

)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.j

ava:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292

)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Thanks for your help!

Att.,
Audrey


Re: CloudStack KVM VM Load Balancing

2015-10-28 Thread Vadim Kimlaychuk

Hello Özhan,

  I hope this document may help you: 
http://cloudstack-administration.readthedocs.org/en/latest/networking_and_traffic.html
  Load balancing for guest VMs are done by virtual routers in 
advanced zone.


Vadim.

On 2015-10-28 15:33, Özhan Rüzgar Karaman wrote:


Hi;
Does CloudStack handle, VM Load Balancing over KVM hosts? I am looking 
for

Vmware DRS style vm load balancing solution over KVM hosts. I check
documents but i could not find much info. Thanks for all responses.

Regards
Özhan


Re: how to deploy VM on to dedicated cluster ?

2015-10-20 Thread Vadim Kimlaychuk

Hello Yiping,

   There is also such functionality as "affinity groups". You may 
define group and all VMs from that group will be deployed "close to each 
other".  I don't know whether group could be hard-bounded to specific 
cluster. Probably not, because all hard-links are considered to be bad. 
Try to imagine -- what happens, if you have entire c1 down, but all 
other clusters are up ? Should client get deny of service just because 
it belongs to wrong domain? Think about your requirements. Why do you 
need such complicated rules?


Vadim.

On 2015-10-20 09:11, Vadim Kimlaychuk wrote:


Hello Yiping,

There is also such functionality as "affinity groups". You may define 
group and all VMs from that group will be deployed "close to each 
other". I don't know whether group could be hard-bounded to specific 
cluster. Probably not, because all hard-links are considered to be bad. 
Try to imagine -- what happens, if you have entire c1 down, but all 
other clusters are up ? Should client get deny of service just because 
it belongs to wrong domain? Think about your requirements. Why do you 
need such complicated rules?


Vadim.

On 2015-10-19 21:41, Yiping Zhang wrote:


Hi, all:

I am trying to work out the best way of deploying VM's onto a 
dedicated cluster. Here is what my CloudStack setup looks like:


Domains: d1, d2, d3, d4
Clusters: c1 (dedicated to d1), c2 (not dedicated)
Currently, I am not using tags for hosts, storages, service offerings 
at all.


When I login to domains d2/d3/d4, and create new VM's, they will go to 
cluster c2. That's great as it is the intended results.
However, when I login to domain d1 and create new VM's, they can go to 
either cluster c1 or c2, but I would like VM's only go to c1.


Is using host/storage tags and matching tags in service offering the 
only way to achieve this goal ?


The reason I am reluctant to use tags is that leads to proliferation 
of service offerings, as the resulting number of SO could grow 
exponentially with the number of host/storage tags introduced.


Thanks,

Yiping


Re: Recurring snapshots are not auto cleaned

2015-10-12 Thread Vadim Kimlaychuk

 Andrei,

 Open bug at https://issues.apache.org/jira/browse/cloudstack.

 Regards,

 Vadim.

 On 2015-10-12 00:53, Andrei Mikhailovsky wrote:


Hi guys,

was wondering if you've seen the same behaviour as I am currently 
experiencing? I've set a recurring volume snapshot to take place every 
night and set it to keep 7 snapshots. The snapshots are being taken, 
but ACS does not remove them. So far, i've got around 17 snapshots 
since the beginning of this schedule. I've tried to manually remove the 
old snaps to free up some space and that worked. So no issues with the 
actual delete function.


I also have several volumes with a weekly recurring snapshot and the 
removal of the old snapshots work perfectly well. The problem seems to 
be with daily snapshots.


Any idea how to fix this? I am running ACS 4.5.1 with KVM hosts and rbd 
storage + nfs for secondary.


Cheers

Andrei


Re: table cloud.template_store_ref

2015-10-01 Thread Vadim Kimlaychuk

Dear Yesid,

  Are you sure that CS version is 3.4.2 ?  I wasn't able to find such 
number in the history
  Anyway, everyone else will ask for management server log. Can you drop 
it here?


Regards,

Vadim.

On 2015-10-01 09:37, Yesid Mora wrote:

Hello, I have a problem with template system vm, I check table 
cloud.template_store_ref and inform that the template is downloaded but 
the size is 0 and the install path inform that is template/tmpl/1/8 and 
no more, the version is cloudstacl 3.4.2 esxi 5.5, please collaboration 
guys, thanks


CORDIALMENTE / BEST REGARDS,

Yesid Mora | Orchestration Engineer | O4IT

PBX:+57 (1) 423-5460 Ext 251 | Cel: 3124509565

Cr. 7 #74-56 | Oficina 202 | Bogotá, Colombia

www.o4it.com [1] | ym...@o4it.com

[1] [2] [3] [4] [5]

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
is for the sole use of the intended recipient(s) and may contain 
confidential or proprietary information. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, immediately contact the sender by reply e-mail and destroy 
all copies of the original message.







Re: blacklist IP addresses?

2015-09-30 Thread Vadim Kimlaychuk

Stephan,

   If you don't want some address to be provided by VR - can't you 
exclude this from network range? At least cloudstack offers for IPv6 
start IP, end IP and CIDR specification. You may specify longer CIDR and 
start-end IP with smaller range. Thus some of the addresses will never 
be issued. Is this what are you looking for? I haven't tried this 
practically, so don't be rude if this does not work :)



Regards,

Vadim.

On 2015-09-30 12:17, Daan Hoogland wrote:

Stephan, I am not sure how it works exactly but I think what you want 
is
not provided. Can you add a jira ticket for it? I will be looking into 
IPv6
probably over the next period and we can always mark it unvalid or 
won't

fix if needed.

thanks,

On Tue, Sep 29, 2015 at 5:40 PM, Stephan Seitz <
s.se...@secretresearchfacility.com> wrote:


Hi,

we're currently adding IPv6 to some of our networks. Due to a design
decision we made to some part of our infrastructure to keep it HA, we
need to blacklist some particular addresses in the provided space.

Is it possible to "blacklist" a few addresses, so the VR's dhcp6 won't
provide them?

Indeed, even a /64 has a broad range of addresses and a conflict would
be very unlikely, but ... I'ld better be prepared :)

I didn't find any self-descriptive table / field in the 
cloud-database,

so I'm quite unsure if it's possible at all.

I'ld really appreciate any suggestions!

Cheers,

Stephan


RE: expand root disk type volume

2015-09-29 Thread Vadim Kimlaychuk

Sonali,

  If I remember correctly CS queries VM resources, so you don't need 
to update disk size by hands. CS should do it autmatically


Vadim

On 2015-09-29 11:11, Sonali Jadhav wrote:

I am wondering to expand disk from XenServer and then manually update 
cloudstack database. But I am worried what if CloudStack won't 
recognize new root disk size or volume later?


/Sonali

-Original Message-
From: Milamber [mailto:milam...@apache.org]
Sent: Wednesday, September 23, 2015 3:31 PM
To: users@cloudstack.apache.org
Subject: Re: expand root disk type volume

On 23/09/2015 08:10, cs user wrote:


Hi There,

I'm not sure if this is currently possible for existing root disks.
Perhaps someone else can advise if it is?

I believe there has been some recent work to allow the size of the
root volume to be increased when an instance is deployed however.

Take a look at:

http://cloudstack.apache.org/api/apidocs-4.5/user/deployVirtualMachine 
[1]

.html

And the rootdisksize parameter.


Only with KVM hypervisor


I think this is only available through the api (and hence via
cloudmonkey) at the moment.


Possible with Ansible + cloudstack module by resmo 
https://github.com/resmo/ansible-cloudstack [2]


(note : cloudstack module will be included natively in Ansible 2.0 
(currently in alpha1 state))


Cheers!

On Wed, Sep 23, 2015 at 6:40 AM, Sonali Jadhav 


wrote:

Hi,

Why it's not possible to expand root disk type ? I am using ACS 4.5.1

I have one windows vm, It has only one disk and I need to expand same.
I am using xenservers, I can expand disk from xencenter, but not from 
cs.

I am Curious to know why.

/sonali




Links:
--
[1] 
http://cloudstack.apache.org/api/apidocs-4.5/user/deployVirtualMachine

[2] https://github.com/resmo/ansible-cloudstack


Re: How to configure cloudstack for public use

2015-09-29 Thread Vadim Kimlaychuk

Luis,

 Cloudstack is already meant to be public cloud provider software. 
There is no specific configuration for that. It has its own limitations, 
but majority of the tasks can be accomplished out of the box (I mean 
NAT, SNAT, IP allocation, firewall, user management, VM management, 
etc.).


 Basic zone provides simple network architecture for the clients 
while advance zone has VPC option to offer. If you are going to offer 
IAAS -- you should implement advanced zone. Advance zone is more 
complicated.


 External hardware devices may improve your set-up or performance, 
but for PfSence there is no plug-in for cloudstack available so you 
can't manage it from CS. I can't say if it is worth to use it at your 
future set-up. Cloudstack manages public IPs and does NAT, so you hardly 
need anything else to do it. For VPC you need external switch that 
manages VLANS. May be you can use pfSence for that.


  Regards,

Vadim

On 2015-09-29 17:01, Luis wrote:


Hi
I hope you can help me or give me an idea with this request

I have a client requesting me to install cloudstack but the client 
wants to be able to do what a norma ISP does when selling a VM, let 
users choose what they want and assign publics IP.

I will appreciate your comments or ideas.
This are a couple of questions I have.1.- Should I use advance zone for 
the Installation?2.- Can I use a pool of Public IP on cloudstack to be 
assigned on VM facing Internet?3.- I have PFSense in front of 
Cloudstack, should I let it handle the Public IP's and nat to a private 
IP?4.- Is there any open source tool that can monitor or limit the 
bandwidth for cloudstack?


Thank you for your help.


Re: How to configure cloudstack for public use

2015-09-29 Thread Vadim Kimlaychuk


Luis,

 Cloudstack is already meant to be public cloud provider software. There 
is no specific configuration for that. It has its own limitations, but 
majority of the tasks can be accomplished out of the box (I mean NAT, 
SNAT, IP allocation, firewall, user management, VM management, etc.).


 Basic zone provides simple network architecture for the clients while 
advance zone has VPC option to offer. If you are going to offer IAAS -- 
you should implement advanced zone. Advance zone is more complicated.


 External hardware devices may improve your set-up or performance, but 
for PfSence there is no plug-in for cloudstack available so you can't 
manage it from CS. I can't say if it is worth to use it at your future 
set-up. Cloudstack manages public IPs and does NAT, so you hardly need 
anything else to do it. For VPC you need external switch that manages 
VLANS. May be you can use pfSence for that.


 Regards,

 Vadim

 On 2015-⁠09-⁠29 17:01, Luis wrote:


Hi
I hope you can help me or give me an idea with this request

I have a client requesting me to install cloudstack but the client 
wants to be able to do what a norma ISP does when selling a VM, let 
users choose what they want and assign publics IP.

I will appreciate your comments or ideas.
This are a couple of questions I have.1.- Should I use advance zone for 
the Installation?2.- Can I use a pool of Public IP on cloudstack to be 
assigned on VM facing Internet?3.- I have PFSense in front of 
Cloudstack, should I let it handle the Public IP's and nat to a private 
IP?4.- Is there any open source tool that can monitor or limit the 
bandwidth for cloudstack?


Thank you for your help.


Re: HA problem

2015-09-29 Thread Vadim Kimlaychuk

Luis,

Do you have any VM-s running on the host that are not managed by 
cloudstack? Like you put something manually? I know there is a capacity 
limit for every host (like 85%). Above that CS will not allow VM to 
start. That guarantees you host will not be overloaded. I don't know 
what happens when VM is marked as "HA", but it shouldn't run also if 
limit is over.


Vadim.

On 2015-09-29 16:48, Luis wrote:


Hi
I have a question, I have my VM configure with HA and every time I 
restart my cloudstack all my VM start automatic, the problem is that 
the CPU goes crazy working and some times it gets to hot that the serve 
shuts down, is there a way to tell HA to start a couple of Servers at a 
time?


Thank you for your help.


Re: Cloudstack upgrade - 4.5.1 to 4.5.2

2015-09-29 Thread Vadim Kimlaychuk

Rene,

  Don't forget to restart management and usage services after 
update. May be yum does it automatically, but I am not sure.


Vadim

On 2015-09-29 21:54, Rene Moser wrote:


Hi

On 09/⁠29/⁠2015 01:03 PM, cs user wrote:


Hello,

Are there any steps other than upgrading with yum, that need to be 
followed

when upgrading from 4.5.1 to 4.5.2?


Yum update and you are done.

Yours
René


Re: Expunge

2015-09-27 Thread Vadim Kimlaychuk
1, 
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2015-09-25 08:35:57,385 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-6:null) SeqA 2-245137: Sending Seq 2-245137: { 
Ans: , MgmtId: 191612618435011, via: 2, Ver: v1, Flags: 100010, 
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2015-09-25 08:35:58,316 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-2:ctx-c7f1171e) VmStatsCollector is running...
2015-09-25 08:35:58,493 DEBUG [c.c.a.t.Request] 
(StatsCollector-2:ctx-c7f1171e) Seq 1-227431781184502: Received: { 
Ans: , MgmtId: 191612618435011, via: 1, Ver: v1, Flags: 10, { 
GetVmStatsAnswer } }
2015-09-25 08:35:58,505 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-4:ctx-499745dc) StorageCollector is running...
2015-09-25 08:35:58,553 DEBUG [c.c.a.t.Request] 
(StatsCollector-4:ctx-499745dc) Seq 5-87538717757044704: Received: { 
Ans: , MgmtId: 191612618435011, via: 5, Ver: v1, Flags: 10, { 
GetStorageStatsAnswer } }
2015-09-25 08:35:58,581 DEBUG [c.c.a.t.Request] 
(StatsCollector-4:ctx-499745dc) Seq 1-227431781184503: Received: { 
Ans: , MgmtId: 191612618435011, via: 1, Ver: v1, Flags: 10, { 
GetStorageStatsAnswer } }
2015-09-25 08:35:58,667 DEBUG [c.c.a.t.Request] 
(StatsCollector-4:ctx-499745dc) Seq 1-227431781184504: Received: { 
Ans: , MgmtId: 191612618435011, via: 1, Ver: v1, Flags: 10, { 
GetStorageStatsAnswer } }


-
FROM: Vadim Kimlaychuk <va...@kickcloud.net>
TO: Cloudstack Users <users@cloudstack.apache.org>
CC: Luis <lmartinez...@yahoo.com>
SENT: Friday, September 25, 2015 3:08 AM
SUBJECT: Re: Expunge

Luis,

Do you use shared mount point with your KVM hypervisor or local
NFS server? I have tested "Expunge" at my CS 4.5.3 and when I delete VM
with "expunge" option -- Cloudstack deletes it from the storage
immediately. Can you do the same test and look into management log file
? It would be nice to see trace from what is going on. Or do you have
problem only with delayed "expunge" ?

Vadim.

On 2015-09-24 21:04, Luis wrote:


Hi

Thank you for your answer.

I am using CL 4.5.2 with KVM in Raid 5, after a month the space was 
not

freed up, previously i changes the expunge to 100

-
FROM: Vadim Kimlaychuk <va...@kickcloud.net>
TO: Luis <lmartinez...@yahoo.com>
CC: users@cloudstack.apache.org
SENT: Thursday, September 24, 2015 1:33 PM
SUBJECT: Re: Expunge




Hello Luis,

If I remember correctly - you don't get it freed immediately.
There is some background process that cleans up. You can probably get
better response if write down what version of CS, hypervisor and
storage
type are you using.

Regards,

Vadim

On 2015-09-24 14:25, Luis wrote:


Hi
I notice that when I Expunge VM the hard disk space is not returned, 
I

still have the same use, I had to deleted manually from the raid, is
this a bug or I am missing a comfiguration?

Re: Is this a bug?

2015-09-27 Thread Vadim Kimlaychuk

Björn,

 Put public vlan ID = 0, not blank. VLAN ID can not be blank.  If 
you start to record all cases where wrong input causes java exception - 
we will sink here. Probably developer has put string "untagged" 
intentionally to fire NFE and see this error in the log. It is not a 
bug.


Vadim.

On 2015-09-26 19:41, Bjoern Meier wrote:


hi,

Vadim Kimlaychuk <va...@kickcloud.net> schrieb am Sa., 26. Sep. 2015 um
16:40 Uhr:


Björn,

"untagged" network has tag = 0
I'll test it. But, netherless it is a bug then. If you didn't tag 
public
network a string "untagged" rtake place as a default value and java 
throws

a NumberException. This shouldn't happen in a release, should it? I can
reproduce it. Just create a zone with advanced network and leave VLANID
blank in public network.

Greetings,
Björn


Re: Is this a bug?

2015-09-26 Thread Vadim Kimlaychuk

Björn,

"untagged" network has tag = 0

Vadim

On 2015-09-26 00:45, Bjoern Meier wrote:


Hi,

untagged public network doesn't work with Cloudstack 4.4. The virtual
router doesn't start. In the log is a Java exception
690 ERROR [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-70:ctx-318fa261) Unexpected exception:
java.lang.NumberFormatException: For input string: "untagged" will 
shortcut

rest of IPAssoc commands

Greetings,
Björn


Re: Expunge

2015-09-25 Thread Vadim Kimlaychuk


Luis,

   Do you use shared mount point with your KVM hypervisor or local 
NFS server? I have tested "Expunge" at my CS 4.5.3 and when I delete VM 
with "expunge" option -- Cloudstack deletes it from the storage 
immediately. Can you do the same test and look into management log file 
?  It would be nice to see trace from what is going on. Or do you have 
problem only with delayed "expunge" ?


Vadim.


On 2015-09-24 21:04, Luis wrote:


Hi

Thank you for your answer.

I am using CL 4.5.2 with KVM in Raid 5, after a month the space was not 
freed up, previously i changes the expunge to 100


---------
FROM: Vadim Kimlaychuk <va...@kickcloud.net>
TO: Luis <lmartinez...@yahoo.com>
CC: users@cloudstack.apache.org
SENT: Thursday, September 24, 2015 1:33 PM
SUBJECT: Re: Expunge

Hello Luis,

If I remember correctly - you don't get it freed immediately.
There is some background process that cleans up. You can probably get
better response if write down what version of CS, hypervisor and 
storage

type are you using.

Regards,

Vadim

On 2015-09-24 14:25, Luis wrote:


Hi
I notice that when I Expunge VM the hard disk space is not returned, I
still have the same use, I had to deleted manually from the raid, is
this a bug or I am missing a comfiguration?


Re: Expunge

2015-09-24 Thread Vadim Kimlaychuk

Hello Luis,

  If I remember correctly - you don't get it freed immediately. 
There is some background process that cleans up. You can probably get 
better response if write down what version of CS, hypervisor and storage 
type are you using.


Regards,

Vadim

On 2015-09-24 14:25, Luis wrote:


Hi
I notice that when I Expunge VM the hard disk space is not returned, I 
still have the same use, I had to deleted manually from the raid, is 
this a bug or I am missing a comfiguration?


Re: expand root disk type volume

2015-09-23 Thread Vadim Kimlaychuk


Sonali,

   AFAIK this is possible only for KVM hypervisor, not any other.

Vadim.

On 2015-09-23 10:10, cs user wrote:


Hi There,

I'm not sure if this is currently possible for existing root disks. 
Perhaps

someone else can advise if it is?

I believe there has been some recent work to allow the size of the root
volume to be increased when an instance is deployed however.

Take a look at:

http://cloudstack.apache.org/api/apidocs-4.5/user/deployVirtualMachine.html 
[1]


And the rootdisksize parameter.

I think this is only available through the api (and hence via 
cloudmonkey)

at the moment.

Cheers!

On Wed, Sep 23, 2015 at 6:40 AM, Sonali Jadhav 


wrote:


Hi,

Why it's not possible to expand root disk type ? I am using ACS 4.5.1

I have one windows vm, It has only one disk and I need to expand same.
I am using xenservers, I can expand disk from xencenter, but not from 
cs.

I am Curious to know why.

/sonali





Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-21 Thread Vadim Kimlaychuk

Dear Remi,

 I had time to investigate HA and reboot issues with XenServer 6.5 
SP1 and here are some interesting points:


1. Enabling HA storage using ShapeBlue guide 
(http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/) makes 
Cloudstack to recover from host failure properly. The only tough case is 
when both cluster nodes goes to reboot simultaneously. Then hosts stuck 
in creating the pool until manual fix. This is also described at 
ShapeBlue guide. Temporary disabling/enabling HA did the trick.


2. At my XenServer xenheartbeat.sh script didn't play any role. I have 
disabled reboot there, but hosts have detected storage failure by 
themselves and did reboot. I think this functionality has already 
implemented by hypervisor development team, but don't know exactly which 
daemon did this. Probably Citrix knows exactly and someone may share 
this information. Anyway - for XenServer 6.5 cloudstack heartbeat seems 
to be unnecessary module. Hypervisor itself detects storage problems 
earlier than heartbeat script did. That is why my log was empty.


Regards,

Vadim.

On 2015-09-15 17:01, Remi Bergsma wrote:


Hi,

You cannot sync because that will also try to write to remote disks and 
that doesn't work. Or else you wouldn't be in trouble anyway. Before, 
we have seen situations where the box was supposed to be rebooted, but 
that took a long time due to the sync. Instead, you wait a little bit 
and then fence it. Otherwise your ring buffers will become full and 
disks will get corruption.


There are global settings to tweak the parameters, if I recall 
correctly.


This all gets less relevant due to XenHA. This process is smarter and 
also fences the box, always leaving behind log trails. Running 
XenServer without turning on XenHA is asking for trouble anyway. I 
always put XenHA to 180 seconds.


Regards,
Remi

On 15/09/15 10:19, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Abhinandan and Frank,

1. xenheartbeat.sh is designed to monitor iSCSI and NFS mounts
2. default installation monitors only presence of
/opt/cloud/bin/heartbeat local file. Administrator must run script
setup_heartbeat_file.sh with host UUID and SR UUID it wants to monitor
and then heartbeat file will contain information about what storage to
monitor.
3. if p2. was set up, script will try to read 100 bytes from the
mounted storage to /dev/null and if read is successful withing 1 min. 
it

sleeps for 1 min. Otherwise it will report problem, exit endless cycle
and do reboot
4. it does reboot by calling "echo b > /proc/sysrq-trigger". I am
not confident that such method is safe in terms of local disk writes. I
mean script log may not be flushed to hard drive and thus after reboot
admin may not see any problems in syslog, because local disk writes are
discarded.

BR,

Vadim.

On 2015-09-15 10:41, Frank Louwers wrote:

Important correction: it monitors the health of the first primary NFS
(or otherwise "distributed and mounted") filesystem. If you don't use
NFS als (main) primary storage, it's safe to disable that reboot. If
you know your NFS has "issues" from time to time, and have controls
around that, yes, you can disable that...

Frank

On 15 Sep 2015, at 09:08, Abhinandan Prateek
<abhinandan.prat...@shapeblue.com> wrote:

The heartbeat script monitors the health of the primary storage by
using a timestamp that is written to each primary store.
In case the primary storage is unreachable it reboots the XenServer in
order to protect the virtual machines from corruption.

On 14-Sep-2015, at 8:48 pm, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

Remi,

I will definitely enable HA when find who is rebooting the host. I
known circumstances when it happens and I know that it is
storage-related. Hardware health is monitored by SNMP and there were no
problems with temperature, CPU, RAM or HDD ranges. In case of HW
failure I should theoretically have kernel panic or crash dumps. But
there is none. Will experiment a bit.

Thank you,

Vadim.

On 2015-09-14 17:35, Remi Bergsma wrote:

Hi Vadim,
It can also be XenHA but I remember you already said it is off. Did you
check the hardware health?
I'd recommend turning on XenHA as otherwise in case of a failure you
will not have an automatic recovery.
Regards,
Remi
On 14/09/15 15:09, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:
Remi,
I have analyzed script xenheartbeat.sh and it seems it is useless,
because relies on file /opt/cloud/bin/heartbeat that has 0 length. It
is
not set-up during installation and there is no such a step in
documentation for setting it up. Logically admin must run
"setup_heartbeat_file.sh" to make heartbeat work. If this file is 0
length then script checks nothing and log this message every minute:
Sep 14 04:43:53 xcp1 heartbeat: Problem with heartbeat, no iSCSI or NFS
mount defined in /opt/cloud/bin/heartbeat!
That means it can't reboot host, because it do

Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-15 Thread Vadim Kimlaychuk

Abhinandan and Frank,

   1. xenheartbeat.sh is designed to monitor iSCSI and NFS mounts
   2. default installation monitors only presence of 
/opt/cloud/bin/heartbeat local file. Administrator must run script 
setup_heartbeat_file.sh with host UUID and SR UUID it wants to monitor 
and then heartbeat file will contain information about what storage to 
monitor.
   3. if p2. was set up, script will try to read 100 bytes from the 
mounted storage to /dev/null and if read is successful withing 1 min. it 
sleeps for 1 min. Otherwise it will report problem, exit endless cycle 
and do reboot
   4. it does reboot by calling "echo b > /proc/sysrq-trigger". I am 
not confident that such method is safe in terms of local disk writes. I 
mean script log may not be flushed to hard drive and thus after reboot 
admin may not see any problems in syslog, because local disk writes are 
discarded.


BR,

Vadim.

On 2015-09-15 10:41, Frank Louwers wrote:

Important correction: it monitors the health of the first primary NFS 
(or otherwise "distributed and mounted") filesystem. If you don't use 
NFS als (main) primary storage, it's safe to disable that reboot. If 
you know your NFS has "issues" from time to time, and have controls 
around that, yes, you can disable that...


Frank

On 15 Sep 2015, at 09:08, Abhinandan Prateek 
<abhinandan.prat...@shapeblue.com> wrote:


The heartbeat script monitors the health of the primary storage by 
using a timestamp that is written to each primary store.
In case the primary storage is unreachable it reboots the XenServer in 
order to protect the virtual machines from corruption.


On 14-Sep-2015, at 8:48 pm, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


Remi,

I will definitely enable HA when find who is rebooting the host. I 
known circumstances when it happens and I know that it is 
storage-related. Hardware health is monitored by SNMP and there were no 
problems with temperature, CPU, RAM or HDD ranges. In case of HW 
failure I should theoretically have kernel panic or crash dumps. But 
there is none. Will experiment a bit.


Thank you,

Vadim.

On 2015-09-14 17:35, Remi Bergsma wrote:

Hi Vadim,
It can also be XenHA but I remember you already said it is off. Did you 
check the hardware health?
I'd recommend turning on XenHA as otherwise in case of a failure you 
will not have an automatic recovery.

Regards,
Remi
On 14/09/15 15:09, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:
Remi,
I have analyzed script xenheartbeat.sh and it seems it is useless,
because relies on file /opt/cloud/bin/heartbeat that has 0 length. It 
is

not set-up during installation and there is no such a step in
documentation for setting it up. Logically admin must run
"setup_heartbeat_file.sh" to make heartbeat work. If this file is 0
length then script checks nothing and log this message every minute:
Sep 14 04:43:53 xcp1 heartbeat: Problem with heartbeat, no iSCSI or NFS
mount defined in /opt/cloud/bin/heartbeat!
That means it can't reboot host, because it doesn't check
anything. Isn't it ?
Is there any other script that may reboot host if when there is a
problem with storage?
Vadim.
On 2015-09-14 15:40, Remi Bergsma wrote:
Hi Vadim,
This does indeed reboot a box, once storage fails:
echo b > /proc/sysrq-trigger
Removing it doesn't make sense, as there are serious issues once you
hit this code. I'd recommend making sure the storage is reliable.
Regards, Remi
On 14/09/15 08:13, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:
Remi,
I have analyzed situation and found that storage may cause problem
with host reboot as you wrote before in this thread. Reason for that --
we do offline backups from NFS server at that time when hosts fail.
Basically we copy all files in primary and secondary storage offsite.
This process starts precisely at 00:00 and somewhere around 00:10 -
00:40 XenServer host starts to reboot.
Reading old threads I have found that
/opt/cloud/bin/xenheartbeat.sh may do this job. Particularly last lines
at my xenheartbeat.sh are:
-
/usr/bin/logger -t heartbeat "Problem with $hb: not reachable for
$(($(date +%s) - $lastdate)) seconds, rebooting system!"
echo b > /proc/sysrq-trigger
-
The only "unclear" moment is -- I don't have such line in my logs.
May this command "echo b > /proc/sysrq-trigger" prevent from writing to
syslog file? Documentation says that it does reboot immediately without
synchronizing FS. It seems there is no other place that may do it, but
still I am not 100% sure.
Vadim.
On 2015-09-13 18:26, Vadim Kimlaychuk wrote:
Remi,
Thank you for hint. At least one problem is identified:
[root@xcp1 ~]# xe pool-⁠list params=all | grep -⁠E
"ha-⁠enabled|ha-⁠config"
ha-⁠enabled ( RO): false
ha-⁠configuration ( RO):
Where should I look for storage errors? Host? Management server? I have

Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-14 Thread Vadim Kimlaychuk

Remi,

  I have analyzed script xenheartbeat.sh and it seems it is useless, 
because relies on file /opt/cloud/bin/heartbeat that has 0 length. It is 
not set-up during installation and there is no such a step in 
documentation for setting it up. Logically admin must run 
"setup_heartbeat_file.sh" to make heartbeat work. If this file is 0 
length then script checks nothing and log this message every minute:


Sep 14 04:43:53 xcp1 heartbeat: Problem with heartbeat, no iSCSI or NFS 
mount defined in /opt/cloud/bin/heartbeat!


  That means it can't reboot host, because it doesn't check 
anything. Isn't it ?


  Is there any other script that may reboot host if when there is a 
problem with storage?


Vadim.




On 2015-09-14 15:40, Remi Bergsma wrote:


Hi Vadim,

This does indeed reboot a box, once storage fails:
echo b > /proc/sysrq-trigger

Removing it doesn't make sense, as there are serious issues once you 
hit this code. I'd recommend making sure the storage is reliable.


Regards, Remi

On 14/09/15 08:13, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Remi,

I have analyzed situation and found that storage may cause problem
with host reboot as you wrote before in this thread. Reason for that --
we do offline backups from NFS server at that time when hosts fail.
Basically we copy all files in primary and secondary storage offsite.
This process starts precisely at 00:00 and somewhere around 00:10 -
00:40 XenServer host starts to reboot.

Reading old threads I have found that
/opt/cloud/bin/xenheartbeat.sh may do this job. Particularly last lines
at my xenheartbeat.sh are:

-
/usr/bin/logger -t heartbeat "Problem with $hb: not reachable for
$(($(date +%s) - $lastdate)) seconds, rebooting system!"
echo b > /proc/sysrq-trigger
-

The only "unclear" moment is -- I don't have such line in my logs.
May this command "echo b > /proc/sysrq-trigger" prevent from writing to
syslog file? Documentation says that it does reboot immediately without
synchronizing FS. It seems there is no other place that may do it, but
still I am not 100% sure.

Vadim.

On 2015-09-13 18:26, Vadim Kimlaychuk wrote:

Remi,

Thank you for hint. At least one problem is identified:

[root@xcp1 ~]# xe pool-⁠list params=all | grep -⁠E
"ha-⁠enabled|ha-⁠config"
ha-⁠enabled ( RO): false
ha-⁠configuration ( RO):

Where should I look for storage errors? Host? Management server? I have
checked /var/log/messages and there were only regular messages, no
"fence" or "reboot" commands.

I have dedicated NFS server that should be accessible all the time (at
least NIC interfaces are bonded in master-slave mode). Server is used
for both primary and secondary storage.

Thanks,

Vadim.

On 2015-⁠09-⁠13 14:38, Remi Bergsma wrote:

Hi Vadim,

Not sure what the problem is. Although I do know that when shared
storage is used, both CloudStack and XenServer will fence (reboot) the
box to prevent corruption in case access to the network or the storage
is not possible. What storage do you use?

What does this return on a XenServer?:
xe pool-⁠list params=all | grep -⁠E "ha-⁠enabled|ha-⁠config"

HA should be on, or else a hypervisor crash will not recover properly.

If you search the logs for Fence or reboot, does anything come back?

The logs you mention are nothing to worry about.

Can you tell us in some more details what happens and how we can
reproduce it?

Regards,
Remi

-⁠-⁠-⁠-⁠-⁠Original Message-⁠-⁠-⁠-⁠-⁠
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: zondag 13 september 2015 9:32
To: users@cloudstack.apache.org
Cc: Remi Bergsma
Subject: Re: CS 4.5.2: all hosts reboot after 3 days at production

Hello Remi,

This issue has nothing to do with CS 4.5.2. We got host reboot after
precisely 1 week with previous version of CS (4.5.1). Previous version
has been working without restart for 106 days before. So it is not a
software issue.

What does really make me unhappy -- accidental host reboot made entire
cluster unusable. Cloudstack management server was up and running,
second cluster node was up and running all the time and VM were
transferred to the second host, but System VMs were not rebooted
properly by CS and half of the network was down. SSVM and CPVM were in
"disconnected" status. Client VMs were up, but couldn't connect to
storage, because VRs were offline. Entire mess.

I have used planned maintenance mode before and cluster worked just
perfect. We didn't have any single second downtime. But with accidental
reboot there is no use of clusterization. :(

Vadim.

On 2015-⁠09-⁠08 09:35, Vadim Kimlaychuk wrote:

Hello Remi,

First of all I don't have /⁠var/⁠log/⁠xha.log file. I have examined
logs
in detail and haven't found any trace that heartbea

Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-14 Thread Vadim Kimlaychuk

Remi,

I will definitely enable HA when find who is rebooting the host. I 
known circumstances when it happens and I know that it is 
storage-related. Hardware health is monitored by SNMP and there were no 
problems with temperature, CPU, RAM or HDD ranges. In case of HW failure 
I should theoretically have kernel panic or crash dumps. But there is 
none. Will experiment a bit.


Thank you,

Vadim.

On 2015-09-14 17:35, Remi Bergsma wrote:


Hi Vadim,

It can also be XenHA but I remember you already said it is off. Did you 
check the hardware health?


I'd recommend turning on XenHA as otherwise in case of a failure you 
will not have an automatic recovery.


Regards,
Remi

On 14/09/15 15:09, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Remi,

I have analyzed script xenheartbeat.sh and it seems it is useless,
because relies on file /opt/cloud/bin/heartbeat that has 0 length. It 
is

not set-up during installation and there is no such a step in
documentation for setting it up. Logically admin must run
"setup_heartbeat_file.sh" to make heartbeat work. If this file is 0
length then script checks nothing and log this message every minute:

Sep 14 04:43:53 xcp1 heartbeat: Problem with heartbeat, no iSCSI or NFS
mount defined in /opt/cloud/bin/heartbeat!

That means it can't reboot host, because it doesn't check
anything. Isn't it ?

Is there any other script that may reboot host if when there is a
problem with storage?

Vadim.

On 2015-09-14 15:40, Remi Bergsma wrote:

Hi Vadim,

This does indeed reboot a box, once storage fails:
echo b > /proc/sysrq-trigger

Removing it doesn't make sense, as there are serious issues once you
hit this code. I'd recommend making sure the storage is reliable.

Regards, Remi

On 14/09/15 08:13, "Vadim Kimlaychuk" <va...@kickcloud.net> wrote:

Remi,

I have analyzed situation and found that storage may cause problem
with host reboot as you wrote before in this thread. Reason for that --
we do offline backups from NFS server at that time when hosts fail.
Basically we copy all files in primary and secondary storage offsite.
This process starts precisely at 00:00 and somewhere around 00:10 -
00:40 XenServer host starts to reboot.

Reading old threads I have found that
/opt/cloud/bin/xenheartbeat.sh may do this job. Particularly last lines
at my xenheartbeat.sh are:

-
/usr/bin/logger -t heartbeat "Problem with $hb: not reachable for
$(($(date +%s) - $lastdate)) seconds, rebooting system!"
echo b > /proc/sysrq-trigger
-

The only "unclear" moment is -- I don't have such line in my logs.
May this command "echo b > /proc/sysrq-trigger" prevent from writing to
syslog file? Documentation says that it does reboot immediately without
synchronizing FS. It seems there is no other place that may do it, but
still I am not 100% sure.

Vadim.

On 2015-09-13 18:26, Vadim Kimlaychuk wrote:

Remi,

Thank you for hint. At least one problem is identified:

[root@xcp1 ~]# xe pool-⁠list params=all | grep -⁠E
"ha-⁠enabled|ha-⁠config"
ha-⁠enabled ( RO): false
ha-⁠configuration ( RO):

Where should I look for storage errors? Host? Management server? I have
checked /var/log/messages and there were only regular messages, no
"fence" or "reboot" commands.

I have dedicated NFS server that should be accessible all the time (at
least NIC interfaces are bonded in master-slave mode). Server is used
for both primary and secondary storage.

Thanks,

Vadim.

On 2015-⁠09-⁠13 14:38, Remi Bergsma wrote:

Hi Vadim,

Not sure what the problem is. Although I do know that when shared
storage is used, both CloudStack and XenServer will fence (reboot) the
box to prevent corruption in case access to the network or the storage
is not possible. What storage do you use?

What does this return on a XenServer?:
xe pool-⁠list params=all | grep -⁠E "ha-⁠enabled|ha-⁠config"

HA should be on, or else a hypervisor crash will not recover properly.

If you search the logs for Fence or reboot, does anything come back?

The logs you mention are nothing to worry about.

Can you tell us in some more details what happens and how we can
reproduce it?

Regards,
Remi

-⁠-⁠-⁠-⁠-⁠Original Message-⁠-⁠-⁠-⁠-⁠
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: zondag 13 september 2015 9:32
To: users@cloudstack.apache.org
Cc: Remi Bergsma
Subject: Re: CS 4.5.2: all hosts reboot after 3 days at production

Hello Remi,

This issue has nothing to do with CS 4.5.2. We got host reboot after
precisely 1 week with previous version of CS (4.5.1). Previous version
has been working without restart for 106 days before. So it is not a
software issue.

What does really make me unhappy -- accidental host reboot made entire
cluster unusable. Cloudstack management server was up and running,
second cluster node was up and running all the time and VM were
transferred to the second ho

RE: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-14 Thread Vadim Kimlaychuk

Remi,

  I have analyzed situation and found that storage may cause problem 
with host reboot as you wrote before in this thread. Reason for that -- 
we do offline backups from NFS server at that time when hosts fail. 
Basically we copy all files in primary and secondary storage offsite. 
This process starts precisely at 00:00 and somewhere around 00:10 - 
00:40 XenServer host starts to reboot.


  Reading old threads I have found that 
/opt/cloud/bin/xenheartbeat.sh may do this job. Particularly last lines 
at my xenheartbeat.sh  are:


  -
  /usr/bin/logger -t heartbeat "Problem with $hb: not reachable for 
$(($(date +%s) - $lastdate)) seconds, rebooting system!"

  echo b > /proc/sysrq-trigger
  -

  The only "unclear" moment is -- I don't have such line in my logs. 
May this command "echo b > /proc/sysrq-trigger" prevent from writing to 
syslog file? Documentation says that it does reboot immediately without 
synchronizing FS. It seems there is no other place that may do it, but 
still I am not 100% sure.


Vadim.

On 2015-09-13 18:26, Vadim Kimlaychuk wrote:


Remi,

Thank you for hint. At least one problem is identified:

[root@xcp1 ~]# xe pool-⁠list params=all | grep -⁠E 
"ha-⁠enabled|ha-⁠config"

ha-⁠enabled ( RO): false
ha-⁠configuration ( RO):

Where should I look for storage errors? Host? Management server? I have 
checked /var/log/messages and there were only regular messages, no 
"fence" or "reboot" commands.


I have dedicated NFS server that should be accessible all the time (at 
least NIC interfaces are bonded in master-slave mode). Server is used 
for both primary and secondary storage.


Thanks,

Vadim.

On 2015-⁠09-⁠13 14:38, Remi Bergsma wrote:

Hi Vadim,

Not sure what the problem is. Although I do know that when shared 
storage is used, both CloudStack and XenServer will fence (reboot) the 
box to prevent corruption in case access to the network or the storage 
is not possible. What storage do you use?


What does this return on a XenServer?:
xe pool-⁠list params=all | grep -⁠E "ha-⁠enabled|ha-⁠config"

HA should be on, or else a hypervisor crash will not recover properly.

If you search the logs for Fence or reboot, does anything come back?

The logs you mention are nothing to worry about.

Can you tell us in some more details what happens and how we can 
reproduce it?


Regards,
Remi

-⁠-⁠-⁠-⁠-⁠Original Message-⁠-⁠-⁠-⁠-⁠
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: zondag 13 september 2015 9:32
To: users@cloudstack.apache.org
Cc: Remi Bergsma
Subject: Re: CS 4.5.2: all hosts reboot after 3 days at production

Hello Remi,

This issue has nothing to do with CS 4.5.2. We got host reboot after 
precisely 1 week with previous version of CS (4.5.1). Previous version 
has been working without restart for 106 days before. So it is not a 
software issue.


What does really make me unhappy -- accidental host reboot made entire 
cluster unusable. Cloudstack management server was up and running, 
second cluster node was up and running all the time and VM were 
transferred to the second host, but System VMs were not rebooted 
properly by CS and half of the network was down. SSVM and CPVM were in 
"disconnected" status. Client VMs were up, but couldn't connect to 
storage, because VRs were offline. Entire mess.


I have used planned maintenance mode before and cluster worked just 
perfect. We didn't have any single second downtime. But with accidental 
reboot there is no use of clusterization. :(


Vadim.

On 2015-⁠09-⁠08 09:35, Vadim Kimlaychuk wrote:

Hello Remi,

First of all I don't have /⁠var/⁠log/⁠xha.log file. I have examined 
logs

in detail and haven't found any trace that heartbeat has failed. The
only serious problem I have found in management logs before restart is
repeating many times error:

-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠
-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠-⁠⁠
2015-⁠09-⁠06 00:47:21,591 DEBUG [c.c.a.m.AgentManagerImpl]
(RouterMonitor-⁠1:ctx-⁠2d67d422) Details from executing class
com.cloud.agent.api.NetworkUsageCommand: Exception:
java.lang.Exception
Message: vpc network usage plugin call failed
Stack: java.lang.Exception: vpc network usage plugin call failed at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.VPCNetwork
Usage(XenServer56Resource.java:172)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.execute(Xe
nServer56Resource.java:195)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeReq
uest(XenServer56Resource.java:62)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRe
quest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.execut
eRequest(XenServer620SP1Resource.java:65)
at
com

XenServer primary and secondary SR mounts

2015-09-14 Thread Vadim Kimlaychuk

Hello all,

 I have primary SR mounted at slave server on my XenServer cluster to 
/var/run/sr-mount/UUID. Secondary storage is not mounted anywhere. Is it 
normal? Storage type is NFS, XenServer cluster HA is not enabled yet.


Vadim.


Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-13 Thread Vadim Kimlaychuk

Hello Remi,

This issue has nothing to do with CS 4.5.2. We got host reboot 
after precisely 1 week with previous version of CS (4.5.1). Previous 
version has been working without restart for 106 days before. So it is 
not a software issue.


What does really make me unhappy -- accidental host reboot made 
entire cluster unusable. Cloudstack management server was up and 
running, second cluster node was up and running all the time and VM were 
transferred to the second host, but System VMs were not rebooted 
properly by CS and half of the network was down. SSVM and CPVM were in 
"disconnected" status. Client VMs were up, but couldn't connect to 
storage, because VRs were offline. Entire mess.


I have used planned maintenance mode before and cluster worked 
just perfect. We didn't have any single second downtime. But with 
accidental reboot there is no use of clusterization. :(


Vadim.

On 2015-09-08 09:35, Vadim Kimlaychuk wrote:


Hello Remi,

First of all I don't have /var/log/xha.log file. I have examined logs 
in detail and haven't found any trace that heartbeat has failed. The 
only serious problem I have found in management logs before restart is 
repeating many times error:


-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
2015-09-06 00:47:21,591 DEBUG [c.c.a.m.AgentManagerImpl] 
(RouterMonitor-1:ctx-2d67d422) Details from executing class 
com.cloud.agent.api.NetworkUsageCommand: Exception: java.lang.Exception

Message: vpc network usage plugin call failed
Stack: java.lang.Exception: vpc network usage plugin call failed
at 
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.VPCNetworkUsage(XenServer56Resource.java:172)
at 
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.execute(XenServer56Resource.java:195)
at 
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:62)
at 
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:87)
at 
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:65)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)

...

-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠

Just couple of seconds before XCP2 host restart:

-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
2015-09-06 00:48:27,884 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgentCronJob-83:ctx-ff822baf) Ping from 2(xcp1)
2015-09-06 00:48:27,884 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) Process host VM state report from 
ping process. host: 2
2015-09-06 00:48:27,904 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) Process VM state report. host: 2, 
number of records in report: 6
2015-09-06 00:48:27,904 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
85, power state: PowerOn
2015-09-06 00:48:27,907 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writing. vm id: 85
2015-09-06 00:48:27,907 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
1, power state: PowerOn
2015-09-06 00:48:27,910 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writing. vm id: 1
2015-09-06 00:48:27,910 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
2, power state: PowerOn
2015-09-06 00:48:27,913 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writing. vm id: 2
2015-09-06 00:48:27,913 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
82, power state: PowerOn
2015-09-06 00:48:27,916 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writing. vm id: 82
2015-09-06 00:48:27,916 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
94, power state: PowerOn
2015-09-06 00:48:27,919 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writing. vm id: 94
2015-09-06 00:48:27,919 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id: 
90, power state: PowerOn
2015-09-06 00:48:27,922 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change, 
skip DB writ

RE: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-13 Thread Vadim Kimlaychuk

Remi,

   Thank you for hint. At least one problem is identified:

[root@xcp1 ~]# xe pool-list params=all | grep -E "ha-enabled|ha-config"
ha-enabled ( RO): false
ha-configuration ( RO):

   Where should I look for storage errors? Host? Management server? 
I have checked /var/log/messages and there were only regular messages, 
no "fence" or "reboot" commands.


   I have dedicated NFS server that should be accessible all the 
time (at least NIC interfaces are bonded in master-slave mode). Server 
is used for both primary and secondary storage.


Thanks,

Vadim.



On 2015-09-13 14:38, Remi Bergsma wrote:


Hi Vadim,

Not sure what the problem is. Although I do know that when shared 
storage is used, both CloudStack and XenServer will fence (reboot) the 
box to prevent corruption in case access to the network or the storage 
is not possible. What storage do you use?


What does this return on a XenServer?:
xe pool-list params=all | grep -E "ha-enabled|ha-config"

HA should be on, or else a hypervisor crash will not recover properly.

If you search the logs for Fence or reboot, does anything come back?

The logs you mention are nothing to worry about.

Can you tell us in some more details what happens and how we can 
reproduce it?


Regards,
Remi

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: zondag 13 september 2015 9:32
To: users@cloudstack.apache.org
Cc: Remi Bergsma
Subject: Re: CS 4.5.2: all hosts reboot after 3 days at production

Hello Remi,

This issue has nothing to do with CS 4.5.2. We got host reboot after 
precisely 1 week with previous version of CS (4.5.1). Previous version 
has been working without restart for 106 days before. So it is not a 
software issue.


What does really make me unhappy -- accidental host reboot made entire 
cluster unusable. Cloudstack management server was up and running, 
second cluster node was up and running all the time and VM were 
transferred to the second host, but System VMs were not rebooted 
properly by CS and half of the network was down. SSVM and CPVM were in 
"disconnected" status. Client VMs were up, but couldn't connect to 
storage, because VRs were offline. Entire mess.


I have used planned maintenance mode before and cluster worked just 
perfect. We didn't have any single second downtime. But with accidental 
reboot there is no use of clusterization. :(


Vadim.

On 2015-09-08 09:35, Vadim Kimlaychuk wrote:


Hello Remi,

First of all I don't have /var/log/xha.log file. I have examined logs
in detail and haven't found any trace that heartbeat has failed. The
only serious problem I have found in management logs before restart is
repeating many times error:

-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
2015-09-06 00:47:21,591 DEBUG [c.c.a.m.AgentManagerImpl]
(RouterMonitor-1:ctx-2d67d422) Details from executing class
com.cloud.agent.api.NetworkUsageCommand: Exception:
java.lang.Exception
Message: vpc network usage plugin call failed
Stack: java.lang.Exception: vpc network usage plugin call failed at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.VPCNetwork
Usage(XenServer56Resource.java:172)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.execute(Xe
nServer56Resource.java:195)
at
com.cloud.hypervisor.xenserver.resource.XenServer56Resource.executeReq
uest(XenServer56Resource.java:62)
at
com.cloud.hypervisor.xenserver.resource.XenServer610Resource.executeRe
quest(XenServer610Resource.java:87)
at
com.cloud.hypervisor.xenserver.resource.XenServer620SP1Resource.execut
eRequest(XenServer620SP1Resource.java:65)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAge
ntAttache.java:302)
...

-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠

Just couple of seconds before XCP2 host restart:

-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠-⁠
2015-09-06 00:48:27,884 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgentCronJob-83:ctx-ff822baf) Ping from 2(xcp1)
2015-09-06 00:48:27,884 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(DirectAgentCronJob-83:ctx-ff822baf) Process host VM state report from
ping process. host: 2
2015-09-06 00:48:27,904 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(DirectAgentCronJob-83:ctx-ff822baf) Process VM state report. host: 2,
number of records in report: 6
2015-09-06 00:48:27,904 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. host: 2, vm id:
85, power state: PowerOn
2015-09-06 00:48:27,907 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(DirectAgentCronJob-83:ctx-ff822baf) VM power state does not change,
skip DB writing. vm id: 85
2015-09-06 00:48:27,907 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl]
(DirectAgentCronJob-83:ctx-ff822baf) VM state report. 

Re: Unable to add Ceph KVM node in cloudstack

2015-09-11 Thread Vadim Kimlaychuk

Andrija,

  Are you talking about CS Management server OS?  I thought it does 
not really matter if it includes libvirt or not. All calls to storage 
should go through hypervisor and any KVM host goes with libvirt. The 
version of libvirt for old OS may not be aligned with latest Ceph 
release that is true. Cloud architect must check compatibility version 
matrix for all products Ceph/KVM/CS anyway.


Vadim.


On 2015-09-11 11:24, Andrija Panic wrote:

RBD for KVM comes out of the box for Ubuntu 14.x (perhaps also 12.x) - 
not

with CentOS6, and not sure really about CentOS7 (probably not also...)

On 11 September 2015 at 09:53, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


For KVM hosts RBD comes "out of the box" with libvirt. For XenServer 
Ceph

(RBD) storage type is not yet implemented. I would say it is very
hypervisor-specific and does not depend much from Cloudstack.

Regards,

Vadim.

On 2015-09-11 08:55, Shetty, Pradeep wrote:

I have one question:
Is ceph rbd protocol supported by default on libvirt version
0.10.2-54.el6.x86_64 OR do we need to compile libvirt to support rbd 
within

cloudstack.

Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 09 September 2015 12:07
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

I have installed CS 4.2 with Ceph storage successfully around year ago.
There were no problem with configuration except the fact that you can't
configure RBD storage as primary storage during Zone set-up.
It must be NFS.
After Zone is set-up and running you may add another primary storage 
and

there you have list of choices where RBD type is present.
After RBD is added you may assign this as default storage for 
particular

cluster assuming that each cluster has its own primary storage.

PS. I have also used Ceph object gateway to connect secondary storage. 
It

works as expected. It would be nice to know which way are you going to
integrate Ceph into CS?

Vadim.

On 2015-09-09 08:09, Shetty, Pradeep wrote:

Please share steps for adding ceph RBD as primary storage using KVM 
hypervisor in cloudstack.


We are well aware of the best practices/recommendations for cloudstack.

Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 12:14
To: users@cloudstack.apache.org
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host not
controlled by CloudStack.

Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:

Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails
when adding to cloudstack.

Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify
also do you use OVS or Linux bridge?
Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[1 [1]]
[1 [1]]
m.html
[1 [2]]

Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:

Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),

--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64,
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.

We are unable to add the KVM host(new cluster) in cloudstack in an
existing zone, below is the error log.

> agent log-- libvirt: XML-RPC error : Cannot write data: Broken
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return
value of 143

Please let us know the exact steps to add Ceph KVM host to cloudstack.

Thanks,
Pradeep

Links:
--
[1 [1]]

http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]

[2]
[2 [2]]

Links:
--
[1 [1]]
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[1 [1]]
[2]

http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]

[2]


 Links:
 --
 [1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

 [2]
 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]




Links:
--
[1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv
[2] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


RE: Unable to add Ceph KVM node in cloudstack

2015-09-11 Thread Vadim Kimlaychuk
For KVM hosts RBD comes "out of the box" with libvirt. For XenServer 
Ceph (RBD) storage type is not yet implemented. I would say it is very 
hypervisor-specific and does not depend much from Cloudstack.


Regards,

Vadim.

On 2015-09-11 08:55, Shetty, Pradeep wrote:


I have one question:

Is ceph rbd protocol supported by default on libvirt version 
0.10.2-54.el6.x86_64 OR do we need to compile libvirt to support rbd 
within cloudstack.


Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 09 September 2015 12:07
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

I have installed CS 4.2 with Ceph storage successfully around year ago. 
There were no problem with configuration except the fact that you can't 
configure RBD storage as primary storage during Zone set-up.

It must be NFS.
After Zone is set-up and running you may add another primary storage 
and there you have list of choices where RBD type is present.
After RBD is added you may assign this as default storage for 
particular cluster assuming that each cluster has its own primary 
storage.


PS. I have also used Ceph object gateway to connect secondary storage. 
It works as expected. It would be nice to know which way are you going 
to integrate Ceph into CS?


Vadim.

On 2015-09-09 08:09, Shetty, Pradeep wrote:


Please share steps for adding ceph RBD as primary storage using KVM
hypervisor in cloudstack.

We are well aware of the best practices/recommendations for 
cloudstack.


Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 12:14
To: users@cloudstack.apache.org
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host not
controlled by CloudStack.

Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:

Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails
when adding to cloudstack.

Regards,
Pradeep

-Original Message-----
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify
also do you use OVS or Linux bridge?
Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[1 [1]]
m.html
[1 [2]]

Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:

Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),

--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64,
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.

We are unable to add the KVM host(new cluster) in cloudstack in an
existing zone, below is the error log.

> agent log-- libvirt: XML-RPC error : Cannot write data: Broken
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return
value of 143

Please let us know the exact steps to add Ceph KVM host to cloudstack.

Thanks,
Pradeep


Links:
--
[1]

http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]

[2 [2]]

Links:
--
[1]
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[2]
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]




Links:
--
[1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv
[2] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


Re: Unable to add Ceph KVM node in cloudstack

2015-09-11 Thread Vadim Kimlaychuk


Andrija,

I don't have such broad experience with different CentOS/RHEL 
versions, but I am a bit surprised that these distributions does not 
have RBD support at all. That means they have to maintain their own 
"restricted" version of these libraries apart from mainstream. Now I am 
even more happy with my Debian/Ubuntu installations :)


Thank you for information!

Vadim.

On 2015-09-11 14:20, Andrija Panic wrote:


Vadim,

afaik you are right for mgmt server. As for KVM nodes - libvirt and
qemu/qemu-img in CentOS6.x does NOT have RBD support at all :) I have 
not
played a lot with CentOS7, but did quick check long time ago and I 
thing it
also doesnt support RBD - Red Hat wants you to buy RHEV to support RBD 
- of

course, there are workarround, self-compile libvirt etc...similar for
qemu/qemu-img.

I know for sure that Ubuntu 14.x suports RBD out of the box - since we 
are

running it with CEPH.

Best

On 11 September 2015 at 10:47, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


Andrija,

Are you talking about CS Management server OS? I thought it does
not really matter if it includes libvirt or not. All calls to storage
should go through hypervisor and any KVM host goes with libvirt. The
version of libvirt for old OS may not be aligned with latest Ceph 
release
that is true. Cloud architect must check compatibility version matrix 
for

all products Ceph/KVM/CS anyway.

Vadim.

On 2015-09-11 11:24, Andrija Panic wrote:

RBD for KVM comes out of the box for Ubuntu 14.x (perhaps also 12.x) - 
not with CentOS6, and not sure really about CentOS7 (probably not 
also...)


On 11 September 2015 at 09:53, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

For KVM hosts RBD comes "out of the box" with libvirt. For XenServer 
Ceph

(RBD) storage type is not yet implemented. I would say it is very
hypervisor-specific and does not depend much from Cloudstack.

Regards,

Vadim.

On 2015-09-11 08:55, Shetty, Pradeep wrote:

I have one question:
Is ceph rbd protocol supported by default on libvirt version
0.10.2-54.el6.x86_64 OR do we need to compile libvirt to support rbd
within
cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 09 September 2015 12:07
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

I have installed CS 4.2 with Ceph storage successfully around year ago.
There were no problem with configuration except the fact that you can't
configure RBD storage as primary storage during Zone set-up.
It must be NFS.
After Zone is set-up and running you may add another primary storage 
and

there you have list of choices where RBD type is present.
After RBD is added you may assign this as default storage for 
particular

cluster assuming that each cluster has its own primary storage.

PS. I have also used Ceph object gateway to connect secondary storage. 
It

works as expected. It would be nice to know which way are you going to
integrate Ceph into CS?

Vadim.

On 2015-09-09 08:09, Shetty, Pradeep wrote:

Please share steps for adding ceph RBD as primary storage using KVM
hypervisor in cloudstack.

We are well aware of the best practices/recommendations for cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 12:14
To: users@cloudstack.apache.org
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host not
controlled by CloudStack.

Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:

Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails
when adding to cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify
also do you use OVS or Linux bridge?
Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[1 [1]]
[1 [1]]
[1 [1]]
m.html
[1 [2]]

Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:

Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),

--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64,
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.

We are unable to add the KVM host(new cluster) in cloudstack in an
existing zone, below is the error log.

> agent log-- libvirt: XML-RPC error : Cannot write data: Broken
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return
value o

Re: Unable to add Ceph KVM node in cloudstack

2015-09-11 Thread Vadim Kimlaychuk

Andrija,

  If RBD libvirt driver now belongs to RH does that mean 
Ubuntu/Debian will loose it some day as it is proprietary software? 
Haven't follow Ceph achievements since "Emperor"


Vadim.

On 2015-09-11 14:39, Andrija Panic wrote:


Np, Im actually very disapointed by RH decision to have this approach -
since now CEPH/Inktank is part of RH etc...
I didnt want to play with Ubuntu at all (dont let me start about all 
the
possible issues/bugs we found) but I dont like idea of compiling 
stuff

on production...

On 11 September 2015 at 13:34, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


Andrija,

I don't have such broad experience with different CentOS/RHEL
versions, but I am a bit surprised that these distributions does not 
have
RBD support at all. That means they have to maintain their own 
"restricted"
version of these libraries apart from mainstream. Now I am even more 
happy

with my Debian/Ubuntu installations :)

Thank you for information!

Vadim.

On 2015-09-11 14:20, Andrija Panic wrote:

Vadim,
afaik you are right for mgmt server. As for KVM nodes - libvirt and
qemu/qemu-img in CentOS6.x does NOT have RBD support at all :) I have 
not
played a lot with CentOS7, but did quick check long time ago and I 
thing

it
also doesnt support RBD - Red Hat wants you to buy RHEV to support RBD 
-

of
course, there are workarround, self-compile libvirt etc...similar for
qemu/qemu-img.

I know for sure that Ubuntu 14.x suports RBD out of the box - since we 
are

running it with CEPH.

Best

On 11 September 2015 at 10:47, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

Andrija,

Are you talking about CS Management server OS? I thought it does
not really matter if it includes libvirt or not. All calls to storage
should go through hypervisor and any KVM host goes with libvirt. The
version of libvirt for old OS may not be aligned with latest Ceph 
release
that is true. Cloud architect must check compatibility version matrix 
for

all products Ceph/KVM/CS anyway.

Vadim.

On 2015-09-11 11:24, Andrija Panic wrote:

RBD for KVM comes out of the box for Ubuntu 14.x (perhaps also 12.x) -
not with CentOS6, and not sure really about CentOS7 (probably not 
also...)


On 11 September 2015 at 09:53, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

For KVM hosts RBD comes "out of the box" with libvirt. For XenServer 
Ceph

(RBD) storage type is not yet implemented. I would say it is very
hypervisor-specific and does not depend much from Cloudstack.

Regards,

Vadim.

On 2015-09-11 08:55, Shetty, Pradeep wrote:

I have one question:
Is ceph rbd protocol supported by default on libvirt version
0.10.2-54.el6.x86_64 OR do we need to compile libvirt to support rbd
within
cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 09 September 2015 12:07
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

I have installed CS 4.2 with Ceph storage successfully around year ago.
There were no problem with configuration except the fact that you can't
configure RBD storage as primary storage during Zone set-up.
It must be NFS.
After Zone is set-up and running you may add another primary storage 
and

there you have list of choices where RBD type is present.
After RBD is added you may assign this as default storage for 
particular

cluster assuming that each cluster has its own primary storage.

PS. I have also used Ceph object gateway to connect secondary storage. 
It

works as expected. It would be nice to know which way are you going to
integrate Ceph into CS?

Vadim.

On 2015-09-09 08:09, Shetty, Pradeep wrote:

Please share steps for adding ceph RBD as primary storage using KVM
hypervisor in cloudstack.

We are well aware of the best practices/recommendations for cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 12:14
To: users@cloudstack.apache.org
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host not
controlled by CloudStack.

Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:

Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails
when adding to cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify
also do you use OVS or Linux bridge?
Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

[1 [1]]
[1 [1]]

Re: listStoragePools does not exist or it is not available for user with id

2015-09-10 Thread Vadim Kimlaychuk

Cristian,

   I see "4.5.2" in api call in log. Haven't noticed it before. I 
may only suggest to call the same function from UI with the same user ID 
and check log for correct API request parameters. I haven't been using 
API so much, but signature calculation was always problematic for me, so 
I copied it from the log.


Vadim.



Cristian,

It would be nice to know which CS version do you use? :)

Vadim

On 2015-⁠09-⁠10 00:01, Cristian Ciobanu wrote:


Hello,

I have the following issue when i call the API, can someone tell me 
what is wrong on my configuration ?


2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer] 
(catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4 
accountId=4 sessionId=null) 172.20.217.237 -- GET 
apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g=listCapabilities=json=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D 
200 
{"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer] 
(catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET 
apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g=listStoragePools=json=u9bX0SoqNm7wmO9uAln5YzAnTak%3D 
432 The given command:listStoragePools does not exist or it is not 
available for user with id:null


Thanks

Regards,
Cristian


RE: Unable to add Ceph KVM node in cloudstack

2015-09-09 Thread Vadim Kimlaychuk

Pradeep,

   I have installed CS 4.2 with Ceph storage successfully around 
year ago. There were no problem with configuration except the fact that 
you can't configure RBD storage as primary storage during Zone set-up. 
It must be NFS.
   After Zone is set-up and running you may add another primary 
storage and there you have list of choices where RBD type is present. 
After RBD is added you may assign this as default storage for particular 
cluster assuming that each cluster has its own primary storage.


   PS. I have also used Ceph object gateway to connect secondary 
storage. It works as expected. It would be nice to know which way are 
you going to integrate Ceph into CS?


Vadim.

On 2015-09-09 08:09, Shetty, Pradeep wrote:

Please share steps for adding ceph RBD as primary storage using KVM 
hypervisor in cloudstack.


We are well aware of the best practices/recommendations for cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 12:14
To: users@cloudstack.apache.org
Subject: RE: Unable to add Ceph KVM node in cloudstack

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host not 
controlled by CloudStack.


Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:

Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails
when adding to cloudstack.

Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify
also do you use OVS or Linux bridge?
Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv 
[1]

m.html
[1 [2]]

Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:

Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),

--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64,
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.

We are unable to add the KVM host(new cluster) in cloudstack in an
existing zone, below is the error log.

> agent log-- libvirt: XML-RPC error : Cannot write data: Broken
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return
value of 143

Please let us know the exact steps to add Ceph KVM host to cloudstack.

Thanks,
Pradeep


 Links:
 --
 [1]
 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[2]




Links:
--
[1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kv
[2] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


Re: Dynamic Scalable Template issue

2015-09-09 Thread Vadim Kimlaychuk

Todd,

   Have you tried to do the following manual tests on the cluster 
where you have problem:

1. Dynamically scalable with CentOS ?
2. Dynamically scalable with Windows ?

   What do they show as available RAM?

Regards,

On 2015-09-08 19:44, Todd Pigram wrote:


Vadium,

After installing XS62ESP1028 via CLI (no reboot on hosts yet) and 
building an Centos65 instance w/o 'Dynamic Scalable' option checked, it 
showed right in XenCenter. I installed the new tools from (XS62ESP1028) 
and still good. I created a template from this instance. Deployed said 
template, and the memory is still good in XenCenter.


I tested on a Windows VM and it is the same with the new tools, 
however, as this particular tenant bypasses the virtual router, I have 
to reboot twice and reset networking as the new XenTools reset the 
networking stack.


Todd Pigram
http://about.me/ToddPigram [1]
www.linkedin.com/in/toddpigram/ [2] @pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] Mobile - 216-224-5769

PGP Public Key [4]

On Sep 6, 2015, at 4:57 AM, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,

Can you try Linux template with same dynamic scale option on the same 
pool? I wonder if there is a problem with Windows or any guest OS.


Regards,

Vadim.

On 2015-09-05 21:04, Todd Pigram wrote:

Vadium
That makes sense. I will see if I can replicate the issue in a lab. But 
given the holiday weekend, might not be until next week
On Saturday, September 5, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,
I have seeing similar problem with Xen 4.1 (not XenServer). Linux 
guests were able to see (and use) entire host resources on any guest 
VM. That was a bug of configuration. If you think about what could be 
different after CS update - it could be VM registration procedure. 
Still guest VM should not be able to see static max. Your XenCenter 
shows that effective dynamic VM memory size is 8Gb while maximium is 
32Gb. So CS configured VM guest correctly. This is problem of 
hypervisor <-> guest VM communitcation. That is why I asked you to try 
to register VM manually. I believe you will have the same result. Than 
means your server pool of XS62ESP1027 is broken. 3 other pools are not. 
I see no reason to update to 4.5.1, because I think this is not the 
problem of CS, but particularly this XenServer pool + this type of 
Windows guest (if other templates with dynamic offer are good).

Vadim.
On 2015-09-05 14:45, Todd Pigram wrote:
Vadim
I have 3 other pools (1 XS6.2sp1 and 2x xs65sp1) I have no issue with 
these.
Based on the Design doc, what i was experiencing is by design. Ok I 
will turn it off.
But now my question is, why on 4.3 I didn't have this issue but after 
installing 4.3.0.2 it changed.
Was 4.3 broken or is 4.3.0.2? Will upgrading to CCP 4.5.1 will be 
better?
If this is truely by design, I will not be able to use dynamic scalable 
for my windows instances
On Saturday, September 5, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,
You may try to create VM at XenServer without CloudStack just using XE 
tool (or XenCenter). If your manually created VM with static max <> 
dynamic max will be OK, then there is a problem with Cloudstack.

Vadim.
On 2015-09-04 21:51, Todd Pigram wrote:
Latest as of XS62ESP1027. I know XS62ESP1028 comes with new XenTools.
On Friday, September 4, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

I am afraid this issue has nothing to do with Cloudstack. If VM "sees"
maximum memory size available instead of effective -- this is problem 
of
hypervisor and/or guest utilities. Do you have guest utilities that 
come

with XenServer version or older in your template?
Vadim.
On 2015-09-04 19:34, Todd Pigram wrote:
Ok. After rebooting the instance still no change after disabling 
globally. I modified all my templates to remove 'Dynamic Scalable', 
then I have to
shutdown every instance and unselect 'Dynamic Scalable', then restart 
for

it to be correct.
This may need to be looked at closer for a Windows/XenDesktop(XenApp)
environment as MS SQL will consume all the RAM windows sees.
My other question is why CCP 4.3 (which is certified for Citrix Ready 
for
IaaS for XD) didn't have this issue until I upgraded to 4.3.0.2 in 
July.

This feature was released in 4.2.
Thanks for all the help.
Todd Pigram
http://about.me/ToddPigram [1] [1] [1] [1] [1 [1]] 
<http://about.me/ToddPigram [1] [1] [1] [1 [1]] [5]>

www.linkedin.com/in/toddpigram/ [2] [2] [2] [2] [2 [2]] <
http://www.linkedin.com/in/toddpigram/ [2] [2] [2] [2] [2 [2]]>
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3] [3] [3] [3 [3]] <
https://plus.google.com/+ToddPigram86 [3] [3] [3] [3] [3 [3]]>
Mobile - 216-224-5769
PGP Public Key <
http://pgp.mit.edu/pks/lookup?op=get=0x96B7B0F0C55933BB [4] [4] 
[4] [4] [4 [5]]> On

Sep 4, 2015, at 12:04 PM, Todd Pigram <t...@toddpigram.com> wrote:
Th

Re: Implementing IPv6

2015-09-09 Thread Vadim Kimlaychuk

Alessandro,

  You probably need to update to 4.5 first and update XenServer to 
6.5 as well. Then try to follow this guide:

http://docs.cloudstack.apache.org/en/latest/networking/ipv6.html

Regards,

Vadim.

On 2015-09-09 12:44, Daan Hoogland wrote:


Alessandro, close to no IPv6 functionality has been implemented in the
virtual router. I don't think you will get it to work with 4.4.

On Wed, Sep 9, 2015 at 11:23 AM, Alessandro Caviglione <
c.alessan...@gmail.com> wrote:


Hi guys,
I need some help in implementing IPv6 to our CS 4.4.2 Advanced 
Networking

with XS 6.2 SP1.
We have only one zone with a lot of IPv4 public IP already in use.
We'd like to deploy IPv6 but since it's a new procedure for us (and is 
not

very well documented...) I'm asking some guidelines.
Can anyone write the steps to do that?

Thank you!


Re: Implementing IPv6

2015-09-09 Thread Vadim Kimlaychuk

Alessandro,

   I do understand that guide does not look impressive. But usually 
functionality is a bit ahead of the documentation, so it is worth to 
try. You may set up small test-cloud apart from your installation to see 
how it works. VR-s are based on Debian Linux 7 that should support IPv6 
out of the box. Probably you don't need this "special" system VM that 
was described in document, because 4.5 system VM should already include 
IPv6 options that were under development that time.
   XenServer and storage usually talk over separate VLAN or separate 
physical connection and there should not be a problem to assign any IPv4 
private address space.


   You may write better guide after you try and share it with us ;-)
Vadim.

On 2015-09-09 13:56, Alessandro Caviglione wrote:

Ok, no problem to upgrade both ACS and XenServer... but "guide" is a 
big

word for that page! :)
For example...
Need I to add IPv6 range to Public network or just I have to create the
IPv6 shared network?
Are VR ready for IPv6 or there is a "special" version like SystemVM?
Why I need to deploy the "special" SystemVM? after that, XenServer and
Storage should be "talk" in IPv6??

On Wed, Sep 9, 2015 at 11:55 AM, Vadim Kimlaychuk <va...@kickcloud.net>
wrote:

Alessandro,

You probably need to update to 4.5 first and update XenServer to 6.5
as well. Then try to follow this guide:
http://docs.cloudstack.apache.org/en/latest/networking/ipv6.html [1]

Regards,

Vadim.

On 2015-09-09 12:44, Daan Hoogland wrote:

Alessandro, close to no IPv6 functionality has been implemented in the 
virtual router. I don't think you will get it to work with 4.4.


On Wed, Sep 9, 2015 at 11:23 AM, Alessandro Caviglione <
c.alessan...@gmail.com> wrote:

Hi guys, I need some help in implementing IPv6 to our CS 4.4.2 Advanced 
Networking

with XS 6.2 SP1.
We have only one zone with a lot of IPv4 public IP already in use.
We'd like to deploy IPv6 but since it's a new procedure for us (and is
not
very well documented...) I'm asking some guidelines.
Can anyone write the steps to do that?

Thank you!




Links:
--
[1] http://docs.cloudstack.apache.org/en/latest/networking/ipv6.html


Re: Dynamic Scalable Template issue

2015-09-09 Thread Vadim Kimlaychuk

Todd,

Is VM guest shows the correct amount of RAM? Is this issue 
resolved?


Vadim.

On 2015-09-09 15:34, Todd Pigram wrote:


Vadium,

Yes to both with the new tools from XS62ESP1028. Both Windows and 
CentOS have 'Dynamic Scalable' Option selected and in XenCenter they 
show the correct RAM.


Todd Pigram
http://about.me/ToddPigram [1]
www.linkedin.com/in/toddpigram/ [2] @pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] Mobile - 216-224-5769

PGP Public Key [4]

On Sep 9, 2015, at 2:49 AM, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,

Have you tried to do the following manual tests on the cluster where 
you have problem:

1. Dynamically scalable with CentOS ?
2. Dynamically scalable with Windows ?

What do they show as available RAM?

Regards,

On 2015-09-08 19:44, Todd Pigram wrote:

Vadium,
After installing XS62ESP1028 via CLI (no reboot on hosts yet) and 
building an Centos65 instance w/o 'Dynamic Scalable' option checked, it 
showed right in XenCenter. I installed the new tools from (XS62ESP1028) 
and still good. I created a template from this instance. Deployed said 
template, and the memory is still good in XenCenter.
I tested on a Windows VM and it is the same with the new tools, 
however, as this particular tenant bypasses the virtual router, I have 
to reboot twice and reset networking as the new XenTools reset the 
networking stack.

Todd Pigram
http://about.me/ToddPigram [1] [1]
www.linkedin.com/in/toddpigram/ [2] [2] @pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3] Mobile - 216-224-5769
PGP Public Key [4]
On Sep 6, 2015, at 4:57 AM, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,
Can you try Linux template with same dynamic scale option on the same 
pool? I wonder if there is a problem with Windows or any guest OS.

Regards,
Vadim.
On 2015-09-05 21:04, Todd Pigram wrote:
Vadium
That makes sense. I will see if I can replicate the issue in a lab. But 
given the holiday weekend, might not be until next week
On Saturday, September 5, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,
I have seeing similar problem with Xen 4.1 (not XenServer). Linux 
guests were able to see (and use) entire host resources on any guest 
VM. That was a bug of configuration. If you think about what could be 
different after CS update - it could be VM registration procedure. 
Still guest VM should not be able to see static max. Your XenCenter 
shows that effective dynamic VM memory size is 8Gb while maximium is 
32Gb. So CS configured VM guest correctly. This is problem of 
hypervisor <-> guest VM communitcation. That is why I asked you to try 
to register VM manually. I believe you will have the same result. Than 
means your server pool of XS62ESP1027 is broken. 3 other pools are not. 
I see no reason to update to 4.5.1, because I think this is not the 
problem of CS, but particularly this XenServer pool + this type of 
Windows guest (if other templates with dynamic offer are good).

Vadim.
On 2015-09-05 14:45, Todd Pigram wrote:
Vadim
I have 3 other pools (1 XS6.2sp1 and 2x xs65sp1) I have no issue with 
these.
Based on the Design doc, what i was experiencing is by design. Ok I 
will turn it off.
But now my question is, why on 4.3 I didn't have this issue but after 
installing 4.3.0.2 it changed.
Was 4.3 broken or is 4.3.0.2? Will upgrading to CCP 4.5.1 will be 
better?
If this is truely by design, I will not be able to use dynamic scalable 
for my windows instances
On Saturday, September 5, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,
You may try to create VM at XenServer without CloudStack just using XE 
tool (or XenCenter). If your manually created VM with static max <> 
dynamic max will be OK, then there is a problem with Cloudstack.

Vadim.
On 2015-09-04 21:51, Todd Pigram wrote:
Latest as of XS62ESP1027. I know XS62ESP1028 comes with new XenTools.
On Friday, September 4, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

I am afraid this issue has nothing to do with Cloudstack. If VM "sees"
maximum memory size available instead of effective -- this is problem 
of
hypervisor and/or guest utilities. Do you have guest utilities that 
come

with XenServer version or older in your template?
Vadim.
On 2015-09-04 19:34, Todd Pigram wrote:
Ok. After rebooting the instance still no change after disabling 
globally. I modified all my templates to remove 'Dynamic Scalable', 
then I have to
shutdown every instance and unselect 'Dynamic Scalable', then restart 
for

it to be correct.
This may need to be looked at closer for a Windows/XenDesktop(XenApp)
environment as MS SQL will consume all the RAM windows sees.
My other question is why CCP 4.3 (which is certified for Citrix Ready 
for
IaaS for XD) didn't have this issue until I upgraded to 4.3.0.2 in 
July.

This feature was released in 4.2.
Thanks for all the help.
Todd Pigram
http://about.me/ToddPigram [1] [1] [1] [1] [1] [1 [1]]

Re: listStoragePools does not exist or it is not available for user with id

2015-09-09 Thread Vadim Kimlaychuk

Cristian,

It would be nice to know which CS version do you use? :)

Vadim

On 2015-09-10 00:01, Cristian Ciobanu wrote:


Hello,

I have the following issue when i call the API, can someone tell me 
what is wrong on my configuration ?


2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer] 
(catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4 
accountId=4 sessionId=null) 172.20.217.237 -- GET 
apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g=listCapabilities=json=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D 
200 
{"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}}
2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer] 
(catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET 
apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g=listStoragePools=json=u9bX0SoqNm7wmO9uAln5YzAnTak%3D 
432 The given command:listStoragePools does not exist or it is not 
available for user with id:null


Thanks

Regards,
Cristian


Re: Unable to add Ceph KVM node in cloudstack

2015-09-08 Thread Vadim Kimlaychuk

Hello Shetty,

   It seems you agent or libvirt configuration is wrong. Please, 
specify also do you use OVS or Linux bridge?
   Did you follow this guide? 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:


Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm 
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),


--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64, 
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.


We are unable to add the KVM host(new cluster) in cloudstack in an 
existing zone, below is the error log.


> agent log-- libvirt: XML-RPC error : Cannot write data: Broken 
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return 
value of 143


Please let us know the exact steps to add Ceph KVM host to cloudstack.

Thanks,
Pradeep


Re: DHCP NIC instead of STATIC

2015-09-08 Thread Vadim Kimlaychuk

Hello Cristian,

I don't remember exactly which option I have turned on, but some 
of my networks allow IP configuration upon VM instance startup. Wizard 
shows extra field for manual IP definition in Network tab. May be more 
experienced people point what should you use if this is a case you are 
looking for.


Regards,

Vadim.

On 2015-09-08 10:11, Abhinandan Prateek wrote:

A dhcp server runs in VR that allocates ip address to VM as per 
configurations made by management server.


On 07-Sep-2015, at 5:14 pm, Cristian Ciobanu 
 wrote:


Hello,

Yes, i know this, but i expected the IP to be allocated in this way by 
the System ( cloudstack )


My question: is possible ? or not ? for example if you choose to add 3 
IP's to the VM from the management interface, do i have to configure 
manually the IP's ? ( i don't think this is the right procedure )


Regards,
Cristian

On 9/7/2015 2:39:03 PM, Jayapal Reddy Uradi 
 wrote:


Update the below fields in you config.

BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0

-Jayapal

On 07-Sep-2015, at 5:01 pm, Cristian Ciobanu <>> wrote:

Hello,

I have a question regarding network connection, how can i change the 
NIC to Static IP allocation, because right now the IP are allocated on 
DHCP for VM's ( Cloudstack KVM )


My network card configuration look like this :

[root@test network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT=1

Thanks !

Regards,
Cristian


Find out more about ShapeBlue and our range of CloudStack related 
services


IaaS Cloud Design & 
Build
CSForge - rapid IaaS deployment framework

CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training 
Courses


This email and any attachments to it may be confidential and are 
intended solely for the use of the individual to whom it is addressed. 
Any views or opinions expressed are solely those of the author and do 
not necessarily represent those of Shape Blue Ltd or related companies. 
If you are not the intended recipient of this email, you must neither 
take any action based upon its contents, nor copy or show it to anyone. 
Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England & Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is 
operated under license from Shape Blue Ltd. Shape Blue Brasil 
Consultoria Ltda is a company incorporated in Brasil and is operated 
under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license 
from Shape Blue Ltd. ShapeBlue is a registered trademark.




Links:
--
[1] http://shapeblue.com/iaas-cloud-design-and-build//
[2] http://shapeblue.com/csforge/
[3] http://shapeblue.com/cloudstack-consultancy/
[4] http://shapeblue.com/cloudstack-software-engineering/
[5] http://shapeblue.com/cloudstack-infrastructure-support/
[6] http://shapeblue.com/cloudstack-training/


RE: Unable to add Ceph KVM node in cloudstack

2015-09-08 Thread Vadim Kimlaychuk

Pradeep,

From documentation :
Warning -- It is NOT recommended to run services on this host 
not controlled by CloudStack.


Good practice -- KVM host must be virgin-clean.

Vadim.

On 2015-09-08 09:14, Shetty, Pradeep wrote:


Hello Vadim,

We have followed the same guide and using OVS version 2.3.2 .

Ceph storage cluster is running on same KVM hypervisor and it fails 
when adding to cloudstack.


Regards,
Pradeep

-Original Message-
From: Vadim Kimlaychuk [mailto:va...@kickcloud.net]
Sent: 08 September 2015 11:34
To: users@cloudstack.apache.org
Cc: Shetty, Pradeep
Subject: Re: Unable to add Ceph KVM node in cloudstack

Hello Shetty,

It seems you agent or libvirt configuration is wrong. Please, specify 
also do you use OVS or Linux bridge?

Did you follow this guide?
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html 
[1]


Regards,

Vadim

On 2015-09-08 08:18, Shetty, Pradeep wrote:


Hello Folks,

We are working on ceph(hammer, 0.94.3) implementation on kvm
hypervisor(centos 6.5) which will be integrated on cloudstack(4.4.2),

--- Single KVM node( OS- CentOS 6.5, libvirt-0.10.2-54.el6.x86_64,
openvswitch 2.3.2) + ceph hammer, cluster health is Ok.

We are unable to add the KVM host(new cluster) in cloudstack in an
existing zone, below is the error log.

> agent log-- libvirt: XML-RPC error : Cannot write data: Broken
pipe
03/09/2015 13:13:15 4882 jsvc.exec error: Service exit with a return
value of 143

Please let us know the exact steps to add Ceph KVM host to cloudstack.

Thanks,
Pradeep




Links:
--
[1] 
http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/kvm.html


Re: CS 4.5.2: all hosts reboot after 3 days at production

2015-09-08 Thread Vadim Kimlaychuk
) VM state report. host: 1, vm id: 
33, power state: PowerOn
2015-09-06 00:48:27,957 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) VM power state does not change, 
skip DB writing. vm id: 33
2015-09-06 00:48:27,957 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) VM state report. host: 1, vm id: 
89, power state: PowerOn
2015-09-06 00:48:27,960 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) VM power state does not change, 
skip DB writing. vm id: 89
2015-09-06 00:48:27,961 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) VM state report. host: 1, vm id: 
88, power state: PowerOn
2015-09-06 00:48:27,963 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) VM power state does not change, 
skip DB writing. vm id: 88
2015-09-06 00:48:27,968 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-154:ctx-2e8a5911) Done with process of VM state 
report. host: 1



Vadim.



On 2015-09-07 23:18, Remi Bergsma wrote:


Hi Vadim,

What kind of storage do you use? Can you show /var/log/xha.log (I think 
that is the name) please? It could be xen-ha that fences the box if the 
heartbeat cannot be written.


You suggest it is CloudStack. Did you see anything in the mgt logs?

Regards, Remi

Sent from my iPhone

On 07 Sep 2015, at 08:26, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


Hello all,

I have experienced accidental cluster reboot 3 days after update to CS 
4.5.2. Cluster is XenServer 6.5 with SP1. Reboot has been started from 
slave node and then - master.

Syslog on slave shows only this:

Sep 6 00:47:05 xcp2 last message repeated 3 times
Sep 6 00:47:15 xcp2 xenstored: D12 write data/meminfo_free 713732
Sep 6 00:47:15 xcp2 xenstored: A1564203 w event 
/local/domain/12/data/meminfo_free /local/domain/12/data/meminfo_free
Sep 6 00:47:15 xcp2 xenstored: D12 write data/updated Sun Sep 6 
00:48:55 EEST 2015
Sep 6 00:47:15 xcp2 xenstored: A6 w event 
/local/domain/12/data/updated /local/domain/12/data/updated
Sep 6 00:47:15 xcp2 xenstored: A10 w event 
/local/domain/12/data/updated /local/domain/12/data/updated
Sep 6 00:47:26 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)
Sep 6 00:47:27 xcp2 xapi: [ info|xcp2|462044 INET 
0.0.0.0:80|dispatch:host.call_plugin D:7593b578fada|taskhelper] task 
host.call_plugin R:ddd3cc399f86 forwarded 
(trackid=407f6adaa118a34f19eb1e29cd68a0e8)
Sep 6 00:47:36 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)

Sep 6 00:48:18 xcp2 last message repeated 4 times
Sep 6 00:48:25 xcp2 xenstored: D1 write data/meminfo_free 1740496
Sep 6 00:48:25 xcp2 xenstored: A1564203 w event 
/local/domain/1/data/meminfo_free /local/domain/1/data/meminfo_free
Sep 6 00:48:25 xcp2 xenstored: D1 write data/updated Sat Sep 5 
21:50:07 EEST 2015
Sep 6 00:48:25 xcp2 xenstored: A6 w event /local/domain/1/data/updated 
/local/domain/1/data/updated
Sep 6 00:48:25 xcp2 xenstored: A10 w event 
/local/domain/1/data/updated /local/domain/1/data/updated
Sep 6 00:48:26 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)
Sep 6 00:48:27 xcp2 xapi: [ info|xcp2|462044 INET 
0.0.0.0:80|dispatch:host.call_plugin D:f2c8987bc0ff|taskhelper] task 
host.call_plugin R:b62d2d4f58eb forwarded 
(trackid=e3d4ea00c96194830a7dbbfc35563a3c)
Sep 6 00:48:38 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)

Sep 06 00:48:48 xcp2 syslogd 1.4.1: restart.
Sep 6 00:48:48 xcp2 kernel: klogd 1.4.1, log source = /proc/kmsg 
started.
Sep 6 00:48:48 xcp2 kernel: [ 0.00] Initializing cgroup subsys 
cpuset

Sep 6 00:48:48 xcp2 kernel: [ 0.00] Initializing cgroup subsys cpu
Sep 6 00:48:48 xcp2 kernel: [ 0.00] Initializing cgroup subsys 
cpuacct

Sep 6 00:48:48 xcp2 kernel: [ 0.00] Linux version 3.10.0+2

Can anyone help with diagnostics ?

Thank you,

Vadim.


CS 4.5.2: all hosts reboot after 3 days at production

2015-09-07 Thread Vadim Kimlaychuk

Hello all,

I have experienced accidental cluster reboot 3 days after update 
to CS 4.5.2. Cluster is XenServer 6.5 with SP1. Reboot has been started 
from slave node and then - master.

Syslog on slave shows only this:

Sep  6 00:47:05 xcp2 last message repeated 3 times
Sep  6 00:47:15 xcp2 xenstored:  D12  write 
data/meminfo_free 713732
Sep  6 00:47:15 xcp2 xenstored:  A1564203 w event   
/local/domain/12/data/meminfo_free /local/domain/12/data/meminfo_free
Sep  6 00:47:15 xcp2 xenstored:  D12  write data/updated Sun 
Sep  6 00:48:55 EEST 2015
Sep  6 00:47:15 xcp2 xenstored:  A6   w event   
/local/domain/12/data/updated /local/domain/12/data/updated
Sep  6 00:47:15 xcp2 xenstored:  A10  w event   
/local/domain/12/data/updated /local/domain/12/data/updated
Sep  6 00:47:26 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)
Sep  6 00:47:27 xcp2 xapi: [ info|xcp2|462044 INET 
0.0.0.0:80|dispatch:host.call_plugin D:7593b578fada|taskhelper] task 
host.call_plugin R:ddd3cc399f86 forwarded 
(trackid=407f6adaa118a34f19eb1e29cd68a0e8)
Sep  6 00:47:36 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)

Sep  6 00:48:18 xcp2 last message repeated 4 times
Sep  6 00:48:25 xcp2 xenstored:  D1   write 
data/meminfo_free 1740496
Sep  6 00:48:25 xcp2 xenstored:  A1564203 w event   
/local/domain/1/data/meminfo_free /local/domain/1/data/meminfo_free
Sep  6 00:48:25 xcp2 xenstored:  D1   write data/updated Sat 
Sep  5 21:50:07 EEST 2015
Sep  6 00:48:25 xcp2 xenstored:  A6   w event   
/local/domain/1/data/updated /local/domain/1/data/updated
Sep  6 00:48:25 xcp2 xenstored:  A10  w event   
/local/domain/1/data/updated /local/domain/1/data/updated
Sep  6 00:48:26 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)
Sep  6 00:48:27 xcp2 xapi: [ info|xcp2|462044 INET 
0.0.0.0:80|dispatch:host.call_plugin D:f2c8987bc0ff|taskhelper] task 
host.call_plugin R:b62d2d4f58eb forwarded 
(trackid=e3d4ea00c96194830a7dbbfc35563a3c)
Sep  6 00:48:38 xcp2 dhclient: DHCPREQUEST on xenbr0 to 172.17.0.1 port 
67 (xid=0x304ae9dc)

Sep 06 00:48:48 xcp2 syslogd 1.4.1: restart.
Sep  6 00:48:48 xcp2 kernel: klogd 1.4.1, log source = /proc/kmsg 
started.
Sep  6 00:48:48 xcp2 kernel: [0.00] Initializing cgroup subsys 
cpuset
Sep  6 00:48:48 xcp2 kernel: [0.00] Initializing cgroup subsys 
cpu
Sep  6 00:48:48 xcp2 kernel: [0.00] Initializing cgroup subsys 
cpuacct

Sep  6 00:48:48 xcp2 kernel: [0.00] Linux version 3.10.0+2

   Can anyone help with diagnostics ?

Thank you,

Vadim.


Re: cloudstack 4.5.2 and ubuntu 14.04

2015-09-07 Thread Vadim Kimlaychuk
I am using CS 4.5.1 on Ubuntu 14.04. With 4.5.2 I had only one problem 
-- it has rebooted my XenServer cluster. That is why I reverted back to 
4.5.1


Vadim.

On 2015-09-07 13:18, Ugo Vasi wrote:


Hi all,
I wonder if anyone has had a problem using CloudStack 4.5.2 on Ubuntu 
14.04.
On installation guide still recommend the 12.04 version that in some 
time will become unsupported.


thanks

--

U g o V a s i 
P r o c n e s.r.l >)
via Cotonificio 45 33010 Tavagnacco IT
phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare supp...@procne.it .
Rif. D.L. 196/⁠2003


Re: Dynamic Scalable Template issue

2015-09-05 Thread Vadim Kimlaychuk

Todd,

   You may try to create VM at XenServer without CloudStack just 
using XE tool (or XenCenter). If your manually created VM with static 
max <> dynamic max will be OK, then there is a problem with Cloudstack.


Vadim.

On 2015-09-04 21:51, Todd Pigram wrote:


Latest as of XS62ESP1027. I know XS62ESP1028 comes with new XenTools.

On Friday, September 4, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


I am afraid this issue has nothing to do with Cloudstack. If VM "sees"
maximum memory size available instead of effective -- this is problem 
of
hypervisor and/or guest utilities. Do you have guest utilities that 
come

with XenServer version or older in your template?

Vadim.

On 2015-09-04 19:34, Todd Pigram wrote:

Ok. After rebooting the instance still no change after disabling 
globally. I modified all my templates to remove 'Dynamic Scalable', 
then I have to
shutdown every instance and unselect 'Dynamic Scalable', then restart 
for

it to be correct.

This may need to be looked at closer for a Windows/XenDesktop(XenApp)
environment as MS SQL will consume all the RAM windows sees.

My other question is why CCP 4.3 (which is certified for Citrix Ready 
for
IaaS for XD) didn't have this issue until I upgraded to 4.3.0.2 in 
July.

This feature was released in 4.2.

Thanks for all the help.

Todd Pigram
http://about.me/ToddPigram [1] [1 [1]] <http://about.me/ToddPigram [1] 
[1 [1]]>

www.linkedin.com/in/toddpigram/ [2] [2 [2]] <
http://www.linkedin.com/in/toddpigram/ [2] [2 [2]]>
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3 [3]] <
https://plus.google.com/+ToddPigram86 [3] [3 [3]]>
Mobile - 216-224-5769

PGP Public Key <
http://pgp.mit.edu/pks/lookup?op=get=0x96B7B0F0C55933BB [4] [4 
[5]]> On

Sep 4, 2015, at 12:04 PM, Todd Pigram <t...@toddpigram.com> wrote:

Thanks.

Just funny that on CCP 4.3 it wasn't an issue and only after upgrading 
to

4.3.0.2 and a host reboot did it change my instances.

This issue is that the instance below is a SQL server. As Windows see
32GB, it shows the used RAM in windows as 31.6GB. The Server only has 
8GB.

That is what really is the issue. Causing slowness for my users.

I have set 'enable.dynamic.scale.vm' to false and restarted
cloudstack-management. I will reboot an instance that is out of prod 
and

let you know the results.

Todd Pigram
http://about.me/ToddPigram [1] [1 [1]] <http://about.me/ToddPigram [1] 
[1 [1]]>

www.linkedin.com/in/toddpigram/ [2] [2 [2]] <
http://www.linkedin.com/in/toddpigram/ [2] [2 [2]]>
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3 [3]] <
https://plus.google.com/+ToddPigram86 [3] [3 [3]]>
Mobile - 216-224-5769

PGP Public Key <
http://pgp.mit.edu/pks/lookup?op=get=0x96B7B0F0C55933BB [4] [4 
[5]]> On
Sep 4, 2015, at 11:41 AM, Vadim Kimlaychuk <va...@kickcloud.net 

va...@kickcloud.net>> wrote:

Hello Todd,

If I understood you correctly, you wonder why you have static max as 4x
of the offering, isn't it? This article should answer your question:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM#DynamicscalingofCPUandRAM-Xenserver 
[6]

[5] <
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM#DynamicscalingofCPUandRAM-Xenserver 
[6]

[5]>

Look chapter for XenServer changes. As it is stated there: static max =
f_min (4 * service_offering) / memory_overprovisioning_of_cluster

Regards,

Vadim.

On 2015-09-04 17:41, Todd Pigram wrote:

Just wondering if anyone has seen similar. I already have a case open.
But seeing if the forum has an answer?
Issue, Upgraded to CCP 4.3.0.2 back in July. Afterwards everything was
great. Hosts rebooted two weeks ago. Any instance built with a template
with Dynamic Scalable set to yes, shows in XenCenter as min/max memory 
as

what system offering is but has a Static Max of 4x the RAM.
Screen shot of instance built from template with Dynamic Scalable = yes

https://picasaweb.google.com/lh/photo/8AoU3kQRQjZccdnUrrAIAXjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[7]

[6 [1]] <
https://picasaweb.google.com/lh/photo/8AoU3kQRQjZccdnUrrAIAXjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[7]

[6 [1]]> [1 [6]]
XenCenter of same instance

https://picasaweb.google.com/lh/photo/IATy1WmgkbdYHtfzpOcqVnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[8]

[7 [2]] <
https://picasaweb.google.com/lh/photo/IATy1WmgkbdYHtfzpOcqVnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[8]

[7 [2]]> [2 [7]]
In Windows 2012r2 sees Static Max

https://picasaweb.google.com/lh/photo/AQ_xkMQhmBsJuKALKJ5vBnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[9]

[8 [3]] <
https://picasaweb.google.com/lh/photo/AQ_xkMQhmBsJuKALKJ5vBnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[9]

[8 [3]]> [3 [8]]
Now if I build a new w2012r2 template without Dynamic Scalable, it 
works

as it should. But I lose the ability to Dynamically scale.
Screenshots of instance bui

Re: Dynamic Scalable Template issue

2015-09-05 Thread Vadim Kimlaychuk

Todd,

I have seeing similar problem with Xen 4.1 (not XenServer). 
Linux guests were able to see (and use) entire host resources on any 
guest VM. That was a bug of configuration. If you think about what could 
be different after CS update - it could be VM registration procedure. 
Still guest VM should not be able to see static max. Your XenCenter 
shows that effective dynamic VM memory size is 8Gb while maximium is 
32Gb. So CS configured VM guest correctly. This is problem of hypervisor 
<-> guest VM communitcation. That is why I asked you to try to register 
VM manually. I believe you will have the same result. Than means your 
server pool of XS62ESP1027 is broken. 3 other pools are not. I see no 
reason to update to 4.5.1, because I think this is not the problem of 
CS, but particularly this XenServer pool + this type of Windows guest 
(if other templates with dynamic offer are good).


Vadim.

On 2015-09-05 14:45, Todd Pigram wrote:


Vadim

I have 3 other pools (1 XS6.2sp1 and 2x xs65sp1) I have no issue with 
these.
Based on the Design doc, what i was experiencing is by design. Ok I 
will turn it off.
But now my question is, why on 4.3 I didn't have this issue but after 
installing 4.3.0.2 it changed.
Was 4.3 broken or is 4.3.0.2? Will upgrading to CCP 4.5.1 will be 
better?
If this is truely by design, I will not be able to use dynamic scalable 
for my windows instances
On Saturday, September 5, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:

Todd,

You may try to create VM at XenServer without CloudStack just using XE 
tool (or XenCenter). If your manually created VM with static max <> 
dynamic max will be OK, then there is a problem with Cloudstack.


Vadim.

On 2015-09-04 21:51, Todd Pigram wrote:

Latest as of XS62ESP1027. I know XS62ESP1028 comes with new XenTools.

On Friday, September 4, 2015, Vadim Kimlaychuk <va...@kickcloud.net> 
wrote:


I am afraid this issue has nothing to do with Cloudstack. If VM "sees"
maximum memory size available instead of effective -- this is problem 
of
hypervisor and/or guest utilities. Do you have guest utilities that 
come

with XenServer version or older in your template?

Vadim.

On 2015-09-04 19:34, Todd Pigram wrote:

Ok. After rebooting the instance still no change after disabling 
globally. I modified all my templates to remove 'Dynamic Scalable', 
then I have to
shutdown every instance and unselect 'Dynamic Scalable', then restart 
for

it to be correct.

This may need to be looked at closer for a Windows/XenDesktop(XenApp)
environment as MS SQL will consume all the RAM windows sees.

My other question is why CCP 4.3 (which is certified for Citrix Ready 
for
IaaS for XD) didn't have this issue until I upgraded to 4.3.0.2 in 
July.

This feature was released in 4.2.

Thanks for all the help.

Todd Pigram
http://about.me/ToddPigram [1] [1] [1 [1]] <http://about.me/ToddPigram 
[1] [1] [1 [1]]>

www.linkedin.com/in/toddpigram/ [2] [2] [2 [2]] <
http://www.linkedin.com/in/toddpigram/ [2] [2] [2 [2]]>
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3] [3 [3]] <
https://plus.google.com/+ToddPigram86 [3] [3] [3 [3]]>
Mobile - 216-224-5769

PGP Public Key <
http://pgp.mit.edu/pks/lookup?op=get=0x96B7B0F0C55933BB [4] [4] 
[4 [5]]> On

Sep 4, 2015, at 12:04 PM, Todd Pigram <t...@toddpigram.com> wrote:

Thanks.

Just funny that on CCP 4.3 it wasn't an issue and only after upgrading 
to

4.3.0.2 and a host reboot did it change my instances.

This issue is that the instance below is a SQL server. As Windows see
32GB, it shows the used RAM in windows as 31.6GB. The Server only has 
8GB.

That is what really is the issue. Causing slowness for my users.

I have set 'enable.dynamic.scale.vm' to false and restarted
cloudstack-management. I will reboot an instance that is out of prod 
and

let you know the results.

Todd Pigram
http://about.me/ToddPigram [1] [1] [1 [1]] <http://about.me/ToddPigram 
[1] [1] [1 [1]]>

www.linkedin.com/in/toddpigram/ [2] [2] [2 [2]] <
http://www.linkedin.com/in/toddpigram/ [2] [2] [2 [2]]>
@pigram86 on twitter
https://plus.google.com/+ToddPigram86 [3] [3] [3 [3]] <
https://plus.google.com/+ToddPigram86 [3] [3] [3 [3]]>
Mobile - 216-224-5769

PGP Public Key <
http://pgp.mit.edu/pks/lookup?op=get=0x96B7B0F0C55933BB [4] [4] 
[4 [5]]> On
Sep 4, 2015, at 11:41 AM, Vadim Kimlaychuk <va...@kickcloud.net 

va...@kickcloud.net>> wrote:

Hello Todd,

If I understood you correctly, you wonder why you have static max as 4x
of the offering, isn't it? This article should answer your question:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM#DynamicscalingofCPUandRAM-Xenserver 
[5] [6]

[5] <
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM#DynamicscalingofCPUandRAM-Xenserver 
[5] [6]

[5]>

Look chapter for XenServer changes. As it is stated

Re: Strange ACS 4.30 to 4.5.2 upgrade Issue

2015-09-04 Thread Vadim Kimlaychuk

Hello Osay,

  According to the log you have multiple versions of the SLF4J 
library in your classpath:


---
validateJarFile(/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation


Vadim.

On 2015-09-04 13:10, Osay Osman Yuuni wrote:


Hi friends,
I'm having a very strange upgrade issue which I was wondering if anyone 
has

encountered and whether someone can catch what is wrong. Basically I
follow the steps outlined in the docs to the letter. When I restart the 
MS

service it gets stuck at running the DB upgrade scripts. I checked
catalina.out and noticed that the schema-430to440.sql script is trying 
to

create tables that already exist or insert columns that already exit.

I commented out all the lines causing the issue and then restart the MS
service but then I get a new error about the Listener. After Googling 
this
error the only hints I got were about system templates but I made sure 
the

new system template was installed before attempting the upgrade. I've
repeated this no less than five time with the very same results. I'm
miffed.

Below is a snippet of the catalina.out log with the error. Can anyone 
spot

the issue?

TIA
Osay

== SNIP
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/system/spring-core-syst
em-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-engine-schema-4.5.2.jar!/META-INF/cloudstack/system/spring-
engine-schema-system-checkers-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.5.2.jar!/META-INF/cloudstack/system/spri
ng-framework-config-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-db-4.5.2.jar!/META-INF/cloudstack/system/spring-f
ramework-db-system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-server-4.5.2.jar!/META-INF/cloudstack/system/spring-server-
system-context.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/system/spring-core-syst
em-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.5.2.jar!/META-INF/cloudstack/system/spri
ng-framework-config-system-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-contrail-4.5.2.jar!/META-INF/cloudstack/syst
em/spring-contrail-system-context-inheritable.xml]
INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading 
module

context [system] from URL
[jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/bootstrap/spring-bootst
rap-context-inheritable.xml]
INFO [c.c.u.d.T.Transaction] (main:null) Is Data Base High 
Availiability

enabled? Ans : false
INFO [c.c.u.d.Merovingian2] (main:null) Cleaning up locks for 
7063056740127
INFO [c.c.u.d.Merovingian2] (main:null) Released 0 locks for 
7063056740127

INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running system
integrity checker com.cloud.upgrade.DatabaseUpgradeChecker@7fa02e81
INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Grabbing lock to check 
for

database upgrade.
INFO [c.c.u.DatabaseUpgradeChecker] (main:null) DB version = 4.3.0 Code
Version = 4.5.2
INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Database upgrade must 
be

performed from 4.3.0 to 4.5.2
Sep 04, 2015 11:58:32 AM 

Re: CloudStack Network configuration

2015-09-04 Thread Vadim Kimlaychuk
To ensure high quality of your service don't use ready-to-use templates. 
They are not very popular as well. Everyone deploys their own as I know.


Vadim.

On 2015-09-04 13:05, Cristian Ciobanu wrote:


Thanks for the info. i started with the basic networking.

I have a question regarding templates, where can i find some ready 
templates for CS (KVM)? for most used distro.


Regards,
Cristian

On 9/4/2015 11:23:09 AM, Vadim Kimlaychuk <va...@kickcloud.net> wrote:
Hello Cristian,

I have investigated possibility to host CS infrastructure on OVH around
year ago and here are my notices:

* Using vRack is possible with certain product ranges, and Enterprise
line does not have it. You will stick to Infrastructure and Storage
dedicated server lines and thus CPU/RAM resources will be really
limited.
* vRack technology allows to combine servers into one network using
dedicated NIC and OVH management software to assign VLAN numbers to 
your

sub-nets. You have no control over this top-level switch, except
web-interface. More about it here: https://www.ovh.ie/solutions/vrack/ 
[6]

[6 [6]]
* You have no option to separate physically your storage traffic.
1Gbps interface for everything may not be enough.
* You have no backup-up interfaces. If one NIC is down - entire cloud
may be down.
* Since you don't have network switch under your control, you can't
really build advanced cloud network using ACS and OVH vRack. One option
is to use one OVH server in vRack as virtual appliance and put, for
instance, VyOS. But then you need to think about VLANs-inside-VLAN and
everything over single 1Gbps interface. Complicated.
* Since you don't have network switch, you have to route all your
cloud traffic through single server. Our use OVH
https://www.ovh.ie/solutions/ip-load-balancing/ [7] [7 [7]]
* There is also IP switching limitation. You can't really route you
public traffic between public interfaces. OVH does it for you. More
about it here: https://www.ovh.ie/dedicated_servers/free-ips.xml [8] [8 
[8]]. I

think your problem is here. You may try you use L2TP.

Regards,

Vadim.


On 2015-09-03 22:23, Cristian Ciobanu wrote:
Thanks for clarification, the best option for me will be the Basic
networking.

Can you help me with this ?

Regards,
Cristian

On 9/3/2015 10:18:12 PM, Erik Weber wrote:
Both types will allow you to have public traffic, but in different
ways.

- Basic is the typical flat network, aka Amazon EC2, where each VM get
its
own public ipaddress.
The downside is that the max size of your cloud is equal to your ip
pool
(minus a few to system vms).

- Advanced is isolated in one way or another, the typical is VLAN but
other
options exist, where tenant networks are behind source nat. This
drastically reduces the necessarity of public ips, but means you have
to
deal with port forwarding and such. If you plan on using VLAN, the 
size

of
your cloud is limited by the number of VLANS available and the number
of
public IPs (each tenant use a minimum of one).

--
Erik

On Thu, Sep 3, 2015 at 9:07 PM, Cristian Ciobanu
wrote:

Hello,

It's ok with Basic networking if this will allow me to have also
"public traffic".

Thanks.
Cristian

On 9/3/2015 10:02:36 PM, Erik Weber wrote:
Well, then there shouldn't be much OVH specific to think about.

Are you planning to use Advanced or Basic networking?

--
Erik

On Thu, Sep 3, 2015 at 8:52 PM, Cristian Ciobanu
wrote:

Hello,

No, this is not for vrack. ( MAC allocation is mandatory only on 
normal

dedicated servers )

Regards,
Cristian
www.istream.today [1] [1 [1]] [http://www.istream.today/ [2] [2 [2]]]
www.shape.host [3] [3 [3]] [http://www.shape.host/ [4] [4 [4]]]
+40.733.955.922

On 9/3/2015 9:51:16 PM, Erik Weber wrote:
Before you put much work into this, you should verify with OVH that
they'll allow other MAC-adresses on your switchport(s).

Some hosting providers limit switchports to a set of pre-defined
MAC-addresses, and that is going to be a pain in the ass to overcome.

--
Erik

On Thu, Sep 3, 2015 at 8:45 PM, Cristian Ciobanu
wrote:

Hello,

I have some issue with the network, i'm not sure how to configure the
public and private network to work on OVH in Vrack. because i have 
only

this documentation from OVH and the documentation is only for for
machine itself and for ESXI/Proxmox/xen :
http://help.ovh.com/VrackInfrastructureServer# [5] [5 [5]] (maybe 
somone can

translate to for cloudstack (Cent-OS/KVM)

The RIPE (Public IP's ) need to be bridged via eth1 also the private

IP (

but i don't find the solution also i need to do the right config on
the
management server )

Can someone help me ?

Thanks!
Cristian





Re: Dynamic Scalable Template issue

2015-09-04 Thread Vadim Kimlaychuk

Hello Todd,

If I understood you correctly, you wonder why you have static max as 
4x of the offering, isn't it?  This article should answer your question:



https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM#DynamicscalingofCPUandRAM-Xenserver


Look chapter for XenServer changes. As it is stated there: static 
max = f_min (4 * service_offering) / memory_overprovisioning_of_cluster


Regards,

Vadim.


On 2015-09-04 17:41, Todd Pigram wrote:

Just wondering if anyone has seen similar. I already have a case open. 
But seeing if the forum has an answer?


Issue, Upgraded to CCP 4.3.0.2 back in July. Afterwards everything was 
great. Hosts rebooted two weeks ago. Any instance built with a template 
with Dynamic Scalable set to yes, shows in XenCenter as min/max memory 
as what system offering is but has a Static Max of 4x the RAM.


Screen shot of instance built from template with Dynamic Scalable = yes

https://picasaweb.google.com/lh/photo/8AoU3kQRQjZccdnUrrAIAXjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[1]


XenCenter of same instance

https://picasaweb.google.com/lh/photo/IATy1WmgkbdYHtfzpOcqVnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[2]


In Windows 2012r2 sees Static Max

https://picasaweb.google.com/lh/photo/AQ_xkMQhmBsJuKALKJ5vBnjKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[3]


Now if I build a new w2012r2 template without Dynamic Scalable, it 
works as it should. But I lose the ability to Dynamically scale.


Screenshots of instance built form template without Dynamic Scaling and 
also in XC


https://picasaweb.google.com/lh/photo/3DorqjATJilaUl-B1_7B_3jKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[4]


https://picasaweb.google.com/lh/photo/QSMuaRocZjk8imkHjfuEH3jKBWkv3JXG-X1pm5S52Ks?feat=directlink 
[5]


Anyone aware if this is fixed in CCP/ACS 4.5.1? Has anyone seen this?

The XenServer Hosts are patched through XS62ESP1027.

Todd Pigram
http://about.me/ToddPigram [6]
www.linkedin.com/in/toddpigram/ [7] @pigram86 on twitter
https://plus.google.com/+ToddPigram86 [8] Mobile - 216-224-5769

PGP Public Key [9]




Links:
--
[1] 
https://picasaweb.google.com/lh/photo/8AoU3kQRQjZccdnUrrAIAXjKBWkv3JXG-X1pm5S52Ks?feat=directlink
[2] 
https://picasaweb.google.com/lh/photo/IATy1WmgkbdYHtfzpOcqVnjKBWkv3JXG-X1pm5S52Ks?feat=directlink
[3] 
https://picasaweb.google.com/lh/photo/AQ_xkMQhmBsJuKALKJ5vBnjKBWkv3JXG-X1pm5S52Ks?feat=directlink
[4] 
https://picasaweb.google.com/lh/photo/3DorqjATJilaUl-B1_7B_3jKBWkv3JXG-X1pm5S52Ks?feat=directlink
[5] 
https://picasaweb.google.com/lh/photo/QSMuaRocZjk8imkHjfuEH3jKBWkv3JXG-X1pm5S52Ks?feat=directlink

[6] http://about.me/ToddPigram
[7] http://www.linkedin.com/in/toddpigram/
[8] https://plus.google.com/+ToddPigram86
[9] http://pgp.mit.edu/pks/lookup?op=getsearch=0x96B7B0F0C55933BB


RE: instance password management

2015-08-28 Thread Vadim Kimlaychuk
Hello Jaso,

If I remember correctly - you can reset password when instance is not 
running. Then you need to switch VM on and during start-up, script will get 
password from VR. You can do this cycle as many times as you want.  

Vadim.

-Original Message-
From: STEENBLIK Jason [mailto:jason.steenb...@leonteq.com] 
Sent: Friday, August 28, 2015 3:24 PM
To: users@cloudstack.apache.org
Subject: instance password management

Hello,
I have a template with password management enabled and the 
cloud-set-guest-password properly setup. It all seems to work however it only 
works once at deployment. Is that the way it's supposed to work? Should I be 
able to change the password again and again or is this meant just to generate a 
password once?

If I attempt to change the password for an existing instance the 
cloud-set-guest-password script returns with 'VM has already saved a password 
from the password server.' The output returned from the VR is 'saved_password' 
which unfortunately is in line with the script's return.

I'm running 4.3.2 by the way.

Many thanks in advance,

Jason



=== The Leonteq Mail Gateway made the following annotation ===

This e-mail is confidential. If you are not the intended recipient, you should

not copy it, re-transmit it, use it or disclose its contents, but should

return it to the sender immediately and delete the copy from your system.

Leonteq Securities is not responsible for, nor endorses, any opinion,

recommendation, conclusion, solicitation, offer or agreement or any

information contained in this communication.

Leonteq Securities cannot accept any responsibility for the accuracy or

completeness of this message as it has been transmitted over a public network.

If you suspect that the message may have been intercepted or amended, please

call the sender. Should you require any further information, please contact

the Compliance Manager on complia...@leonteq.commailto:complia...@leonteq.com.



==


RE: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-17 Thread Vadim Kimlaychuk
Luciano,

I am using XenServer as hypervisor and I have different SSVM, CPVM 
images. From my point of view, outgoing traffic should not be restricted. 
Especially port 80.  Probably you have downloaded some kind of test image. 
What version of CS are you using? Where did you get System VM image? 

Vadim.

-Original Message-
From: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Sent: Friday, August 14, 2015 5:37 PM
To: users@cloudstack.apache.org
Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS

Vadim

Yes, the problem seems to be on SSVM. When I could try with wget , I receive 
connection refused.


I deleted the OUTPUT rule which denies port 80, and now it worked.

Is it correct ? Does the SSVM wouldn´t have access to external HTTP servers?

Thank you!!


On Fri, Aug 14, 2015 at 11:02 AM, Vadim Kimlaychuk  vadim.kimlayc...@elion.ee 
wrote:

 Have you tried to wget from management server or SSVM or both?  It may 
 be a probleem with SSVM. Try to check SSVM also

 Vadim.

 -Original Message-
 From: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Sent: Friday, August 14, 2015 3:49 PM
 To: users@cloudstack.apache.org
 Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS

 Yes, with wget is working (i took off the web proxy from the middle) , 
 as I said before

 From the manager I do wget normally:

 [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
 --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
 Connecting to 10.253.118.181:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 20611792896 (19G) [application/octet-stream] Saving to:
 “dsv-str-tools.qcow2â€

  0%
 [
 ] 94,175,024   112M/s  ^C

 And the log of nginx is ok:

 10.253.118.180 - - [14/Aug/2015:11:49:38 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.1 200 50680 - Java/1.7.0_79 -
 10.253.118.180 - - [14/Aug/2015:11:50:33 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.0 200 214111416 - Wget/1.12 (linux-gnu) -
 10.253.118.180 - - [14/Aug/2015:12:15:07 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.0 200 139332352 - Wget/1.12 (linux-gnu) -



 On Fri, Aug 14, 2015 at 9:42 AM, Vadim Kimlaychuk  
 vadim.kimlayc...@elion.ee
  wrote:

  Can you try to wget URL ? May be you have error in nginx configuration?
 
  Vadim.
 
  -Original Message-
  From: Luciano Castro [mailto:luciano.cas...@gmail.com]
  Sent: Friday, August 14, 2015 3:40 PM
  To: users@cloudstack.apache.org
  Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
 
  I asked this because I´m getting error with GUI.
 
   I put this qcow2 image on a KVM host, and I installed a nginx for 
  webserver.
 
  After I tryed to send the volume , but the log shows me connection 
  refused
 
 
  2015-08-14 12:30:41,253 DEBUG [c.c.a.t.Request]
  (AgentManager-Handler-9:null) Seq 11-2078692703008194575: Processing:
  {
  Ans: , MgmtId: 102228234536925, via: 11, Ver: v1, Flags: 10,
  [{com.cloud.agent.api.storage.DownloadAnswer:{jobId:206c8462-2f
  53 
  -4a70-8430-5de582438915,downloadPct:0,errorString:Connection
 
  refused,downloadStatus:DOWNLOAD_ERROR,downloadPath:/mnt/SecS
  to
  rage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld68512180
  99 
  292451394tmp_,installPath:volumes/2/152,templateSize:0,templ
  at ePhySicalSize:0,result:true,details:Connection
  refused,wait:0}}] }
 
  From the manager I do wget normally:
 
  [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
  --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
  Connecting to 10.253.118.181:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 20611792896 (19G) [application/octet-stream] Saving to:
  “dsv-str-tools.qcow2â€
 
   0%
  [
  ] 94,175,024   112M/s  ^C
 
  And the log of nginx is ok:
 
  10.253.118.180 - - [14/Aug/2015:11:49:38 +] GET
  /dsv-str-tools.qcow2 HTTP/1.1 200 50680 - Java/1.7.0_79 -
  10.253.118.180 - - [14/Aug/2015:11:50:33 +] GET
  /dsv-str-tools.qcow2 HTTP/1.0 200 214111416 - Wget/1.12 (linux-gnu)
 -
  10.253.118.180 - - [14/Aug/2015:12:15:07 +] GET
  /dsv-str-tools.qcow2 HTTP/1.0 200 139332352 - Wget/1.12 (linux-gnu)
 -
 
  I don´t know why I´m getting refused.
 
  thanks
 
 
  On Fri, Aug 14, 2015 at 9:15 AM, Vadim Kimlaychuk  
  vadim.kimlayc...@elion.ee
   wrote:
 
   Luciano,
  
 I am afraid there is only HTTP.
  
   Vadim.
  
   -Original Message-
   From: Luciano Castro [mailto:luciano.cas...@gmail.com]
   Sent: Friday, August 14, 2015 2:56 PM
   To: users@cloudstack.apache.org
   Subject: KVM - convert vmdk to qcow2 - send volume to CS
  
   Hi!
  
   I converted vmdk to qcow2 (qemu-img convert -O qcow2 
   travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if 
   there´s another way to submit the volume instead by HTTP (via GUI).
  
   If i have the volume at KVM host, could I run a command to 
   register it into CS?
  
   Thanks!
  
   --
   Luciano Castro
  
 
 
 
  --
  Luciano Castro

RE: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-14 Thread Vadim Kimlaychuk
Have you tried to wget from management server or SSVM or both?  It may be a 
probleem with SSVM. Try to check SSVM also

Vadim.

-Original Message-
From: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Sent: Friday, August 14, 2015 3:49 PM
To: users@cloudstack.apache.org
Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS

Yes, with wget is working (i took off the web proxy from the middle) , as I 
said before

From the manager I do wget normally:

[root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
--2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
Connecting to 10.253.118.181:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20611792896 (19G) [application/octet-stream] Saving to:
“dsv-str-tools.qcow2â€

 0%
[
] 94,175,024   112M/s  ^C

And the log of nginx is ok:

10.253.118.180 - - [14/Aug/2015:11:49:38 +] GET /dsv-str-tools.qcow2 
HTTP/1.1 200 50680 - Java/1.7.0_79 -
10.253.118.180 - - [14/Aug/2015:11:50:33 +] GET /dsv-str-tools.qcow2 
HTTP/1.0 200 214111416 - Wget/1.12 (linux-gnu) -
10.253.118.180 - - [14/Aug/2015:12:15:07 +] GET /dsv-str-tools.qcow2 
HTTP/1.0 200 139332352 - Wget/1.12 (linux-gnu) -



On Fri, Aug 14, 2015 at 9:42 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Can you try to wget URL ? May be you have error in nginx configuration?

 Vadim.

 -Original Message-
 From: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Sent: Friday, August 14, 2015 3:40 PM
 To: users@cloudstack.apache.org
 Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS

 I asked this because I´m getting error with GUI.

  I put this qcow2 image on a KVM host, and I installed a nginx for 
 webserver.

 After I tryed to send the volume , but the log shows me connection 
 refused


 2015-08-14 12:30:41,253 DEBUG [c.c.a.t.Request]
 (AgentManager-Handler-9:null) Seq 11-2078692703008194575: Processing:  
 {
 Ans: , MgmtId: 102228234536925, via: 11, Ver: v1, Flags: 10, 
 [{com.cloud.agent.api.storage.DownloadAnswer:{jobId:206c8462-2f53
 -4a70-8430-5de582438915,downloadPct:0,errorString:Connection

 refused,downloadStatus:DOWNLOAD_ERROR,downloadPath:/mnt/SecSto
 rage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099
 292451394tmp_,installPath:volumes/2/152,templateSize:0,templat
 ePhySicalSize:0,result:true,details:Connection
 refused,wait:0}}] }

 From the manager I do wget normally:

 [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
 --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
 Connecting to 10.253.118.181:80... connected.
 HTTP request sent, awaiting response... 200 OK
 Length: 20611792896 (19G) [application/octet-stream] Saving to:
 “dsv-str-tools.qcow2â€

  0%
 [
 ] 94,175,024   112M/s  ^C

 And the log of nginx is ok:

 10.253.118.180 - - [14/Aug/2015:11:49:38 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.1 200 50680 - Java/1.7.0_79 -
 10.253.118.180 - - [14/Aug/2015:11:50:33 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.0 200 214111416 - Wget/1.12 (linux-gnu) -
 10.253.118.180 - - [14/Aug/2015:12:15:07 +] GET 
 /dsv-str-tools.qcow2 HTTP/1.0 200 139332352 - Wget/1.12 (linux-gnu) -

 I don´t know why I´m getting refused.

 thanks


 On Fri, Aug 14, 2015 at 9:15 AM, Vadim Kimlaychuk  
 vadim.kimlayc...@elion.ee
  wrote:

  Luciano,
 
I am afraid there is only HTTP.
 
  Vadim.
 
  -Original Message-
  From: Luciano Castro [mailto:luciano.cas...@gmail.com]
  Sent: Friday, August 14, 2015 2:56 PM
  To: users@cloudstack.apache.org
  Subject: KVM - convert vmdk to qcow2 - send volume to CS
 
  Hi!
 
  I converted vmdk to qcow2 (qemu-img convert -O qcow2 
  travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s 
  another way to submit the volume instead by HTTP (via GUI).
 
  If i have the volume at KVM host, could I run a command to register 
  it into CS?
 
  Thanks!
 
  --
  Luciano Castro
 



 --
 Luciano Castro




--
Luciano Castro


RE: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-14 Thread Vadim Kimlaychuk
Can you try to wget URL ? May be you have error in nginx configuration?

Vadim.

-Original Message-
From: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Sent: Friday, August 14, 2015 3:40 PM
To: users@cloudstack.apache.org
Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS

I asked this because I´m getting error with GUI.

 I put this qcow2 image on a KVM host, and I installed a nginx for webserver.

After I tryed to send the volume , but the log shows me connection refused


2015-08-14 12:30:41,253 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-9:null) Seq 11-2078692703008194575: Processing:  {
Ans: , MgmtId: 102228234536925, via: 11, Ver: v1, Flags: 10, 
[{com.cloud.agent.api.storage.DownloadAnswer:{jobId:206c8462-2f53-4a70-8430-5de582438915,downloadPct:0,errorString:Connection
refused,downloadStatus:DOWNLOAD_ERROR,downloadPath:/mnt/SecStorage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099292451394tmp_,installPath:volumes/2/152,templateSize:0,templatePhySicalSize:0,result:true,details:Connection
refused,wait:0}}] }

From the manager I do wget normally:

[root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
--2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
Connecting to 10.253.118.181:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20611792896 (19G) [application/octet-stream] Saving to: 
“dsv-str-tools.qcow2”

 0%
[
] 94,175,024   112M/s  ^C

And the log of nginx is ok:

10.253.118.180 - - [14/Aug/2015:11:49:38 +] GET /dsv-str-tools.qcow2 
HTTP/1.1 200 50680 - Java/1.7.0_79 -
10.253.118.180 - - [14/Aug/2015:11:50:33 +] GET /dsv-str-tools.qcow2 
HTTP/1.0 200 214111416 - Wget/1.12 (linux-gnu) -
10.253.118.180 - - [14/Aug/2015:12:15:07 +] GET /dsv-str-tools.qcow2 
HTTP/1.0 200 139332352 - Wget/1.12 (linux-gnu) -

I don´t know why I´m getting refused.

thanks


On Fri, Aug 14, 2015 at 9:15 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Luciano,

   I am afraid there is only HTTP.

 Vadim.

 -Original Message-
 From: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Sent: Friday, August 14, 2015 2:56 PM
 To: users@cloudstack.apache.org
 Subject: KVM - convert vmdk to qcow2 - send volume to CS

 Hi!

 I converted vmdk to qcow2 (qemu-img convert -O qcow2 
 travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s 
 another way to submit the volume instead by HTTP (via GUI).

 If i have the volume at KVM host, could I run a command to register it 
 into CS?

 Thanks!

 --
 Luciano Castro




--
Luciano Castro


RE: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-14 Thread Vadim Kimlaychuk
Luciano,

  I am afraid there is only HTTP. 

Vadim.

-Original Message-
From: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Sent: Friday, August 14, 2015 2:56 PM
To: users@cloudstack.apache.org
Subject: KVM - convert vmdk to qcow2 - send volume to CS

Hi!

I converted vmdk to qcow2 (qemu-img convert -O qcow2 travis-ci-flat.vmdk 
dsv-str-tools.qcow2), and I need know if there´s another way to submit the 
volume instead by HTTP (via GUI).

If i have the volume at KVM host, could I run a command to register it into CS?

Thanks!

--
Luciano Castro


RE: Register iso so slow.

2015-08-13 Thread Vadim Kimlaychuk
Use route -n to see what your default gateway is. If you have wrong GW - you 
will not be able to reach anything outside network. It should not be always 
x.x.x.1, but usually is.

Vadim.

-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com] 
Sent: Wednesday, August 12, 2015 8:57 PM
To: users@cloudstack.apache.org
Subject: Re: Register iso so slow.

my gateway is 192.168.76.2, could the problem cause the Gateway? i read in 
quick installation need /24 network with gateway XXX.XXX.XXX.1.
i install centos 6.6 on vmware workstation. and setup cloud stack on it.

On Wed, Aug 12, 2015 at 10:23 PM, Borhan Asgharnejad  b.asgharne...@gmail.com 
wrote:

 hi Sam
 yes i did it. but still the problem exist.

 On Wed, Aug 12, 2015 at 10:15 PM, Sam Ceylani 
 s...@mistercertified.com
 wrote:

 Borhan, did you try running your server at port 8080? there are some 
 hard coded stuff for this port in the code and secstorage allowed 
 sites etc. I asked this yesterday but couldnt get an answer from you 
 :)

 Sent from my iPhone

  On Aug 12, 2015, at 1:02 PM, Borhan Asgharnejad 
 b.asgharne...@gmail.com wrote:
 
  sorry set secstorage.allowed.internal.sites to 192.168.76.0/24 
  http://192.168.76.9/24
 
  On Wed, Aug 12, 2015 at 9:07 PM, Borhan Asgharnejad 
 b.asgharne...@gmail.com
  wrote:
 
  hi
  this is ssvm check result and of course i set 
  secstorage.allowed.internal.sites to 192.168.76.9/24. but after
 register
  iso it just create empty file in 192.168.76.5:/secondary (i mean 
  the
 size
  of file 0kb)
 
 
  First DNS server is  8.8.8.8
  PING 8.8.8.8 (8.8.8.8): 48 data bytes
  56 bytes from 8.8.8.8: icmp_seq=0 ttl=128 time=670.263 ms
  56 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=749.591 ms
  --- 8.8.8.8 ping statistics ---
  2 packets transmitted, 2 packets received, 0% packet loss 
  round-trip min/avg/max/stddev = 670.263/709.927/749.591/39.664 ms
  Good: Can ping DNS server
  
  Good: DNS resolves download.cloud.com 
  
  nfs is currently mounted
  Mount point is 
  /mnt/SecStorage/74b7fe22-5937-3f2a-b2a2-8f9dbdc54631
  Good: Can write to mount point
  
  Management server is 192.168.76.5. Checking connectivity.
  Good: Can connect to management server port 8250 
  
  Good: Java process is running
  
  Tests Complete. Look for ERROR or WARNING above.
 
  On Wed, Aug 12, 2015 at 7:32 PM, Somesh Naidu 
  somesh.na...@citrix.com
 
  wrote:
 
  Hi Borhan,
 
  i figure out when i try get iso
  file on SSVM by wget command (wget 
  http://192.168.76.5/isoname.iso) http://10.39.1.9/isoname.iso 
  say cannot write to 'isoname http://10.39.1.9/isoname.iso.iso' (No 
  space left on device).
 
  This probably won't work if you were using SSVM's root disk as a
 target
  for download as it size is limited to 2 GB.
 
  I believe this is internal IP 192.168.76.5, if that's true, 
  have you added this IP to the global config
 secstorage.allowed.internal.sites?
 
  Also, as Prashant and Sam recommended, validate all is fine with 
  SSVM
 by
  performing troubleshooting as mentioned on the wiki.
 
  Regards,
  Somesh
 
 
  -Original Message-
  From: Sam Ceylani [mailto:s...@mistercertified.com]
  Sent: Wednesday, August 12, 2015 2:58 AM
  To: users@cloudstack.apache.org
  Subject: RE: Register iso so slow.
 
  It only accepts it on port 8080 don’t ask me why, in theory yes 
  port
 80
  is ok and yes you can but I never get it to work, try running 
  your web server on port 8080 and give it a try :)
 
  -Original Message-
  From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
  Sent: Wednesday, August 12, 2015 2:55 AM
  To: users@cloudstack.apache.org
  Subject: RE: Register iso so slow.
 
  Hi, Borhan
 
 Is your SSVM up and agent status is connected?  Can you
 confirm
  that troubleshooting SSVM (
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+template
 s,+Secondary+storage+troubleshooting
 )
  gives OK status?
 
  Regards,
 
  Vadim.
 
 
  -Original Message-
  From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
  Sent: Wednesday, August 12, 2015 9:44 AM
  To: users@cloudstack.apache.org
  Subject: Re: Register iso so slow.
 
  Hi Vadiam
  The SSVM and CPVM is running and up.
  The status of registering iso is null, and i figure out when i 
  try get iso file on SSVM by wget command (wget
 http://192.168.76.5/isoname.iso) 
  http://10.39.1.9/isoname.iso say cannot write to 'isoname  
  http://10.39.1.9/isoname.iso.iso' (No space left on device). i 
  have problem to register iso could you please tell me what can i 
  do. by
 the way
  i have about 400 GB free space on secondary storage.
 
  On Wed, Aug 12, 2015 at 9:45 AM, Vadim Kimlaychuk  
  vadim.kimlayc...@elion.ee
  wrote:
 
  Hello Borhan

RE: Deleting Compute Offering

2015-08-13 Thread Vadim Kimlaychuk
Hello Swen,

If I am not mistaken - you can't delete offering if it is used. You 
will get an error. First -- you must assign new offering and then remove the 
old one

Vadim.

-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] 
Sent: Thursday, August 13, 2015 1:29 PM
To: users@cloudstack.apache.org
Subject: Deleting Compute Offering

Hi,

I need to delete a Compute Offering because it is using a storage tag of a 
primary storage which we want to get rid of in the future and I do not want 
users to still be able to deploy new VMs on this primary storage. Of course it 
is easy to delete the offering, but what will happen with existing VMs using 
this offering?
Will I be still able to use live migration and start/stop them?
We re using CS 4.3

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke



- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden. 




RE: Register iso so slow.

2015-08-12 Thread Vadim Kimlaychuk
Hi, Borhan

Is your SSVM up and agent status is connected?  Can you confirm that 
troubleshooting SSVM 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting)
 gives OK status? 

Regards,

Vadim.  


-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com] 
Sent: Wednesday, August 12, 2015 9:44 AM
To: users@cloudstack.apache.org
Subject: Re: Register iso so slow.

Hi Vadiam
The SSVM and CPVM is running and up.
The status of registering iso is null, and i figure out when i try get iso file 
on SSVM by wget command (wget http://192.168.76.5/isoname.iso) 
http://10.39.1.9/isoname.iso say cannot write to 'isoname 
http://10.39.1.9/isoname.iso.iso' (No space left on device). i have problem 
to register iso could you please tell me what can i do. by the way i have about 
400 GB free space on secondary storage.

On Wed, Aug 12, 2015 at 9:45 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Hello Borhan,



 1.   It all depends on the speed of you network, storage and size of
 the ISO image.  If you analyze the whole process chain -- you can find 
 bottlenecks. Then you can (probably) optimize something. It is better 
 to show numbers here to be able to judge.

 2.   Go to ISO, Zone tab, klick on zone and you will see ISO details
 tab with downloaded % and status.



 Vadim.



 -Original Message-
 From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
 Sent: Wednesday, August 12, 2015 8:53 AM
 To: users@cloudstack.apache.org
 Subject: Register iso so slow.



 Hi All,

 1- Could you please guide me how i increase speed of registering iso 
 template.

 2- how could  see percentage of iso that uploaded to ssvm in cloud 
 stack 4.5.



RE: register ISO status is null (it didn't start downloading)

2015-08-12 Thread Vadim Kimlaychuk
Can you also check that you can do:  wget 
http://192.168.76.5:443/CentOS-6.4-x86_64-minimal.iso; from your SSVM console?  
I think problem may be at your self-signed sertificate that is not accepted.  
Try to download ISO from HTTP.

Regards,

Vadim.


-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com] 
Sent: Wednesday, August 12, 2015 11:24 AM
To: users@cloudstack.apache.org
Subject: register ISO status is null (it didn't start downloading)

When i run ssvm-check result  error: DNS not resolving download.cloud.com.
And when i register iso to CS4.5 the status alwayes null and not starting 
download. the MS log is:
//
//
2015-08-12 00:05:36,762 DEBUG [c.c.a.ApiServlet]
(catalina-exec-18:ctx-8028) ===START===  192.168.76.5 -- GET
command=registerIsoresponse=jsonsessionkey=QXKoPDefD5zmuzKRkBHeG2M35sg%3Dname=Centos+TestdisplayText=CentOs+Test-ISOurl=http%3A%2F%2F192.168.76.5%3A443%2FCentOS-6.4-x86_64-minimal.isozoneid=-1isextractable=falsebootable=trueosTypeId=2967cdb0-3e80-11e5-b636-000c292fd6b0ispublic=trueisfeatured=false_=1439363136742
2015-08-12 00:05:36,796 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
(catalina-exec-18:ctx-8028 ctx-f4291408) template 224 is not in store:1, 
type:Image
2015-08-12 00:05:36,803 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
(catalina-exec-18:ctx-8028 ctx-f4291408) template 224 is already in 
store:1, type:Image
2015-08-12 00:05:36,806 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl]
(catalina-exec-18:ctx-8028 ctx-f4291408) Downloading template to data store 
1
2015-08-12 00:05:36,811 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl]
(catalina-exec-18:ctx-8028 ctx-f4291408) Performing image store 
createTemplate async callback
2015-08-12 00:05:36,820 DEBUG [o.a.c.s.RemoteHostEndPoint]
(catalina-exec-18:ctx-8028 ctx-f4291408) Sending command 
org.apache.cloudstack.storage.command.DownloadCommand to host: 3
2015-08-12 00:05:36,821 DEBUG [c.c.a.t.Request]
(catalina-exec-18:ctx-8028 ctx-f4291408) Seq 3-1995657584878551217:
Sending  { Cmd , MgmtId: 279278805450798, via: 3(s-1-VM), Ver: v1, Flags:
100011,
[{org.apache.cloudstack.storage.command.DownloadCommand:{hvm:true,description:CentOs
Test-ISO,maxDownloadSizeInBytes:53687091200,id:224,resourceType:TEMPLATE,installPath:template/tmpl/2/224,_store:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
192.168.76.5/secondary,_role:Image}},url:
http://192.168.76.5:443/CentOS-6.4-x86_64-minimal.iso
,format:ISO,accountId:2,name:224-2-9cdcf5cc-5a89-3167-b360-e67fb1f0c0ca,secUrl:nfs://
192.168.76.5/secondary,wait:0}}] }
2015-08-12 00:05:36,834 DEBUG [c.c.a.ApiServlet]
(catalina-exec-18:ctx-8028 ctx-f4291408) ===END===  192.168.76.5 -- GET
command=registerIsoresponse=jsonsessionkey=QXKoPDefD5zmuzKRkBHeG2M35sg%3Dname=Centos+TestdisplayText=CentOs+Test-ISOurl=http%3A%2F%2F192.168.76.5%3A443%2FCentOS-6.4-x86_64-minimal.isozoneid=-1isextractable=falsebootable=trueosTypeId=2967cdb0-3e80-11e5-b636-000c292fd6b0ispublic=trueisfeatured=false_=1439363136742
2015-08-12 00:05:38,162 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-268414b5) Begin cleanup expired async-jobs
2015-08-12 00:05:38,201 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-268414b5) End cleanup expired async-jobs
2015-08-12 00:05:38,243 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2e87f7f2) Found 0 routers to update status.
2015-08-12 00:05:38,244 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-2e87f7f2) Found 0 networks to update RvR status.
2015-08-12 00:05:39,059 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 2-2568: Processing Seq 2-2568:  { Cmd ,
MgmtId: -1, via: 2, Ver: v1, Flags: 11,
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
\connections\: []\n},wait:0}}] }
2015-08-12 00:05:39,065 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 2-2568: Sending Seq 2-2568:  { Ans: ,
MgmtId: 279278805450798, via: 2, Ver: v1, Flags: 100010, 
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
2015-08-12 00:05:39,926 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-3:null) Seq 3-1995657584878551217: Processing:  {
Ans: , MgmtId: 279278805450798, via: 3, Ver: v1, Flags: 10, 
[{com.cloud.agent.api.storage.DownloadAnswer:{jobId:f9e5fba8-4cfb-41c3-952f-ba0e192f10bd,downloadPct:0,errorString:
,downloadStatus:NOT_DOWNLOADED,downloadPath:/mnt/SecStorage/74b7fe22-5937-3f2a-b2a2-8f9dbdc54631/template/tmpl/2/224/dnld6496597977918563053tmp_,installPath:template/tmpl/2/224,templateSize:0,templatePhySicalSize:0,result:true,details:
,wait:0}}] }



RE: Register iso so slow.

2015-08-12 Thread Vadim Kimlaychuk
Hello Borhan,



1.   It all depends on the speed of you network, storage and size of the 
ISO image.  If you analyze the whole process chain -- you can find bottlenecks. 
Then you can (probably) optimize something. It is better to show numbers here 
to be able to judge.

2.   Go to ISO, Zone tab, klick on zone and you will see ISO details tab 
with downloaded % and status.



Vadim.



-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
Sent: Wednesday, August 12, 2015 8:53 AM
To: users@cloudstack.apache.org
Subject: Register iso so slow.



Hi All,

1- Could you please guide me how i increase speed of registering iso template.

2- how could  see percentage of iso that uploaded to ssvm in cloud stack 4.5.


RE: register ISO status is null (it didn't start downloading)

2015-08-12 Thread Vadim Kimlaychuk
SSVM does have small drive, but you should have NFS mount share where you 
download image. See it is mounted.

Something like this:

root@s-1-VM:~# df -h
...
x.x.x.x:/export/secondary1.7T   33G  1.6T   3% 
/mnt/SecStorage/3db9ac57-a67c-3ee7-8124-34e9361a7de8

Regards,

Vadim.

-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com] 
Sent: Wednesday, August 12, 2015 12:42 PM
To: users@cloudstack.apache.org
Subject: Re: register ISO status is null (it didn't start downloading)

Hi,
It start download but after download 332 from 342 mb it stop and say Cannot 
write to 'CentOS-6.4-x86_64-minimal.iso'(No space left on device).
is it related to secondary storage disk size? i have 389 gb free on it.

On Wed, Aug 12, 2015 at 12:22 PM, Vadim Kimlaychuk  vadim.kimlayc...@elion.ee 
wrote:

 Can you also check that you can do:  wget 
 http://192.168.76.5:443/CentOS-6.4-x86_64-minimal.iso; from your SSVM 
 console?  I think problem may be at your self-signed sertificate that 
 is not accepted.  Try to download ISO from HTTP.

 Regards,

 Vadim.


 -Original Message-
 From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
 Sent: Wednesday, August 12, 2015 11:24 AM
 To: users@cloudstack.apache.org
 Subject: register ISO status is null (it didn't start downloading)

 When i run ssvm-check result  error: DNS not resolving download.cloud.com.
 And when i register iso to CS4.5 the status alwayes null and not 
 starting download. the MS log is:
 //

 //
 
 2015-08-12 00:05:36,762 DEBUG [c.c.a.ApiServlet]
 (catalina-exec-18:ctx-8028) ===START===  192.168.76.5 -- GET

 command=registerIsoresponse=jsonsessionkey=QXKoPDefD5zmuzKRkBHeG2M35
 sg%3Dname=Centos+TestdisplayText=CentOs+Test-ISOurl=http%3A%2F%2F19
 2.168.76.5%3A443%2FCentOS-6.4-x86_64-minimal.isozoneid=-1isextractab
 le=falsebootable=trueosTypeId=2967cdb0-3e80-11e5-b636-000c292fd6b0i
 spublic=trueisfeatured=false_=1439363136742
 2015-08-12 00:05:36,796 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
 (catalina-exec-18:ctx-8028 ctx-f4291408) template 224 is not in 
 store:1, type:Image
 2015-08-12 00:05:36,803 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
 (catalina-exec-18:ctx-8028 ctx-f4291408) template 224 is already 
 in store:1, type:Image
 2015-08-12 00:05:36,806 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl]
 (catalina-exec-18:ctx-8028 ctx-f4291408) Downloading template to 
 data store 1
 2015-08-12 00:05:36,811 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl]
 (catalina-exec-18:ctx-8028 ctx-f4291408) Performing image store 
 createTemplate async callback
 2015-08-12 00:05:36,820 DEBUG [o.a.c.s.RemoteHostEndPoint]
 (catalina-exec-18:ctx-8028 ctx-f4291408) Sending command 
 org.apache.cloudstack.storage.command.DownloadCommand to host: 3
 2015-08-12 00:05:36,821 DEBUG [c.c.a.t.Request]
 (catalina-exec-18:ctx-8028 ctx-f4291408) Seq 3-1995657584878551217:
 Sending  { Cmd , MgmtId: 279278805450798, via: 3(s-1-VM), Ver: v1, Flags:
 100011,

 [{org.apache.cloudstack.storage.command.DownloadCommand:{hvm:true,
 description:CentOs

 Test-ISO,maxDownloadSizeInBytes:53687091200,id:224,resourceType
 :TEMPLATE,installPath:template/tmpl/2/224,_store:{com.cloud.a
 gent.api.to.NfsTO:{_url:nfs://
 192.168.76.5/secondary,_role:Image}},url:
 http://192.168.76.5:443/CentOS-6.4-x86_64-minimal.iso

 ,format:ISO,accountId:2,name:224-2-9cdcf5cc-5a89-3167-b360-e
 67fb1f0c0ca,secUrl:nfs://
 192.168.76.5/secondary,wait:0}}] }
 2015-08-12 00:05:36,834 DEBUG [c.c.a.ApiServlet]
 (catalina-exec-18:ctx-8028 ctx-f4291408) ===END===  192.168.76.5 
 -- GET

 command=registerIsoresponse=jsonsessionkey=QXKoPDefD5zmuzKRkBHeG2M35
 sg%3Dname=Centos+TestdisplayText=CentOs+Test-ISOurl=http%3A%2F%2F19
 2.168.76.5%3A443%2FCentOS-6.4-x86_64-minimal.isozoneid=-1isextractab
 le=falsebootable=trueosTypeId=2967cdb0-3e80-11e5-b636-000c292fd6b0i
 spublic=trueisfeatured=false_=1439363136742
 2015-08-12 00:05:38,162 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
 (AsyncJobMgr-Heartbeat-1:ctx-268414b5) Begin cleanup expired 
 async-jobs
 2015-08-12 00:05:38,201 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
 (AsyncJobMgr-Heartbeat-1:ctx-268414b5) End cleanup expired async-jobs
 2015-08-12 00:05:38,243 DEBUG 
 [c.c.n.r.VirtualNetworkApplianceManagerImpl]
 (RouterStatusMonitor-1:ctx-2e87f7f2) Found 0 routers to update status.
 2015-08-12 00:05:38,244 DEBUG 
 [c.c.n.r.VirtualNetworkApplianceManagerImpl]
 (RouterStatusMonitor-1:ctx-2e87f7f2) Found 0 networks to update RvR status.
 2015-08-12 00:05:39,059 DEBUG [c.c.a.m.AgentManagerImpl]
 (AgentManager-Handler-5:null) SeqA 2-2568: Processing Seq 2-2568:  { 
 Cmd ,
 MgmtId: -1, via: 2, Ver: v1, Flags: 11,

 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,
 _loadInfo:{\n
 \connections\: []\n},wait:0}}] }
 2015-08-12 00:05:39,065 DEBUG [c.c.a.m.AgentManagerImpl]
 (AgentManager

RE: Export secondary disk ova

2015-08-03 Thread Vadim Kimlaychuk
Bimandika,

It is hard to understand what you are going to achieve if exported VM 
runs properly. Can you re-phrase it?

Vadim.

-Original Message-
From: Bimandika Hasanah [mailto:bimand...@live.com] 
Sent: Sunday, August 02, 2015 5:38 AM
To: users@cloudstack.apache.org
Subject: Export secondary disk ova

Hi guys,

I just clone root volume into data volume, and deattach data volume then 
download, so i get the ova file, but when i import in vmware player and virtual 
box it cannot run.

So i try to upload again as volume and as template, the vm can run properly.

What can i do to fix exported ova, so i can get a backup my vm's

A bunch of thanks before

Regards

Bimandika Hasanah


RE: Cloudstack support

2015-07-30 Thread Vadim Kimlaychuk
Thank you for information, Somesh.  Citrix is really big company :)

Vadim.

-Original Message-
From: Somesh Naidu [mailto:somesh.na...@citrix.com] 
Sent: Thursday, July 30, 2015 12:22 AM
To: users@cloudstack.apache.org
Subject: RE: Cloudstack support

 Take Citrix, for instance. It offers specific version of Cloudstack together 
 with XenServer hypervisor. Don't know whether they offer CS over KVM, hyper-V 
 or VmWare, but I can hardly imagine any company can offer whatever CS can 
 do.

I can confirm that Citrix provides support for CS across all hypervisors 
mentioned above.

Somesh
CloudPlatform Escalations
Citrix Systems, Inc.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
Sent: Wednesday, July 29, 2015 3:49 AM
To: users@cloudstack.apache.org
Subject: RE: Cloudstack support

Özhan,

I think you should give a discount to community not being answered your 
questions during middle of summer :)  
While I do agree with Ilya regarding support vendor selection, there is 
one important question to answer -What is customer product to support? 
Cloudstack itself is platform and to become a product there should be some 
bundle of items (like CS itself, hypervisors, network devices, storage) 
properly configured.  Take Citrix, for instance. It offers specific version of 
Cloudstack together with XenServer hypervisor. Don't know whether they offer CS 
over KVM, hyper-V or VmWare, but I can hardly imagine any company can offer 
whatever CS can do. Cloudstack is changing rapidly and has too many 
variations. We have discussed here LTS edition of Cloudstack that will make 
support tasks much easier. It also be nice to have best practices examples at 
documentation in order to minimize configuration mistakes. It is hard to offer 
something specific while you can offer anything :)

Vadim.

-Original Message-
From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com]
Sent: Wednesday, July 29, 2015 9:42 AM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack support

Hi;
I agree with Ilya, list contribution for supportive firms are really important, 
this month i asked 3 questions to this list but i could not find any suitable 
answer :(

Thanks
Özhan

On Tue, Jul 28, 2015 at 6:59 PM, Ron Wheeler rwhee...@artifact-software.com
 wrote:

 In fact, this is just the kind of topic that many forum participants 
 find most motivating;-)

 On 28/07/2015 11:53 AM, Nick Brody wrote:

 dont worry about being not in topic

 On Thu, Jul 23, 2015 at 11:04 AM, Suneel mvsbabu0...@outlook.com wrote:

  Dear Orlando,

 Please visit www.axiomio.com. They are providing cloudstack support.

 Thank you,
 Suneel Mallela.

 On 23-Jul-2015 11:07 pm, Orlando Sánchez 
 tecnologia.8...@outlook.com
 wrote:

 Hello Everybody,

 I am sorry for the off topic but I am not sure where could I get

 information about the following. We have a cloudstack infrastructure 
 in our company running 4.1, unfortunately our senior engineer left 
 and we need external support to help us with level 3 support. Is 
 there any company who could provide us this service?

 Again I am sorry for the off topic, I hope anybody could help us.

 Regards,

 Orlando Sánchez
 IT Director
 tecnologia.8...@outlook.com




 --
 Ron Wheeler
 President
 Artifact Software Inc
 email: rwhee...@artifact-software.com
 skype: ronaldmwheeler
 phone: 866-970-2435, ext 102




RE: Cloudstack support

2015-07-29 Thread Vadim Kimlaychuk
Özhan,

I think you should give a discount to community not being answered your 
questions during middle of summer :)  
While I do agree with Ilya regarding support vendor selection, there is 
one important question to answer -What is customer product to support? 
Cloudstack itself is platform and to become a product there should be some 
bundle of items (like CS itself, hypervisors, network devices, storage) 
properly configured.  Take Citrix, for instance. It offers specific version of 
Cloudstack together with XenServer hypervisor. Don't know whether they offer CS 
over KVM, hyper-V or VmWare, but I can hardly imagine any company can offer 
whatever CS can do. Cloudstack is changing rapidly and has too many 
variations. We have discussed here LTS edition of Cloudstack that will make 
support tasks much easier. It also be nice to have best practices examples at 
documentation in order to minimize configuration mistakes. It is hard to offer 
something specific while you can offer anything :)

Vadim.

-Original Message-
From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com] 
Sent: Wednesday, July 29, 2015 9:42 AM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack support

Hi;
I agree with Ilya, list contribution for supportive firms are really important, 
this month i asked 3 questions to this list but i could not find any suitable 
answer :(

Thanks
Özhan

On Tue, Jul 28, 2015 at 6:59 PM, Ron Wheeler rwhee...@artifact-software.com
 wrote:

 In fact, this is just the kind of topic that many forum participants 
 find most motivating;-)

 On 28/07/2015 11:53 AM, Nick Brody wrote:

 dont worry about being not in topic

 On Thu, Jul 23, 2015 at 11:04 AM, Suneel mvsbabu0...@outlook.com wrote:

  Dear Orlando,

 Please visit www.axiomio.com. They are providing cloudstack support.

 Thank you,
 Suneel Mallela.

 On 23-Jul-2015 11:07 pm, Orlando Sánchez 
 tecnologia.8...@outlook.com
 wrote:

 Hello Everybody,

 I am sorry for the off topic but I am not sure where could I get

 information about the following. We have a cloudstack infrastructure 
 in our company running 4.1, unfortunately our senior engineer left 
 and we need external support to help us with level 3 support. Is 
 there any company who could provide us this service?

 Again I am sorry for the off topic, I hope anybody could help us.

 Regards,

 Orlando Sánchez
 IT Director
 tecnologia.8...@outlook.com




 --
 Ron Wheeler
 President
 Artifact Software Inc
 email: rwhee...@artifact-software.com
 skype: ronaldmwheeler
 phone: 866-970-2435, ext 102




RE: Enabling CloudStack Usage Server Problem

2015-07-29 Thread Vadim Kimlaychuk
Hello Özhan,

Have you checked JOB table at your database ?  Try to log in into usage 
database and 

select * from usage_job;

If you don't see anything probably you haven't installed java mysql 
connector 

Vadim.

-Original Message-
From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com] 
Sent: Tuesday, July 28, 2015 11:55 AM
To: users@cloudstack.apache.org
Subject: Enabling CloudStack Usage Server Problem

Hi;
I am using CloudStack 4.5.1 with KVM clients. I have problem with getting vm 
usage statistics, i could not able to start/operate CloudStack Usage Deamon. I 
could not see any values under Mysql cloud_usage database. My settings are 
below...

Thanks
Özhan

*Global Settings Parameters:*
usage.aggregation.timezone : GMT
usage.execution.timezone : GMT
enable.usage.server : true
publish.usage.events : true
usage.stats.job.exec.time: 13:35
usage.stats.job.aggregation.range :10

*root@cloudstack:~# dpkg -l|grep clouds*
ii  *clouds*tack-common   4.5.1-shapeblue-00
all  A common package which contains files which are shared by
several CloudStack packages
ii  *clouds*tack-management   4.5.1-shapeblue-00
all  CloudStack server library
ii  *clouds*tack-usage4.5.1-shapeblue-00
all  CloudStack usage monitor

*root@cloudstack:/var/log/cloudstack/management# cat management-server.log|grep 
usage*
2015-07-28 11:29:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
(HA-5:ctx-f8b40397) checking health of *usage* server
2015-07-28 11:29:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
(HA-5:ctx-f8b40397) *usage* server running? true, heartbeat: Tue Jul 28
11:29:15 EEST 2015
2015-07-28 11:39:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
(HA-5:ctx-0383793a) checking health of *usage* server
2015-07-28 11:39:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
(HA-5:ctx-0383793a) *usage* server running? true, heartbeat: Tue Jul 28
11:39:15 EEST 2015

*root@cloudstack:/var/log/cloudstack/usage# tailf usage.log *
2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_3605546c
2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.usage.dao.UsageNetworkDaoImpl_EnhancerByCloudStack_d8d23a61
2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.alert.dao.AlertDaoImpl_EnhancerByCloudStack_b9e90fb5
2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.user.dao.VmDiskStatisticsDaoImpl_EnhancerByCloudStack_f62ca44d
2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_36959499
2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.usage.dao.UsageVMSnapshotDaoImpl_EnhancerByCloudStack_66e10368
2015-07-27 13:22:00,153 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.usage.UsageManagerImpl_EnhancerByCloudStack_38bd4b32
2015-07-27 13:22:00,154 INFO  [cloud.usage.UsageManagerImpl] (main:null) 
Starting Usage Manager
2015-07-27 13:22:00,262 INFO  [utils.component.ComponentContext]
(main:null) Starting
com.cloud.usage.UsageAlertManagerImpl_EnhancerByCloudStack_34791552
2015-07-27 13:22:00,262 INFO  [cloud.usage.UsageServer] (main:null) UsageServer 
ready...


*root@cloudstack:/var/log/cloudstack/usage# ls -l /etc/cloudstack/usage/*total
4
lrwxrwxrwx 1 root root   40 Jul 27 12:09 *db.properties* -
/etc/cloudstack/management/db.properties
lrwxrwxrwx 1 root root   30 Jul 27 12:09 *key* -
/etc/cloudstack/management/key
-rw-r--r-- 1 root root 2966 May  6 03:19 log4j-cloud.xml


RE: Password management on Windows templates

2015-07-29 Thread Vadim Kimlaychuk
Rafael,

Windows password manager is far from being perfect.  As I know -- you 
can't select user for password reset in windows and I don't know any other 
program that you can use instead.

For password reset to work on Windows you probably need to reboot VM. 
Try to search cloudstack user mails for subject Cloud Instance Manager only 
sets password after reboot on Windows 2012 R2.

Regards,

Vadim.

-Original Message-
From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] 
Sent: Wednesday, July 29, 2015 3:38 PM
To: users@cloudstack.apache.org
Subject: Password management on Windows templates

Hey all,
I am trying to set password management into a Windows VM without success. I am 
using the application that is referred here:
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.5/templates.html#windows-os-installation


How does that program work? How can I configure that program? How does it know 
which user it has to change the password?
I had already set up the Linux password management; there I could select which 
users it is going to change the password.

Is there any other program that I could use to manage password on my Windows 
templates?

--
Rafael Weingärtner


RE: Enabling CloudStack Usage Server Problem

2015-07-29 Thread Vadim Kimlaychuk
Özhan,

You have described usage server work and I would say -- this is how it 
should work in fact. Some points may seem strange from user perspective, but if 
you go deeper into its logic, you will see that everything supposed to work 
like that. 
Keep in mind that key point of usage server is scheduler that works 
pretty much the same as UNIX cron.  Database contains record of the next run 
and all previous runs. By default, aggregation range is 14400 minutes or 24 
hours.  This parameter contains CS global variable -- 
usage.stats.job.aggregation.range. If you change the value using CS management 
interface -- it will not affect JOB scheduler immediately, even if you restart 
management server (which is required).  Time interval should be updated after 
recent JOB is executed. 

If I remember correctly, all the date/time values in database are UTC. 
Timezone affects aggregation statistics runner, so if you would like to charge 
client usage billing based on your local time - this is your case. Otherwise -- 
GMT is fine.  

From my point of view -- to run usage stats every 30 min is overkill. 
Will suggest you to use default settings (i.e. once a day) unless you really 
need it. 

Regards,

Vadim.



-Original Message-
From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com] 
Sent: Wednesday, July 29, 2015 2:37 PM
To: users@cloudstack.apache.org
Subject: Re: Enabling CloudStack Usage Server Problem

Hi Vadim;
Usage Statistics Calculation is started today, but what i have noticed is 
somehow when i change any of usage parameters and stop/start the management 
server it effects after some time like one day :))

Yesterday i changed usage.stats.job.exec.time parameter several times to 
manually trigger usage stats calculation daemon but it did not ever start.
Today when i check the logs i noticed that it started working at the mentioned 
time in parameter today :) Now i raised usage.stats.job.aggregation.range 
parameter from 10 to 30 an restarted management server and now i see that it 
continues to collect for 10 minutes of time :)) I do not know when it will 
mention the parameter is changed and change the calculation interval. By the 
way i made the parameter changes with admin user and CS main interface.

I have also another question my timezone is not listed on official 
documentation for valid timezones. I will use Asia/Istanbul for timezone fields 
for usage and we will see how system will respond to it :) I do not expect any 
problems but :)

Thanks for your reply :)

Regards
Özhan


On Wed, Jul 29, 2015 at 10:53 AM, Vadim Kimlaychuk  vadim.kimlayc...@elion.ee 
wrote:

 Hello Özhan,

 Have you checked JOB table at your database ?  Try to log in 
 into usage database and

 select * from usage_job;

 If you don't see anything probably you haven't installed java 
 mysql connector

 Vadim.

 -Original Message-
 From: Özhan Rüzgar Karaman [mailto:oruzgarkara...@gmail.com]
 Sent: Tuesday, July 28, 2015 11:55 AM
 To: users@cloudstack.apache.org
 Subject: Enabling CloudStack Usage Server Problem

 Hi;
 I am using CloudStack 4.5.1 with KVM clients. I have problem with 
 getting vm usage statistics, i could not able to start/operate 
 CloudStack Usage Deamon. I could not see any values under Mysql 
 cloud_usage database. My settings are below...

 Thanks
 Özhan

 *Global Settings Parameters:*
 usage.aggregation.timezone : GMT
 usage.execution.timezone : GMT
 enable.usage.server : true
 publish.usage.events : true
 usage.stats.job.exec.time: 13:35
 usage.stats.job.aggregation.range :10

 *root@cloudstack:~# dpkg -l|grep clouds*
 ii  *clouds*tack-common   4.5.1-shapeblue-00
 all  A common package which contains files which are shared by
 several CloudStack packages
 ii  *clouds*tack-management   4.5.1-shapeblue-00
 all  CloudStack server library
 ii  *clouds*tack-usage4.5.1-shapeblue-00
 all  CloudStack usage monitor

 *root@cloudstack:/var/log/cloudstack/management# cat 
 management-server.log|grep usage*
 2015-07-28 11:29:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
 (HA-5:ctx-f8b40397) checking health of *usage* server
 2015-07-28 11:29:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
 (HA-5:ctx-f8b40397) *usage* server running? true, heartbeat: Tue Jul 
 28
 11:29:15 EEST 2015
 2015-07-28 11:39:32,784 INFO  [c.c.h.HighAvailabilityManagerImpl]
 (HA-5:ctx-0383793a) checking health of *usage* server
 2015-07-28 11:39:32,786 DEBUG [c.c.h.HighAvailabilityManagerImpl]
 (HA-5:ctx-0383793a) *usage* server running? true, heartbeat: Tue Jul 
 28
 11:39:15 EEST 2015

 *root@cloudstack:/var/log/cloudstack/usage# tailf usage.log *
 2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
 (main:null) Starting
 com.cloud.user.dao.UserAccountDaoImpl_EnhancerByCloudStack_3605546c
 2015-07-27 13:22:00,152 INFO  [utils.component.ComponentContext]
 (main:null

RE: Password management on Windows templates

2015-07-29 Thread Vadim Kimlaychuk
It will affect local Administrator account. 

Vadim.

-Original Message-
From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] 
Sent: Wednesday, July 29, 2015 3:51 PM
To: users@cloudstack.apache.org
Subject: Re: Password management on Windows templates

Thanks for your answers.

If we cannot select a user, which users is it going to change password for?
I mean, the password program is running as a service when the VM starts, 
therefore, there is no users logged in right?

On Wed, Jul 29, 2015 at 9:47 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Rafael,

 Windows password manager is far from being perfect.  As I know 
 -- you can't select user for password reset in windows and I don't 
 know any other program that you can use instead.

 For password reset to work on Windows you probably need to 
 reboot VM. Try to search cloudstack user mails for subject Cloud 
 Instance Manager only sets password after reboot on Windows 2012 R2.

 Regards,

 Vadim.

 -Original Message-
 From: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
 Sent: Wednesday, July 29, 2015 3:38 PM
 To: users@cloudstack.apache.org
 Subject: Password management on Windows templates

 Hey all,
 I am trying to set password management into a Windows VM without success.
 I am using the application that is referred here:

 http://docs.cloudstack.apache.org/projects/cloudstack-administration/e
 n/4.5/templates.html#windows-os-installation


 How does that program work? How can I configure that program? How does 
 it know which user it has to change the password?
 I had already set up the Linux password management; there I could 
 select which users it is going to change the password.

 Is there any other program that I could use to manage password on my 
 Windows templates?

 --
 Rafael Weingärtner




--
Rafael Weingärtner


Re: Cloudstack physical network on xenserver

2015-07-03 Thread Vadim Kimlaychuk
Hi,

Cloudstack does the following:

1. When you configure physical networking of you cloud this should match name 
of the physical network name-label on you XenServer host (let me say 
guest-net).  You can check it with xe network-list
2. When you configure guest networks CS asks you for range of VLANs it will 
configure by itself. Let me say you put 500-600
3. When first guest comes, CS registers new VLAN taking ID randomly (upon first 
VM is registered). You can check it by xe vlan-list on your host.  CS 
connects VLAN ID to guest network uuid and physical network uuid. 

To work properly you should configure all guest VLANs on your switch and enable 
VLAN ID transitions from one to another.  For instance if your public VLAN id = 
5 and guest VLAN ID=505 you must change it while routing from one VLAN to 
another.  Of course if you remove client from Cloudstack -- you should see that 
corresponding VLAN is removed from you host automatically

Vadim

From: Fedi Ben Ali ben.ali.fe...@gmail.com
Sent: Friday, July 3, 2015 15:11
To: users@cloudstack.apache.org
Subject: Re: Cloudstack physical network on xenserver

Hi,

Yes i'm working on an advanced zone, each one of the clients have it's own
network so his own virtual router. When i delete the clients accounts i do
remove all his ressources so the virtual router.

on my switches the public network is tagged.

is there any possibility that cloudstack is removing the network
configuration on my xenservers ?
because i dont know the event that is tiggring this action so i can't
troubelshoot properly.

Thx.


2015-07-03 9:35 GMT+01:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 That does not brake entire logic :)

 Vadim.

 -Original Message-
 From: Remi Bergsma [mailto:r...@remi.nl]
 Sent: Friday, July 03, 2015 11:24 AM
 To: users@cloudstack.apache.org
 Subject: Re: Cloudstack physical network on xenserver

 Hi Vadim,

 That depends on your upstream provider. In our case, we get a VLAN from
 upstream provider and send tagged packets (they take care of it from
 there). So, in that case the VLAN tagging is handy/required. If you need to
 send it untagged, then tagging it wont’t work indeed.

 Regards,
 Remi

  On 3 jul. 2015, at 09:08, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:
 
  Hello Fedi,
 
Public traffic must me untagged because the next switch after
 yours will not recognize it if it is tagged.  You need to untag public
 traffic before sending out. To route internally - you need to tag it.   I
 also have public traffic tagged internally and assign tag on ingress and
 remove tag on egress traffic.  This is done by switch configuration.
 
VLAN is used for isolation.  You can have same ip ranges on the
 same physical networks without networks to be overlapped.
 
  Vadim.
 
  -Original Message-
  From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
  Sent: Thursday, July 02, 2015 5:32 PM
  To: users@cloudstack.apache.org
  Subject: Cloudstack physical network on xenserver
 
  Hello,
 
  On my deploiement cloudstack 4.4 and xenservers 6.2. i have configured
 multiple networks each one for a specific traffic type
 (Public,management,storage,guest).
 
  these networks are isolated and vlan tagged ,so on my xenservers  i have
 the 4 networks each with a specific name label and pointing to a Vlan.
 
  when i added the public ip range ,i did not mention the VLAN number of
 my public network.
 
  Can this cause issues or not ?
 
  and what is the pupose of putting the vlan number on the ip ranges ?
 
  Thx.




RE: Cloudstack physical network on xenserver

2015-07-03 Thread Vadim Kimlaychuk
Hello Fedi,

Public traffic must me untagged because the next switch after yours 
will not recognize it if it is tagged.  You need to untag public traffic before 
sending out. To route internally - you need to tag it.   I also have public 
traffic tagged internally and assign tag on ingress and remove tag on egress 
traffic.  This is done by switch configuration.

VLAN is used for isolation.  You can have same ip ranges on the same 
physical networks without networks to be overlapped. 

Vadim.

-Original Message-
From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] 
Sent: Thursday, July 02, 2015 5:32 PM
To: users@cloudstack.apache.org
Subject: Cloudstack physical network on xenserver

Hello,

On my deploiement cloudstack 4.4 and xenservers 6.2. i have configured multiple 
networks each one for a specific traffic type (Public,management,storage,guest).

these networks are isolated and vlan tagged ,so on my xenservers  i have the 4 
networks each with a specific name label and pointing to a Vlan.

when i added the public ip range ,i did not mention the VLAN number of my 
public network.

Can this cause issues or not ?

and what is the pupose of putting the vlan number on the ip ranges ?

Thx.


RE: Cloudstack physical network on xenserver

2015-07-03 Thread Vadim Kimlaychuk
That does not brake entire logic :)

Vadim.

-Original Message-
From: Remi Bergsma [mailto:r...@remi.nl] 
Sent: Friday, July 03, 2015 11:24 AM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack physical network on xenserver

Hi Vadim,

That depends on your upstream provider. In our case, we get a VLAN from 
upstream provider and send tagged packets (they take care of it from there). 
So, in that case the VLAN tagging is handy/required. If you need to send it 
untagged, then tagging it wont’t work indeed.

Regards,
Remi

 On 3 jul. 2015, at 09:08, Vadim Kimlaychuk vadim.kimlayc...@elion.ee wrote:
 
 Hello Fedi,
 
   Public traffic must me untagged because the next switch after yours 
 will not recognize it if it is tagged.  You need to untag public traffic 
 before sending out. To route internally - you need to tag it.   I also have 
 public traffic tagged internally and assign tag on ingress and remove tag on 
 egress traffic.  This is done by switch configuration.
 
   VLAN is used for isolation.  You can have same ip ranges on the same 
 physical networks without networks to be overlapped. 
 
 Vadim.
 
 -Original Message-
 From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] 
 Sent: Thursday, July 02, 2015 5:32 PM
 To: users@cloudstack.apache.org
 Subject: Cloudstack physical network on xenserver
 
 Hello,
 
 On my deploiement cloudstack 4.4 and xenservers 6.2. i have configured 
 multiple networks each one for a specific traffic type 
 (Public,management,storage,guest).
 
 these networks are isolated and vlan tagged ,so on my xenservers  i have the 
 4 networks each with a specific name label and pointing to a Vlan.
 
 when i added the public ip range ,i did not mention the VLAN number of my 
 public network.
 
 Can this cause issues or not ?
 
 and what is the pupose of putting the vlan number on the ip ranges ?
 
 Thx.



RE: IP address troubles CS 4.5.1

2015-06-26 Thread Vadim Kimlaychuk
Hello Jeremy,

I didn't clearly understand the problem. Did you have public IP range 
x.x.x.x and would like to change it to y.y.y.y?  General rule of thumb -- you 
should register new network and assign new VIF to VM from this new net. Then 
make it default for the VM and then you can remove old interface with old IP 
address.  Upon removal old IP will be released automatically.  Replacing IP 
address range on old infrastructure without re-creating VR-s usually does not 
work or works until the first reboot :). 

Regards,

Vadim.

-Original Message-
From: Jeremy Peterson [mailto:jpeter...@acentek.net] 
Sent: Thursday, June 25, 2015 6:35 PM
To: users@cloudstack.apache.org
Subject: IP address troubles CS 4.5.1

I am in the process of moving some servers into cloudstack and to get the 
servers connected to each other I build the guest network and it acquired a 
public ip from the pool I have setup.  All is good and well until the day comes 
to where I need to cut the public ip address over to the new server.  I went 
into infrastructure zones networks public and ip ranges.  From there I entered 
all my correct information and added it to the correct account and boom now 
that IP address is assigned to that one account.  Now I went intot he network 
and was able to Acquire New IP and that gave me the correct IP.  So that all 
worked now I want to remove the old IP the first IP it was assigned.  I figured 
I'd click on the IP and a Release IP button would show up and off to the races. 
 Nope.

So my question is since I cannot find an answer for it.  How do I change the 
newly Acquired IP to be the only IP address?

The virtual router has eth3 with the new ip address I could just ifdown eth2 
and change the default route in there but that does not clean it up.
Jeremy Peterson



RE: Not able to login cloudstack image deployed from template

2015-06-16 Thread Vadim Kimlaychuk
It also depends on the network offer you have created. Check if the one you 
used have UserData enabled.

Vadim.

-Original Message-
From: Erik Weber [mailto:terbol...@gmail.com] 
Sent: Tuesday, June 16, 2015 11:24 AM
To: users@cloudstack.apache.org
Subject: Re: Not able to login cloudstack image deployed from template

On Tue, Jun 16, 2015 at 10:19 AM, kangkan mahanta kangkan.maha...@gmail.com
 wrote:

 Dear All,

 I have registered template from http://dl.openvm.eu/ and deployed one 
 instance successfully with password enable yes

 Not able login with user id root and dynamically generated password. 
 Please guide me how to login



You could have issues with networking, if the VM is unable to reach your VR 
then it won't get the generated password.

Depending on which template you used you should probably see something on the 
console that could indicate whether or not it has working network connectivity.

--
Erik


RE: Not able to login cloudstack image deployed from template

2015-06-16 Thread Vadim Kimlaychuk
Browse guest network where VM is and check services that are available. Like 
DNS, Firewall, DHCP...  should be UserData as well. I didn't get what 
defaultNetwork is. You should create offer by yourself.

Vadim.

-Original Message-
From: kangkan mahanta [mailto:kangkan.maha...@gmail.com] 
Sent: Tuesday, June 16, 2015 12:33 PM
To: users@cloudstack.apache.org
Subject: Re: Not able to login cloudstack image deployed from template

Already i have up and running instances installed from ISO and able to ping the 
instance created from template. I am using defaultGuestNetwork. My be the issue 
with UserData but not able to check  that.

On Tue, Jun 16, 2015 at 2:09 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 It also depends on the network offer you have created. Check if the 
 one you used have UserData enabled.

 Vadim.

 -Original Message-
 From: Erik Weber [mailto:terbol...@gmail.com]
 Sent: Tuesday, June 16, 2015 11:24 AM
 To: users@cloudstack.apache.org
 Subject: Re: Not able to login cloudstack image deployed from template

 On Tue, Jun 16, 2015 at 10:19 AM, kangkan mahanta  
 kangkan.maha...@gmail.com
  wrote:

  Dear All,
 
  I have registered template from http://dl.openvm.eu/ and deployed 
  one instance successfully with password enable yes
 
  Not able login with user id root and dynamically generated password.
  Please guide me how to login
 
 

 You could have issues with networking, if the VM is unable to reach 
 your VR then it won't get the generated password.

 Depending on which template you used you should probably see something 
 on the console that could indicate whether or not it has working 
 network connectivity.

 --
 Erik



RE: XenServer upgrade in CloudStack environment

2015-06-12 Thread Vadim Kimlaychuk
Hi,

I did the same as Martin at CS 4.5.1 and it went OK. Does this depend 
on CS version?

Vadim.

-Original Message-
From: Mārtiņš Jakubovičs [mailto:mart...@vertigs.lv] 
Sent: Friday, June 12, 2015 10:40 AM
To: users@cloudstack.apache.org
Subject: Re: XenServer upgrade in CloudStack environment

Hello,

No, I didn't. Didn't know about such upgrade procedure. I will follow this 
article next time.

Thanks a lot!

On 2015.06.12. 10:21, Praveen B wrote:
 Hi Martins,

 Have you unmanaged your xen cluster from cloudstack UI before xen upgrade?
 This is a mandatory step that disconnects all xen servers in the 
 cluster from while upgrade is going on.

 You can go through
 http://www.shapeblue.com/how-to-upgrade-an-apache-cloudstack-citrix-xe
 nserver-cluster/ KB article that explains xen cluster upgrade in 
 cloudstack.

 Thanks,
 Praveen Kumar,
 Founder, PSI Cloud Solutions

 On Fri, Jun 12, 2015 at 12:41 PM, Mārtiņš Jakubovičs 
 mart...@vertigs.lv
 wrote:

 Hello all,

 Yesterday I upgraded one of my CloudStack Cluster's which run on 
 XenServer. As XenServer dokumentation suggest, after applying 
 patches, need to restart a host, and first must be pool master 
 server. I set master server to maintenance mode in CS, when all 
 instances migrated I restarted a host. After some time I start to 
 receive e-mails from CS, that other hosts in cluster are down too, 
 not only a master server. My compute offerings are HA enabled so I 
 receive e-mails with failed restart attempt on HA instances. At 
 least, when master come online CS didn't restart any instances and I get 
 away with just a little scare.

 What is correct way to do upgrade no XenServer hosts in CloudStack 
 environment? Patches, like XS 6.2 SP1  
 http://support.citrix.com/article/CTX139788 require to restart pool 
 master first.

 I use ACS 4.3.2 with XenServer 6.2.

 Best regards,
 Martins




RE: Help in importing VM

2015-06-08 Thread Vadim Kimlaychuk
Alessandro,

You got it -- vhd-parent is what I have been thinking of. If you would 
like to know more about snapshots read this: 
http://support.citrix.com/article/CTX122978. There is also explanation of 
Coalescing -- read it.
I personally don't like such a situation where you can't explicitly 
define the file you VM rely on, but this is how XenServer works. Unfortunately. 
 For instance I have 4 VM-s with 4 snapshots (total, not each)  and over 90+ 
files belongs to these VMs, because I did snapshots/deleted snapshots many 
times. They are not coalesced, because all of them are like fast-forward from 
origin, but still each step you do -- generates new VHD.  I believe there is 
some garbage there, but I can't clean it manually.  I do plan to 
export-uninstall-import these VM-s some time and then will see how it helps. As 
I understood only xe vm-uninstall should clean all the depended objects.  

Vadim.

-Original Message-
From: Alessandro Caviglione [mailto:c.alessan...@gmail.com] 
Sent: Monday, June 08, 2015 1:39 PM
To: users@cloudstack.apache.org
Subject: Re: Help in importing VM

Ok... I missed a couple of rows

location ( RO): 7b856647-9893-4275-8738-755046817c7b
type ( RO): User
sharable ( RO): false
   read-only ( RO): false
storage-lock ( RO): false
 managed ( RO): true
  parent ( RO): not in database
 missing ( RO): false
other-config (MRW):
   xenstore-data (MRO):
   sm-config (MRO): *vhd-parent:
65d3eb8e-76f1-4b37-965a-0d9ad3056645*
 on-boot ( RW): persist
   allow-caching ( RW): false
 metadata-latest ( RO): false
metadata-of-pool ( RO): not in database
tags (SRW):


Thank you very much!!



On Mon, Jun 8, 2015 at 12:29 PM, Alessandro Caviglione  
c.alessan...@gmail.com wrote:

 Thank you Vladim...
 but it's a little strange... I did snapshot on the original VM but 
 I've also created a new VM from that snapshot, this should clone the 
 entire vhd, isn't it?

 However, this is the results of the command, where I can see that this 
 VHD is still connected to the other VM?

  xe vdi-list uuid=7b856647-9893-4275-8738-755046817c7b params=all
 uuid ( RO): 7b856647-9893-4275-8738-755046817c7b
   name-label ( RW):
 name-description ( RW):
is-a-snapshot ( RO): false
  snapshot-of ( RO): not in database
snapshots ( RO):
snapshot-time ( RO): 19700101T00:00:00Z
   allowed-operations (SRO): forget; generate_config; update; 
 resize; destroy; clone; copy; snapshot
   current-operations (SRO):
  sr-uuid ( RO): e6212223-af2c-17ed-bdf3-7954fe500073
sr-name-label ( RO): 76ebfe94-cb9d-390d-bb6d-8dc21e977bdd
vbd-uuids (SRO): 1a47a516-1268-d134-7161-3d37972a2be6
  crashdump-uuids (SRO):
 virtual-size ( RO): 5368709120
 physical-utilisation ( RO): 14848

 On Mon, Jun 8, 2015 at 12:21 PM, Vadim Kimlaychuk  
 vadim.kimlayc...@elion.ee wrote:

 Hello Alessandro,



 This is OK if you did snapshot(s). The original VDI 
 will be displayed if you get VM params and looks for extra options 
 there. There are may be even more files connected to VM.  Don’t bother about 
 this.

 Roughly you should do the following steps:

 1.   Stop the VM

 2.   Make export  with “xe vm-export” to  XVA file

 3.   Extract VHD file from XVA using XenConvert (look here
 http://marcusdaniels.net/quick-and-easy-xenserver-to-hyper-v-conversi
 on/)

 4.   Put VHD file on HTTP server

 5.   Register template in Cloudstack from URL at p.4



 Vadim.



 -Original Message-
 From: Alessandro Caviglione [mailto:c.alessan...@gmail.com]
 Sent: Monday, June 08, 2015 1:12 PM
 To: users@cloudstack.apache.org
 Subject: Help in importing VM



 Hi guys,

 I've a little question about how to import a VM in ACS.

 A my client has a VM running on XenServer 6.2 SP1, now he wants to 
 migrate to our Cloud platform and we should import that VM in his account.

 We done a snapshot of the running VM and created a new VM from that 
 snapshot, after that we found the VHD name from the commands:



 xe vm-list name-label=TOMIGRATE

 uuid ( RO)   : 9ab667ef-32b9-d61b-73ef-4d6c40196c43

  name-label ( RW): TOMIGRATE

 power-state ( RO): halted





 xe vm-disk-list uuid=9ab667ef-32b9-d61b-73ef-4d6c40196c43

 Disk 0 VBD:

 uuid ( RO) : 1a47a516-1268-d134-7161-3d37972a2be6

 vm-name-label ( RO): TOMIGRATE

userdevice ( RW): 0





 Disk 0 VDI:

 uuid ( RO) : 7b856647-9893-4275-8738-755046817c7b

   name-label ( RW):

 sr-name-label ( RO): 76ebfe94-cb9d-390d-bb6d-8dc21e977bdd

  virtual-size ( RO): 5368709120



 Now, browsing the NFS SR, I found the

 7b856647-9893-4275-8738

RE: Help in importing VM

2015-06-08 Thread Vadim Kimlaychuk
Hello Alessandro,



This is OK if you did snapshot(s). The original VDI will be 
displayed if you get VM params and looks for extra options there. There are may 
be even more files connected to VM.  Don’t bother about this.

Roughly you should do the following steps:

1.   Stop the VM

2.   Make export  with “xe vm-export” to  XVA file

3.   Extract VHD file from XVA using XenConvert (look here 
http://marcusdaniels.net/quick-and-easy-xenserver-to-hyper-v-conversion/)

4.   Put VHD file on HTTP server

5.   Register template in Cloudstack from URL at p.4



Vadim.



-Original Message-
From: Alessandro Caviglione [mailto:c.alessan...@gmail.com]
Sent: Monday, June 08, 2015 1:12 PM
To: users@cloudstack.apache.org
Subject: Help in importing VM



Hi guys,

I've a little question about how to import a VM in ACS.

A my client has a VM running on XenServer 6.2 SP1, now he wants to migrate to 
our Cloud platform and we should import that VM in his account.

We done a snapshot of the running VM and created a new VM from that snapshot, 
after that we found the VHD name from the commands:



xe vm-list name-label=TOMIGRATE

uuid ( RO)   : 9ab667ef-32b9-d61b-73ef-4d6c40196c43

 name-label ( RW): TOMIGRATE

power-state ( RO): halted





xe vm-disk-list uuid=9ab667ef-32b9-d61b-73ef-4d6c40196c43

Disk 0 VBD:

uuid ( RO) : 1a47a516-1268-d134-7161-3d37972a2be6

vm-name-label ( RO): TOMIGRATE

   userdevice ( RW): 0





Disk 0 VDI:

uuid ( RO) : 7b856647-9893-4275-8738-755046817c7b

  name-label ( RW):

sr-name-label ( RO): 76ebfe94-cb9d-390d-bb6d-8dc21e977bdd

 virtual-size ( RO): 5368709120



Now, browsing the NFS SR, I found the

7b856647-9893-4275-8738-755046817c7b.vhd file, but it's strange that the size 
it's just 14 KB!!



Why?


RE: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Vadim Kimlaychuk
Hello Jeff,

Actually to reset password you need to power-off VM first. Then after 
start-up it picks up new password from VR.  
   If you create VM from password-enabled template then you should 
get it immediately upon VM start-up. 

Whether Windows have to log-in automatically or not -- depends on 
windows OS settings. This issue seems does not belong to Cloudstack or KVM 
hypervisor. Check your template OS.

I don't see any problems related to CS  here. 

Vadim.

-Original Message-
From: Jeff Hair [mailto:j...@greenqloud.com] 
Sent: Tuesday, June 02, 2015 12:57 PM
To: users@cloudstack.apache.org
Subject: Cloud Instance Manager only sets password after reboot on Windows 2012 
R2

Hi,

We're building a Windows 2012 template on KVM. It works fine except that it 
only sets the password for the VM after rebooting it once. When the machine 
first starts up, there is garbled output in the Cloud Instance Manager logs. 
For example Added DHCP server: i#x

After rebooting the machine, Cloud Instance Manager works and the password is 
set.

Also on the first boot it is trying to auto-login but failing with the wrong 
password, if that helps.

Any ideas?

Thanks,

Jeff


RE: Cloud Instance Manager only sets password after reboot on Windows 2012 R2

2015-06-02 Thread Vadim Kimlaychuk
Jeff,

Try to reset password for existing VM. Will it take 2 reboots?   
There is may be a problem with Cloud Instance Manager. It is quite old 
- as I have checked at 
http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/
  it is almost 4 years old. 

Vadim.

-Original Message-
From: Jeff Hair [mailto:j...@greenqloud.com] 
Sent: Tuesday, June 02, 2015 1:15 PM
To: users@cloudstack.apache.org
Subject: Re: Cloud Instance Manager only sets password after reboot on Windows 
2012 R2

Hi,

This is specifically for when the VM first starts up. Don't think it is 
specifically a CloudStack problem, it's more of a question about how to 
properly configure the Cloud Instance Manager. Basically when the machine first 
starts up, it tries to auto-login (despite no registry setting for that), but 
fails due to invalid password. The password to log in is the default password 
from when I created the template. Cloud Instance Manager has the garbled output 
I described in the first post. If I reboot the machine, it starts up and Cloud 
Instance Manager works fine, and thus I can log in with the CloudStack-set 
password.

On Tue, Jun 2, 2015 at 10:11 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Hello Jeff,

 Actually to reset password you need to power-off VM first. 
 Then after start-up it picks up new password from VR.
If you create VM from password-enabled template then 
 you should get it immediately upon VM start-up.

 Whether Windows have to log-in automatically or not -- depends 
 on windows OS settings. This issue seems does not belong to Cloudstack 
 or KVM hypervisor. Check your template OS.

 I don't see any problems related to CS  here.

 Vadim.

 -Original Message-
 From: Jeff Hair [mailto:j...@greenqloud.com]
 Sent: Tuesday, June 02, 2015 12:57 PM
 To: users@cloudstack.apache.org
 Subject: Cloud Instance Manager only sets password after reboot on 
 Windows
 2012 R2

 Hi,

 We're building a Windows 2012 template on KVM. It works fine except 
 that it only sets the password for the VM after rebooting it once. 
 When the machine first starts up, there is garbled output in the Cloud 
 Instance Manager logs. For example Added DHCP server: i#x

 After rebooting the machine, Cloud Instance Manager works and the 
 password is set.

 Also on the first boot it is trying to auto-login but failing with the 
 wrong password, if that helps.

 Any ideas?

 Thanks,

 Jeff




--
*Jeff Hair*
Core Systems Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


RE: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

2015-05-26 Thread Vadim Kimlaychuk
After upgrade we have a serious problem with VR for shared guest network. It 
seem everything is working OK, but after a while we got these errors on system 
console:

Domain routerCommand: com.cloud.agent.api.Command failed while ...25 May 2015 
16:58:08
Domain routerUnable to restart r-30-VM which was running on hos...availability 
zone: ZoneX: Pod 1

After VR restart everything goes back for a while (~ 3-4 min) and then problem 
comes back. VR is slow. Logging into VR from host for troubleshooting takes 
around 30 sec.  All the VM-s in guest network are also slow because of the 
network. Network restart has failed. VR restart does not give anything. Inside 
VR even simple tasks like ps ax or top take seconds.  

Do you have any ideas why that can happen?

Vadim.


-Original Message-
From: Jan-Arve Nygård [mailto:jan.arve.nyg...@gmail.com] 
Sent: Thursday, May 21, 2015 1:05 AM
To: users@cloudstack.apache.org
Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

We have tested upgrading to XS 6.5 SP1 with CloudStack 4.5.1 and we didn't run 
into any issues. We tested the following without any problems:

Start of existing VM
Deploy VM
Destroy VM
Attach ISO
Detach ISO
Snapshot of VM
Live migration of VM to another host
Storage migration to another SR
Add NIC
Remove NIC

And probably some other stuff that i don't remember right now.


-thinktwo

2015-05-20 21:17 GMT+02:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 I am planning to do it within a couple of days.  Will let you know

 Vadim.
 
 From: Jan-Arve Nygård jan.arve.nyg...@gmail.com
 Sent: Wednesday, May 20, 2015 15:38
 To: users@cloudstack.apache.org
 Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

 I guess it wouldn't be a problem, but I'm also interested if someone 
 has tested and verified this yet.

 2015-05-19 14:57 GMT+02:00 Ian Service iserv...@ts2.ca:

  The release notes for CS 4.5.1 don't specifically list XenServer 6.5 
  SP1 compatibility, likely because they overlapped in release 
  timelines.  Are there any compatibility concerns between the two latest 
  versions of each?
 
  Thanks,
 
  - Ian
 



RE: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

2015-05-26 Thread Vadim Kimlaychuk
More tests shows that VR is totally broken.  I have created new isolated 
network with SNAT and was not able to ping even VR public IP.  VM was not 
pinging as well.
From the other side VPC networks are working correctly.  Can someone answer the 
question -- which way those VM-s are different?

Vadim.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Tuesday, May 26, 2015 9:48 AM
To: users@cloudstack.apache.org
Subject: RE: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

After upgrade we have a serious problem with VR for shared guest network. It 
seem everything is working OK, but after a while we got these errors on system 
console:

Domain routerCommand: com.cloud.agent.api.Command failed while ...25 May 2015 
16:58:08 Domain routerUnable to restart r-30-VM which was running on 
hos...availability zone: ZoneX: Pod 1

After VR restart everything goes back for a while (~ 3-4 min) and then problem 
comes back. VR is slow. Logging into VR from host for troubleshooting takes 
around 30 sec.  All the VM-s in guest network are also slow because of the 
network. Network restart has failed. VR restart does not give anything. Inside 
VR even simple tasks like ps ax or top take seconds.  

Do you have any ideas why that can happen?

Vadim.


-Original Message-
From: Jan-Arve Nygård [mailto:jan.arve.nyg...@gmail.com]
Sent: Thursday, May 21, 2015 1:05 AM
To: users@cloudstack.apache.org
Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

We have tested upgrading to XS 6.5 SP1 with CloudStack 4.5.1 and we didn't run 
into any issues. We tested the following without any problems:

Start of existing VM
Deploy VM
Destroy VM
Attach ISO
Detach ISO
Snapshot of VM
Live migration of VM to another host
Storage migration to another SR
Add NIC
Remove NIC

And probably some other stuff that i don't remember right now.


-thinktwo

2015-05-20 21:17 GMT+02:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 I am planning to do it within a couple of days.  Will let you know

 Vadim.
 
 From: Jan-Arve Nygård jan.arve.nyg...@gmail.com
 Sent: Wednesday, May 20, 2015 15:38
 To: users@cloudstack.apache.org
 Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

 I guess it wouldn't be a problem, but I'm also interested if someone 
 has tested and verified this yet.

 2015-05-19 14:57 GMT+02:00 Ian Service iserv...@ts2.ca:

  The release notes for CS 4.5.1 don't specifically list XenServer 6.5
  SP1 compatibility, likely because they overlapped in release 
  timelines.  Are there any compatibility concerns between the two latest 
  versions of each?
 
  Thanks,
 
  - Ian
 



Re: Performance problem within SSVM

2015-05-26 Thread Vadim Kimlaychuk
Can it be network problem? What does your routing table say ?  

Vadim.

From: Vladislav Nazarenko vladislav.nazare...@gmail.com
Sent: Tuesday, May 26, 2015 20:55
To: users@cloudstack.apache.org
Subject: Performance problem within SSVM

Hi Everybody,

I'm expierencing some performance problems with SSVM.

/usr/local/cloud/systemvm/ssvm-check.sh shows no problems

When the agent is running, I see 100% of io-wait.
secondary storage is mounted, but due to the io-wait, I can not access it

When I stop the agent(/etc/init.d/cloud stop), I can easily access the
nfs mount. I also tried to download images manually (curl), works good.


the physical host hos not IO problems
/etc/exports:
/storage   10.0.40.0/24(rw,async,no_root_squash,no_subtree_check)

Mount in the SSVM:
10.0.40.10:/storage/secondary on
/mnt/SecStorage/0405ba30-38b9-349d-9ea4-15ea09d67e09 type nfs
(rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,timeo=133,retrans=2147483647,sec=sys,mountaddr=10.0.40.10,mountvers=3,mountport=892,mountproto=tcp,local_lock=none,addr=10.0.40.10)


Cloudtack: 4.4.3 on centos 7


Please advice what to check
Vlad



[Solved] Compatibility of CS 4.5.1 with XenServer 6.5 SP1

2015-05-26 Thread Vadim Kimlaychuk
I have to admit that network created from the scratch works as expected. I 
could not reproduce the issue. Some VM-s has to be re-crated from the scratch 
as well to be able to work at VPC correctly. So I have resolved all the issues 
and will blame HA, cause after hosts update no VM-s were restarted. I used 
migration between hosts at runtime so update went without client VM shutdown.

Vadim.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Tuesday, May 26, 2015 11:30 AM
To: users@cloudstack.apache.org
Subject: RE: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

More tests shows that VR is totally broken.  I have created new isolated 
network with SNAT and was not able to ping even VR public IP.  VM was not 
pinging as well.
From the other side VPC networks are working correctly.  Can someone answer the 
question -- which way those VM-s are different?

Vadim.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee]
Sent: Tuesday, May 26, 2015 9:48 AM
To: users@cloudstack.apache.org
Subject: RE: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

After upgrade we have a serious problem with VR for shared guest network. It 
seem everything is working OK, but after a while we got these errors on system 
console:

Domain routerCommand: com.cloud.agent.api.Command failed while ...25 May 2015 
16:58:08 Domain routerUnable to restart r-30-VM which was running on 
hos...availability zone: ZoneX: Pod 1

After VR restart everything goes back for a while (~ 3-4 min) and then problem 
comes back. VR is slow. Logging into VR from host for troubleshooting takes 
around 30 sec.  All the VM-s in guest network are also slow because of the 
network. Network restart has failed. VR restart does not give anything. Inside 
VR even simple tasks like ps ax or top take seconds.  

Do you have any ideas why that can happen?

Vadim.


-Original Message-
From: Jan-Arve Nygård [mailto:jan.arve.nyg...@gmail.com]
Sent: Thursday, May 21, 2015 1:05 AM
To: users@cloudstack.apache.org
Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

We have tested upgrading to XS 6.5 SP1 with CloudStack 4.5.1 and we didn't run 
into any issues. We tested the following without any problems:

Start of existing VM
Deploy VM
Destroy VM
Attach ISO
Detach ISO
Snapshot of VM
Live migration of VM to another host
Storage migration to another SR
Add NIC
Remove NIC

And probably some other stuff that i don't remember right now.


-thinktwo

2015-05-20 21:17 GMT+02:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 I am planning to do it within a couple of days.  Will let you know

 Vadim.
 
 From: Jan-Arve Nygård jan.arve.nyg...@gmail.com
 Sent: Wednesday, May 20, 2015 15:38
 To: users@cloudstack.apache.org
 Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

 I guess it wouldn't be a problem, but I'm also interested if someone 
 has tested and verified this yet.

 2015-05-19 14:57 GMT+02:00 Ian Service iserv...@ts2.ca:

  The release notes for CS 4.5.1 don't specifically list XenServer 6.5
  SP1 compatibility, likely because they overlapped in release 
  timelines.  Are there any compatibility concerns between the two latest 
  versions of each?
 
  Thanks,
 
  - Ian
 



RE: A little lesson about Snapshots

2015-05-25 Thread Vadim Kimlaychuk
Hi, Alessandro

  I would recommend you to read this article: 
http://support.citrix.com/article/CTX122978 Note parts about VDI remapping.  
I would probably do this way:  remove all snapshots to be able to coalesce 
VDI-s (look for Advanced Coalescing Scenarios chapter). Than CS should see VM 
and their disks with original UUID-s. Then you can create snapshots using CS 
interface.

Vadim.

-Original Message-
From: Alessandro Caviglione [mailto:c.alessan...@gmail.com] 
Sent: Saturday, May 23, 2015 3:36 PM
To: users@cloudstack.apache.org
Subject: A little lesson about Snapshots

...so guys, let me tell you my little adventure with snapshots.
Our environment is ACS 4.4.2 with XS6.2SP1.
Yesterday we done some activities on a customer's server, foolishly we have 
XenCenter interface already opened and we took a couple of snapshot during our 
activities.
At the end, we've to change the service offering of the server, so we opened 
ACS web interface, stopped the instance and change service offering.
When we start again the server the instance would not start... in ACS logs we 
see:

Catch Exception
com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid:
x failed due to The uuid you supplied was invalid.

After google a little, we understood that we stopped the instance with a couple 
of active snapshots took from XenCenter instead of ACS.
So... maybe, in ACS db there was a wrong uuid of the Root Disk of the 
instance...
In fact, in Volume table of ACS db we see that path record for that 
instance was different from the one we see in xe vdi-list in XenServer.
So, this was our situation in XenServer:

uuid ( RO): 0345bbf9-be9c-45ae-80e7-fa5fff31625b
name-label ( RW): ROOT-136
snapshot-of ( RO): a0de7625-f98a-4443-a13f-6c9577c2d958
snapshot-time ( RO): 20150522T21:20:39Z
sm-config (MRO): vhd-parent: 9ffe5381-5a0e-4e7c-8614-e19318d9dec9


uuid ( RO): cf50f4ba-05b9-46f9-85e4-f1ac82cdb6b4
name-label ( RW): ROOT-136
snapshot-of ( RO): a0de7625-f98a-4443-a13f-6c9577c2d958
snapshot-time ( RO): 20150522T12:49:44Z
sm-config (MRO): vhd-parent: 083364dc-b43e-401b-ab73-1959a23a9d1

uuid ( RO): a0de7625-f98a-4443-a13f-6c9577c2d958
name-label ( RW): ROOT-136
snapshot-of ( RO): not in database
snapshots ( RO): 0345bbf9-be9c-45ae-80e7-fa5fff31625b;
cf50f4ba-05b9-46f9-85e4-f1ac82cdb6b4

Now, I need to understand a couple of things...
First of all... how Snapshots works??
Instinctively we change the path record in ACS db with the first one 
(0345bbf9-be9c-45ae-80e7-fa5fff31625b), you can see that snapshot-time is later 
than others.
When instance started we see that was not tha last situation of the 
instance... so we stopped again and changed path record with the 
a0de7625-f98a-4443-a13f-6c9577c2d958.
So far so good, now the instance was in the last situation and all works fine!!
Now... why the last situation was in the ROOT DISK that is has not parent 
snapshot?
I thought that last Snapshot ROOT DISK has the last instance situation...

Second... since now the instance is running fine but nor in ACS, nor in 
XenCenter we can see any Snapshot (that in fact there are two), how can we 
delete those Snapshots??

Thank you!!


VPC: ACL rule removal

2015-05-25 Thread Vadim Kimlaychuk
Hello all,

I couldn’t find “delete” ACL rule button or link. I am able to 
create new ACL rules for VPC, but not delete them. Is it supposed to be like 
that?

Regards,

Vadim



[Solved] ACL rule removal

2015-05-25 Thread Vadim Kimlaychuk
I have found that only cloud administrator can delete custom ACL rule. Domain 
admin user can only add.  That is a bit weird.

Vadim.

-Original Message-
From: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Sent: Monday, May 25, 2015 2:33 PM
To: users@cloudstack.apache.org
Subject: VPC: ACL rule removal

Hello all,

I couldn’t find “delete” ACL rule button or link. I am able to 
create new ACL rules for VPC, but not delete them. Is it supposed to be like 
that?

Regards,

Vadim



Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

2015-05-20 Thread Vadim Kimlaychuk
I am planning to do it within a couple of days.  Will let you know

Vadim.

From: Jan-Arve Nygård jan.arve.nyg...@gmail.com
Sent: Wednesday, May 20, 2015 15:38
To: users@cloudstack.apache.org
Subject: Re: Compatibility of CS 4.5.1 with XenServer 6.5 SP1

I guess it wouldn't be a problem, but I'm also interested if someone has
tested and verified this yet.

2015-05-19 14:57 GMT+02:00 Ian Service iserv...@ts2.ca:

 The release notes for CS 4.5.1 don't specifically list XenServer 6.5 SP1
 compatibility, likely because they overlapped in release timelines.  Are
 there any compatibility concerns between the two latest versions of each?

 Thanks,

 - Ian



Re: Incorrect Network setup on agent

2015-05-19 Thread Vadim Kimlaychuk
Vlad,

  You should provide a little bit more than that.  At least the 
following:
1. Hypervisor type and version. 
2. Network setup (physical and logical). In brief. I guess you use KVM, so do 
you have openvswitch or do you use linux bridge?
3. Cloudstack version and type of zone you are trying to configure (basic, 
advanced) ?
4. Agent conf file would be also great

Vadim

From: Vladislav Nazarenko vladislav.nazare...@gmail.com
Sent: Tuesday, May 19, 2015 19:09
To: users@cloudstack.apache.org
Subject: Incorrect Network setup on agent

Hi Everybody,

getting the following error trying to install a cloudstack agent. Can
anybody help?

Incorrect Network setup on agent, Reinitialize agent after network names
are setup, details : Can not find network: mgmtbr

Please advice
Vlad



  1   2   3   >