urgent help required for advanced zone: DHCP issue

2014-12-12 Thread Tejas Sheth
Hello,

  I have deployed advanced zone and deployed windows 2008 VM instance. The
VM instance is connected to isolated network.

 The issue is none of the VMs are getting dhcp address from virtual router.
I tried to restart virtual router but still no DHCP address from vRouter.

Any suggestion?

Thanks,
Tejas


Re: urgent help required for advanced zone: DHCP issue

2014-12-12 Thread Erik Weber
On Fri, Dec 12, 2014 at 9:30 AM, Tejas Sheth tshet...@gmail.com wrote:

 Hello,

   I have deployed advanced zone and deployed windows 2008 VM instance. The
 VM instance is connected to isolated network.

  The issue is none of the VMs are getting dhcp address from virtual router.
 I tried to restart virtual router but still no DHCP address from vRouter.

 Any suggestion?



1) Has it previously worked or is this a new network?
2) Log on to the VR, and verify that dnsmasq is running, and that there is
free space on all partitions
3) On the VR, start tcpdump and see if it receives and/or sends traffic
(command: tcpdump -nn -v -X -A port 68)
4) If you cannot see the traffic in point three, try setting a static ip on
the guest and check if you can ping the VR
5) What is your cloudstack version, hypervisor type, hypervisor version,
network isolation type?

If point 3 or 4 fails it might be a network configuration issue, missing
trunk ports or similar, depending on isolation type.

-- 
Erik


Shared Storage for VMs

2014-12-12 Thread Jochim, Ingo
Hi all,

I'd like to discuss my feature request for having shared storage for several 
virtual machines controlled by ACS.
https://issues.apache.org/jira/browse/CLOUDSTACK-7970
Any ideas about this? Are there workarounds which I can used today?

Many thanks in advance.
Regards,
Ingo


Re: Export VMs

2014-12-12 Thread benoit lair
In practice, it works.

I had to do this in order to get back a template that i want to use with a
xencenter's managed xenserver pool.

2014-12-12 8:26 GMT+01:00 Vadim Kimlaychuk vadim.kimlayc...@elion.ee:

 For XenServer it will be VHD files.  Make Template from VM, download it,
 import it and re-create VM from template. Should work theoretically.

 Vadim.

 -Original Message-
 From: Billy Ramsay [mailto:bram...@dynamicquest.com]
 Sent: Thursday, December 11, 2014 10:35 PM
 To: users@cloudstack.apache.org
 Subject: Export VMs

 Greetings all!

 We currently have a XenServer 6.1 pool being managed by a CloudStack 4.1.1
 deployment. We have a client that would like to export a number of VMs so
 they can import them into their own XenServer pool. What would be the best
 way to accomplish this? I know that I can download individual volumes. Can
 CloudStack export VMs as OVFs or similar? The only reference to exporting I
 can find in the documentation is for templates. The section on exporting
 templates does not state what format they can be exported in.

 Thanks in advance,


 Billy Ramsay





Re: urgent help required for advanced zone: DHCP issue

2014-12-12 Thread Tejas Sheth
Thanks Erik,

  Its RESOLVED. it turnedout to be an network switch issue. Blade switch
was configured with vlans so vms were pining in single blade chassie but*
cloud vlans were not configured in Lan switches* so traffic was not able to
go outside. my virtual router was in different blade chassie therefore it
was not able to take dhcp address.

  I am started facing another issue in shared network: when i added
additional *shared network*  to VM it was *not able take DHCP address from
shared network ip pool*.
Do we have to assign ip mannualy or any settings required?

Thanks,
Tejas

On Fri, Dec 12, 2014 at 2:21 PM, Erik Weber terbol...@gmail.com wrote:

 On Fri, Dec 12, 2014 at 9:30 AM, Tejas Sheth tshet...@gmail.com wrote:
 
  Hello,
 
I have deployed advanced zone and deployed windows 2008 VM instance.
 The
  VM instance is connected to isolated network.
 
   The issue is none of the VMs are getting dhcp address from virtual
 router.
  I tried to restart virtual router but still no DHCP address from vRouter.
 
  Any suggestion?
 


 1) Has it previously worked or is this a new network?
 2) Log on to the VR, and verify that dnsmasq is running, and that there is
 free space on all partitions
 3) On the VR, start tcpdump and see if it receives and/or sends traffic
 (command: tcpdump -nn -v -X -A port 68)
 4) If you cannot see the traffic in point three, try setting a static ip on
 the guest and check if you can ping the VR
 5) What is your cloudstack version, hypervisor type, hypervisor version,
 network isolation type?

 If point 3 or 4 fails it might be a network configuration issue, missing
 trunk ports or similar, depending on isolation type.

 --
 Erik



Quota Usage

2014-12-12 Thread Jochim, Ingo
Is there a way (in ACS 4.2) to find out the current quota usage of a project?

Thanks,
Ingo


can't add a host to cloudstack.

2014-12-12 Thread richard.panf
HI,
I try to add a host in cloudstack client UI,but failed.The error message is 
“unable to add a host
My hypervisor is vmware exsi 5.5


How can I do now?

thank you !

Richard
2014.12.12

Re: Shared Storage for VMs

2014-12-12 Thread Andrija Panic
Drbd and gfs2 or something?

Sent from Google Nexus 4
On Dec 12, 2014 10:00 AM, Jochim, Ingo ingo.joc...@bautzen-it.de wrote:

 Hi all,

 I'd like to discuss my feature request for having shared storage for
 several virtual machines controlled by ACS.
 https://issues.apache.org/jira/browse/CLOUDSTACK-7970
 Any ideas about this? Are there workarounds which I can used today?

 Many thanks in advance.
 Regards,
 Ingo



Re: Shared Storage for VMs

2014-12-12 Thread Alessandro Caviglione
Just use a Unified Storage and export volumes to VMs...

On Fri, Dec 12, 2014 at 11:39 AM, Andrija Panic andrija.pa...@gmail.com
wrote:

 Drbd and gfs2 or something?

 Sent from Google Nexus 4
 On Dec 12, 2014 10:00 AM, Jochim, Ingo ingo.joc...@bautzen-it.de
 wrote:

  Hi all,
 
  I'd like to discuss my feature request for having shared storage for
  several virtual machines controlled by ACS.
  https://issues.apache.org/jira/browse/CLOUDSTACK-7970
  Any ideas about this? Are there workarounds which I can used today?
 
  Many thanks in advance.
  Regards,
  Ingo
 



Re: urgent help required for advanced zone: DHCP issue

2014-12-12 Thread Erik Weber
On Fri, Dec 12, 2014 at 11:22 AM, Tejas Sheth tshet...@gmail.com wrote:

 Thanks Erik,

   Its RESOLVED. it turnedout to be an network switch issue. Blade switch
 was configured with vlans so vms were pining in single blade chassie but*
 cloud vlans were not configured in Lan switches* so traffic was not able to
 go outside. my virtual router was in different blade chassie therefore it
 was not able to take dhcp address.

   I am started facing another issue in shared network: when i added
 additional *shared network*  to VM it was *not able take DHCP address from
 shared network ip pool*.
 Do we have to assign ip mannualy or any settings required?


IIRC DHCP should work if you chose a network offering that has it.

Double check which physical network you chose, for shared network it is
possible to use public or anything else defined and just not guest network.
Basically do the same checks as you did for the isolated network.

-- 
Erik


Re: can't add a host to cloudstack.

2014-12-12 Thread Erik Weber
On Fri, Dec 12, 2014 at 11:32 AM, richard.panf richard.p...@gmail.com
wrote:

 HI,
 I try to add a host in cloudstack client UI,but failed.The error message
 is “unable to add a host
 My hypervisor is vmware exsi 5.5


Could you paste your management logs on pastebin or similar?


-- 
Erik


AW: Shared Storage for VMs

2014-12-12 Thread Jochim, Ingo
But this is completely outside of CS. I prefer to have something controlled by 
CS to have centralized management and quota/usage functionality.

-Ursprüngliche Nachricht-
Von: Alessandro Caviglione [mailto:c.alessan...@gmail.com] 
Gesendet: Freitag, 12. Dezember 2014 11:44
An: users@cloudstack.apache.org
Betreff: Re: Shared Storage for VMs

Just use a Unified Storage and export volumes to VMs...

On Fri, Dec 12, 2014 at 11:39 AM, Andrija Panic andrija.pa...@gmail.com
wrote:

 Drbd and gfs2 or something?

 Sent from Google Nexus 4
 On Dec 12, 2014 10:00 AM, Jochim, Ingo ingo.joc...@bautzen-it.de
 wrote:

  Hi all,
 
  I'd like to discuss my feature request for having shared storage for 
  several virtual machines controlled by ACS.
  https://issues.apache.org/jira/browse/CLOUDSTACK-7970
  Any ideas about this? Are there workarounds which I can used today?
 
  Many thanks in advance.
  Regards,
  Ingo
 


--
This email was Virus checked by Astaro Security Gateway. http://www.sophos.com


Re: can't add a host to cloudstack.

2014-12-12 Thread Tejas Sheth
What is the version of Cloudstack you are using?
correct me if i am wrong, I think 4.3 does not support vmware 5.5 and i am
not sure about CS 4.4.1

Thanks,
Tejas

On Fri, Dec 12, 2014 at 4:24 PM, Erik Weber terbol...@gmail.com wrote:

 On Fri, Dec 12, 2014 at 11:32 AM, richard.panf richard.p...@gmail.com
 wrote:
 
  HI,
  I try to add a host in cloudstack client UI,but failed.The error message
  is “unable to add a host
  My hypervisor is vmware exsi 5.5
 
 
 Could you paste your management logs on pastebin or similar?


 --
 Erik



Re: urgent help required for advanced zone: DHCP issue

2014-12-12 Thread Tejas Sheth
Hello,

 I restarted the network service in virtual router and now vms are able to
get DHCP address.

Thanks,
Tejas

On Fri, Dec 12, 2014 at 4:23 PM, Erik Weber terbol...@gmail.com wrote:

 On Fri, Dec 12, 2014 at 11:22 AM, Tejas Sheth tshet...@gmail.com wrote:
 
  Thanks Erik,
 
Its RESOLVED. it turnedout to be an network switch issue. Blade switch
  was configured with vlans so vms were pining in single blade chassie but*
  cloud vlans were not configured in Lan switches* so traffic was not able
 to
  go outside. my virtual router was in different blade chassie therefore it
  was not able to take dhcp address.
 
I am started facing another issue in shared network: when i added
  additional *shared network*  to VM it was *not able take DHCP address
 from
  shared network ip pool*.
  Do we have to assign ip mannualy or any settings required?
 

 IIRC DHCP should work if you chose a network offering that has it.

 Double check which physical network you chose, for shared network it is
 possible to use public or anything else defined and just not guest network.
 Basically do the same checks as you did for the isolated network.

 --
 Erik



Re: Any more CloudMonkey improvements you want to see?

2014-12-12 Thread Rohit Yadav

Hi Logan,


On Thursday 11 December 2014 11:51 PM, Logan Barfield wrote:

Hi Rohit,

Another small improvement I just thought about:  When using tab completion
to list the arguments, have the required arguments bolded.

I know you can already see the required arguments with help, but if it's
not a lot of effort to implement having them marked with tab completion
would be great.


During tab completion to make text bold on VT100/XTerm ($TERM) based
terminals we will need to first make sure that color is set to true,
boldness on terminal is achieved using special escape characters doing
that when the text change dynamically (as you press tab tab) is tricky
and can cause issues so I've avoided such text/color effects.

I'm planning to refactor cloudmonkey in future so that people will be
able to write them own plugins for cloudmonkey ( that would control
color output, themes, output formats etc). With that aim I want to keep
the tool simple and not do a lot of things.

Thanks for the suggestions, keep them coming!




Thank You,

Logan Barfield
Tranquil Hosting

On Tue, Dec 9, 2014 at 10:41 AM, Logan Barfield lbarfi...@tqhosting.com
wrote:


Hi Rohit,

The only thing I can think of is offering descriptions for UUIDs for
more of the arguments when using tab completion (like it does not with
template names).  This really helps avoid having to look in the GUI or
make other calls all the time.

Off the top of my head, match the publicipid UUID to an IP address,
for example:

create remoteaccessvpn publicipid=tab

abcdefg-123456-abcde...   100.100.100.100
hijklmno-789011-hijklm...   100.100.100.101

Thank You,

Logan Barfield
Tranquil Hosting


On Tue, Dec 9, 2014 at 8:00 AM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

Hi everyone,

Thanks for your suggestions and improvements so far. For a timely 5.3.1
release I want to start the release process for 5.3.1 bugfix release
this week, anyone wants to report any bugs or share improvement ideas?

CHANGES for 5.3.1 so far:
https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md



Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related

services


IaaS Cloud Design 
Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training
Courseshttp://shapeblue.com/cloudstack-training/

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.






--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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 

Re: Any more CloudMonkey improvements you want to see?

2014-12-12 Thread Rohit Yadav

Hi Logan,

CloudMonkey does not handle requests on each API basis so it's hard to
know what to display besides the uuid values during autocompletion. So,
I implemented in such a way to look for a key like name or
description and print that besides uuid. This helps cloudmonkey to
automatically deal with any new API as they are discovered.

The only way to fix such cases would be to deal with them case by case
basis but that makes the code complex. It a general issue for all APIs,
I'll explore in future if there are ways to automatically deal with such
cases.

On Tuesday 09 December 2014 09:11 PM, Logan Barfield wrote:

Hi Rohit,

The only thing I can think of is offering descriptions for UUIDs for
more of the arguments when using tab completion (like it does not with
template names).  This really helps avoid having to look in the GUI or
make other calls all the time.

Off the top of my head, match the publicipid UUID to an IP address,
for example:

create remoteaccessvpn publicipid=tab

abcdefg-123456-abcde...   100.100.100.100
hijklmno-789011-hijklm...   100.100.100.101

Thank You,

Logan Barfield
Tranquil Hosting


On Tue, Dec 9, 2014 at 8:00 AM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

Hi everyone,

Thanks for your suggestions and improvements so far. For a timely 5.3.1
release I want to start the release process for 5.3.1 bugfix release
this week, anyone wants to report any bugs or share improvement ideas?

CHANGES for 5.3.1 so far:
https://github.com/apache/cloudstack-cloudmonkey/blob/master/CHANGES.md



Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design 
Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training
Courseshttp://shapeblue.com/cloudstack-training/

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.


--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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.


Template Creations - 2 disks

2014-12-12 Thread Matthew Midgett
Can someone correct me if I am wrong but when you make a template out of a
running VM that has 2 disks it will only make the template with one of the
HD. 



Re: Template Creations - 2 disks

2014-12-12 Thread Andrija Panic
Actualy, it is not really VM template, it is VOlume template technicaly :)
so you click on some volume, and then convert to template

On 12 December 2014 at 16:48, Matthew Midgett 
clouds...@trick-solutions.com.invalid wrote:

 Can someone correct me if I am wrong but when you make a template out of a
 running VM that has 2 disks it will only make the template with one of the
 HD.




-- 

Andrija Panić


RE: Template Creations - 2 disks

2014-12-12 Thread Matthew Midgett
Yes but what happens if I want to create an template from an instance with 2
volumes ? How do you do that?

-Original Message-
From: Matthew Midgett [mailto:clouds...@trick-solutions.com.INVALID] 
Sent: Friday, December 12, 2014 10:48 AM
To: users@cloudstack.apache.org
Subject: Template Creations - 2 disks

Can someone correct me if I am wrong but when you make a template out of a
running VM that has 2 disks it will only make the template with one of the
HD. 




Re: Quota Usage

2014-12-12 Thread ilya musayev

Do you mean whats being used or what is allocated?

On 12/12/14, 2:21 AM, Jochim, Ingo wrote:

Is there a way (in ACS 4.2) to find out the current quota usage of a project?

Thanks,
Ingo




Re: Not able to upload templates: Connection timed out

2014-12-12 Thread Vladislav Nazarenko

Somesh,

thanx a lot. It did help!

On 11.12.2014 21:05, Somesh Naidu wrote:

So... how can I change the password or install an ssh pub key?

You can do either,
1. create a VM from that template, customize it, like change passwd etc and 
then created a template out of it 
(https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-template-from-existing-vm.html)
2. upload a ssh keypair and assign it to the VM 
(https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/using-sshkeys.html)

In addition, you could also a template as password enabled so cloudstack can be 
used to manage/reset the password 
(https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/add-password-management-to-templates.html)

Hope that helps.

-Original Message-
From: Vladislav Nazarenko [mailto:vladislav.nazare...@gmail.com]
Sent: Thursday, December 11, 2014 1:29 PM
To: users@cloudstack.apache.org
Subject: Re: Not able to upload templates: Connection timed out

Guys ...

Tejas, Tilak, Somesh,

thanx a lot! With your workarounds I was able to login to SSVM, find the
reason and upload an image!!!

So I can now create instances now ...

May be one more question ... I downloaded a template (centos) from hier
http://dl.openvm.eu/cloudstack/centos/vanilla/6/x86_64/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2

It looks like the rootpw is password (according to the kickstart
http://dl.openvm.eu/cloudstack/centos/ks/vanilla/6/security.ks)

So... how can I change the password or install an ssh pub key?

Thank you in advance
Vlad


On 10.12.2014 20:44, Tejas Sheth wrote:

Hi Vlad,

I was also getting the same error few days ago, for me the issue was my
SSVM was not able to mount Secondary storage.
Make sure that all your hypervisor hosts and system vms are able to access
nfs secondary storage.

Thanks,
Tejas


On Thu, Dec 11, 2014 at 1:07 AM, Dave Dunaway dave.duna...@gmail.com
wrote:


Hey Vlado,

Check out your download URL 

http://IP/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2
http://ip/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2



On Wed, Dec 10, 2014 at 1:56 PM, Vladislav Nazarenko 
vladislav.nazare...@gmail.com wrote:


Hi Everybody,

need help with a fresh installed cloudstack with basic setup.

System VMs are running. Trying to upload a template a see the following

in

/var/log/cloudstack/management/management-server.log

2014-12-10 18:35:22,043 DEBUG [c.c.a.t.Request] (Timer-13:ctx-8ce1d6ae)
Seq 3-8582734989861322876: Sending  { Cmd , MgmtId: 207379926576, via:
3(s-2-VM), Ver: v1, Flags: 100011, [{org.apache.cloudstack.
storage.command.DownloadProgressCommand:{jobId:2683e976-bd26-450d-
8774-092665b1233e,request:GET_STATUS,hvm:true,
description:CENTOS,maxDownloadSizeInBytes:53687091200,id:209,
resourceType:TEMPLATE,installPath:template/tmpl/2/
209,_store:{com.cloud.agent.api.to.NfsTO:{_url:
nfs://IP/secondary,_role:Image}},url:http://IP/
CentOS-6-x86_64-vanilla-kvm.qcow2.bz2,format:QCOW2,
accountId:2,name:209-2-4a99674a-acce-36e0-b2f6-
e12a7ad15e6b,secUrl:nfs://IP/secondary,wait:0}}] }

Please advice
Vlad






RE: Network Traffic Statistics

2014-12-12 Thread Somesh Naidu
Network Stats (listVirtualMachines ) and Network Usage (listUsageRecords) are 
two different entities. 

The former is run time stats received from the hypervisor and isn't stored or 
used by cloudstack.

The latter is raw CCP usage and as you mentioned, gathered via iptables on VR 
and only captures traffic on public interface.

-Original Message-
From: Logan Barfield [mailto:lbarfi...@tqhosting.com] 
Sent: Friday, December 12, 2014 3:20 PM
To: users@cloudstack.apache.org
Subject: Network Traffic Statistics

Just a quick question about traffic statistics.

Currently there appear to be two ways to pull network statistics in an
advanced zone:

- listVirtualMachines
- Returns networkkbsread  networkkbswrite

- listUsageRecords
- Type 4: Bytes sent
- Type 5: Bytes received

I assume both of these list the aggregate network traffic for each VM (both
public and between VMs on the same network).

My question is: Is there currently a way via CloudStack to pull only the
public network traffic for a given network (incoming and outgoing)?

The statistics gathering seems to use the NETWORK_STATS IPtables entries on
the VR, so I would think it could pull the traffic for just the public
interface.  Even better would be to pull the traffic for each public IP,
but that would be a bit more difficult I assume.



Thank You,

Logan Barfield
Tranquil Hosting


Re: How to remove VM entry from CloudStack database?

2014-12-12 Thread John Kinsella
CloudStack doesn’t usually remove records from db tables. If you look t 
vm_instance (or many other tables in there) you’ll see three timestamp fields: 
created, update_time, and removed. So if you want to “remove” a 
vm/disk/nic/etc, you change the removed field from null to a timestamp, e.g.

UPDATE vm_instance SET removed=now() WHERE id=105;

John

 On Dec 11, 2014, at 11:31 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee 
 wrote:
 
 Tejas,
 
   Stopped and Destroyed are visible statuses of VM at dashboard as 
 well as Expunding. You should put Expunded for the VM not to be visible.  
 Entirely removing the raw in DB is not good option. CS does not ever remove 
 data for VM-s being destroyed and expunded - they always remain at database.  
  
 
 Vadim.
 
 -Original Message-
 From: Tejas Sheth [mailto:tshet...@gmail.com] 
 Sent: Friday, December 12, 2014 9:01 AM
 To: users@cloudstack.apache.org
 Subject: Re: How to remove VM entry from CloudStack database?
 
 Hi,
 
  I have tried to change the vm_instance table state value to Stopped and 
 Destroied but i was nither able to start nor destroy vm. so finally i 
 removed entire row of that perticular VM and finally that VM was removed from 
 instance deshboard.
 
 can anyone suggest that in order to complete cleanup activity do we need to 
 delete any other entry from anyother table?
 
 Thanks,
 Tejas
 
 On Fri, Dec 12, 2014 at 8:30 AM, Tejas Sheth tshet...@gmail.com wrote:
 
 Hello,
 
  Its not in production so i can test the DB modification, Let me try 
 to modify VM entry from vm_instance table and I'll let you guyz know 
 the result.
 
 Thanks,
 Tejas
 
 On Fri, Dec 12, 2014 at 5:45 AM, Matthew Midgett  
 clouds...@trick-solutions.com.invalid wrote:
 
 I have phpmyadmin running on my MariaDB server as I am no sql expert.
 Then is cloud  vm_instance and change the state be editing the row 
 for the VM ID that you need to Stopped, Destroyed or Expunging
 
 Not responsible for your actions :)
 
 Matthew Midgett
 Trick Solutions
 143 Jenny Marie Rd
 Mooresville NC,28115
 336-618-7425 Office
 704-728-5644 Cell
 www.trick-solutions.com
 
 CONFIDENTIAL: This electronic mail, including any attachment(s) may 
 contain information that is privileged, confidential, and/or 
 otherwise protected from disclosure to anyone other than its intended 
 recipient(s).
 Any dissemination or use of this electronic email or its contents 
 (including any attachments) by persons other than the intended 
 recipient(s) is strictly prohibited.  If you have received this 
 message in error, please notify me immediately by reply email so that 
 I may correct my internal records.  Please then delete the original 
 message (including any
 attachments) in its entirety.  Thank you.
 
 
 
 -Original Message-
 From: Tejas Sheth [mailto:tshet...@gmail.com]
 Sent: Thursday, December 11, 2014 9:20 AM
 To: users@cloudstack.apache.org
 Subject: How to remove VM entry from cloudstack database?
 
 Hello,
 
  I was tring migrate vm to another cluster using storage migration 
 option in Cloudstack 4.3.1.
 unfortuanatly now it got stuck at migrating stage and don't know how 
 to recover.
 
 since it is test environment we can remove it from database.
 Does anyone knows how to cleanup VM entry from cloudstack and its 
 database?
 
 Thanks,
 Tejas
 
 
 



Re: Shared Storage for VMs

2014-12-12 Thread Lee Webb
I have this requirement for some of the applications deployed in CS too

Workaround solution (of sorts) was to create a Shared Network attached to a
Physical VLAN  then hook up a Physical NAS to the same VLAN.
The shared network is bound to a particular account / project so that it
can't be used by everyone

For me part of the attraction of using CS over OpenStack was that you could
craft the network in this way so that you an support applications /
deployments which have physical device requirements or haven't been
developed to be 100% cloudy.

I notice that OpenStack is looking into a shared volume system,  I'd also
like the option of doing it 100% inside of CS if it was capable of doing so.

I do recall though that in XenServer ( ESX 4 I think) it wasn't possible
to attach a single volume to multiple machines without significant hacking
of the underlying Python - after which building things like an Oracle RAC /
GRID system or OCFS2 was possible but this is probably out of reach for
most users.

Perhaps something like a Virtual NAS VM like the Virtual Routers etc. would
be sufficient - think OpenFiler but inside of CS?

On Fri, Dec 12, 2014 at 10:10 PM, Jochim, Ingo ingo.joc...@bautzen-it.de
wrote:

 But this is completely outside of CS. I prefer to have something
 controlled by CS to have centralized management and quota/usage
 functionality.

 -Ursprüngliche Nachricht-
 Von: Alessandro Caviglione [mailto:c.alessan...@gmail.com]
 Gesendet: Freitag, 12. Dezember 2014 11:44
 An: users@cloudstack.apache.org
 Betreff: Re: Shared Storage for VMs

 Just use a Unified Storage and export volumes to VMs...

 On Fri, Dec 12, 2014 at 11:39 AM, Andrija Panic andrija.pa...@gmail.com
 wrote:

  Drbd and gfs2 or something?
 
  Sent from Google Nexus 4
  On Dec 12, 2014 10:00 AM, Jochim, Ingo ingo.joc...@bautzen-it.de
  wrote:
 
   Hi all,
  
   I'd like to discuss my feature request for having shared storage for
   several virtual machines controlled by ACS.
   https://issues.apache.org/jira/browse/CLOUDSTACK-7970
   Any ideas about this? Are there workarounds which I can used today?
  
   Many thanks in advance.
   Regards,
   Ingo
  
 

 --
 This email was Virus checked by Astaro Security Gateway.
 http://www.sophos.com