usage server exeption / bug

2014-02-17 Thread Dean Kamali
Hello everyone

I had usage server running fine for months, however recently I started
running into bug, which caused usage server to stop producing any usage
data.

*Exception*: Error seems to occur when trying to calculate usage data for
VM 198 which runs under account 45

Both VM 198 and account 45 are no longer exists.

To view log

http://pastebin.com/raw.php?i=Ci5rAdUJ

Any ideas on how I can get the usage server to ignore this?

Thank you


RE: 4.2.0 Installation Guide Section 3.7 "Building Non-OSS"

2014-02-17 Thread Michael Phillips
Excellent I will look there...
Any idea if the 4.2.1 community build is non-oss already?

> Date: Tue, 18 Feb 2014 11:58:51 +0800
> Subject: Re: 4.2.0 Installation Guide Section 3.7 "Building Non-OSS"
> From: ryan...@cht.com.tw
> To: users@cloudstack.apache.org
> 
> I think the page has been merged to this:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
> 
> So the doc is outdated :(
> 
> By the way, the 4.2.0 RPMs from community build are non-OSS already.
> 
> Just follow Chapter 4, and setup a yum repo at /etc/yum/cloudstack.repo :
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://cloudstack.apt-get.eu/rhel/4.2/
> enabled=1
> gpgcheck=0
> 
> ---
> Yu-Heng (Ryan) Lei, Associate Researcher
> Cloud Computing Dept, Chunghwa Telecom Labs
> ryan...@cht.com.tw or ryanlei750...@gmail.com
> 
> 
> 
> On Tue, Feb 18, 2014 at 10:39 AM, Michael Phillips
> wrote:
> 
> > I was attempting to follow these directions to build the non-oss RPMS with
> > vmware support however the below link in the docs does not work
> > https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html<--broken
> >  link
> > Does anyone have the details to the dependencies needed or even better, a
> > link to some precompiled non-oss RPM's?
> >
> >
  

Re: 4.2.0 Installation Guide Section 3.7 "Building Non-OSS"

2014-02-17 Thread Ryan Lei
I think the page has been merged to this:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack

So the doc is outdated :(

By the way, the 4.2.0 RPMs from community build are non-OSS already.

Just follow Chapter 4, and setup a yum repo at /etc/yum/cloudstack.repo :

[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.2/
enabled=1
gpgcheck=0

---
Yu-Heng (Ryan) Lei, Associate Researcher
Cloud Computing Dept, Chunghwa Telecom Labs
ryan...@cht.com.tw or ryanlei750...@gmail.com



On Tue, Feb 18, 2014 at 10:39 AM, Michael Phillips
wrote:

> I was attempting to follow these directions to build the non-oss RPMS with
> vmware support however the below link in the docs does not work
> https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html<--broken
>  link
> Does anyone have the details to the dependencies needed or even better, a
> link to some precompiled non-oss RPM's?
>
>


4.2.0 Installation Guide Section 3.7 "Building Non-OSS"

2014-02-17 Thread Michael Phillips
I was attempting to follow these directions to build the non-oss RPMS with 
vmware support however the below link in the docs does not work
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html 
<--broken link
Does anyone have the details to the dependencies needed or even better, a link 
to some precompiled non-oss RPM's?

  

Can 2 Cloudstacks manage the same XenServer cluster?

2014-02-17 Thread Song Gao
Hi there,

Is it possible that 2 Cloudstack management servers manage the same XenServer 
Pool. And how please?

Thanks.




Best wishes!

Dean Song Gao
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


Re: Can't add static route to VPC router

2014-02-17 Thread Jason Villalta
4.1.1


On Mon, Feb 17, 2014 at 4:42 PM, Erik Weber  wrote:

> On Mon, Feb 17, 2014 at 9:17 PM, Jason Villalta 
> wrote:
>
> > I don't see a way to add a static route to a VPC router.  The UI seems to
> > be missing those tabs.  Is there a way to do this with cloudmonkey?
> >
> >
>
> What version of cloudstack are you running?
>
>
> --
> Erik
>



-- 
-- 
*Jason Villalta*
Co-founder
[image: Inline image 1]
800.799.4407x1230 | www.RubixTechnology.com


Re: Can't add static route to VPC router

2014-02-17 Thread Erik Weber
On Mon, Feb 17, 2014 at 9:17 PM, Jason Villalta  wrote:

> I don't see a way to add a static route to a VPC router.  The UI seems to
> be missing those tabs.  Is there a way to do this with cloudmonkey?
>
>

What version of cloudstack are you running?


-- 
Erik


Re: Where is Remote Access vpn settings.

2014-02-17 Thread Jason Villalta
It is almost like my UI is behind even though I upgraded to 4.1.1 a few
months ago so I would except this UI to be there.


On Mon, Feb 17, 2014 at 3:30 PM, Jason Villalta  wrote:

> Yes I have gone there both though the VPC interface and the guest network.
>  Under Guest Network however it does not list the source NAT ip under view
> addresses.
>
> I am running Cloudstack 4.1.1  I am also missing the interface to add
> static routes because my Plan B was to setup a Vyatta instance with l2tp
> installed.  That went ok and I can connect but I cannot route to the l2tp
> private vpn client addresses.
>
> Thanks for your help.
>
>
> On Mon, Feb 17, 2014 at 2:17 PM, Nux!  wrote:
>
>> On 17.02.2014 19:00, Jason Villalta wrote:
>>
>>> Hello,
>>> I am trying to setup remote access vpn in cloudstack for users to vpn
>>> into
>>> their VPC but I do not see the option to enable remote access vpn.  Where
>>> is it located.  Site-to-Site vpn is currently working fine.
>>>
>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/
>>> 4.0.2/html/Installation_Guide/vpn.html
>>>
>>> --
>>>
>>
>> HAve you tried e.g. https://support.getcloudservices.com/entries/
>> 22002407-CloudStack-Configure-VPN-and-VPN-Users ?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>
>
>
> --
> --
> *Jason Villalta*
> Co-founder
> [image: Inline image 1]
> 800.799.4407x1230 | www.RubixTechnology.com
>



-- 
-- 
*Jason Villalta*
Co-founder
[image: Inline image 1]
800.799.4407x1230 | www.RubixTechnology.com


Re: Where is Remote Access vpn settings.

2014-02-17 Thread Jason Villalta
Yes I have gone there both though the VPC interface and the guest network.
 Under Guest Network however it does not list the source NAT ip under view
addresses.

I am running Cloudstack 4.1.1  I am also missing the interface to add
static routes because my Plan B was to setup a Vyatta instance with l2tp
installed.  That went ok and I can connect but I cannot route to the l2tp
private vpn client addresses.

Thanks for your help.


On Mon, Feb 17, 2014 at 2:17 PM, Nux!  wrote:

> On 17.02.2014 19:00, Jason Villalta wrote:
>
>> Hello,
>> I am trying to setup remote access vpn in cloudstack for users to vpn into
>> their VPC but I do not see the option to enable remote access vpn.  Where
>> is it located.  Site-to-Site vpn is currently working fine.
>>
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/
>> 4.0.2/html/Installation_Guide/vpn.html
>>
>> --
>>
>
> HAve you tried e.g. https://support.getcloudservices.com/entries/
> 22002407-CloudStack-Configure-VPN-and-VPN-Users ?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



-- 
-- 
*Jason Villalta*
Co-founder
[image: Inline image 1]
800.799.4407x1230 | www.RubixTechnology.com


Can't add static route to VPC router

2014-02-17 Thread Jason Villalta
I don't see a way to add a static route to a VPC router.  The UI seems to
be missing those tabs.  Is there a way to do this with cloudmonkey?

-- 
-- 
*Jason Villalta*
Co-founder
[image: Inline image 1]
800.799.4407x1230 | www.RubixTechnology.com


Re: Where is Remote Access vpn settings.

2014-02-17 Thread Nux!

On 17.02.2014 19:00, Jason Villalta wrote:

Hello,
I am trying to setup remote access vpn in cloudstack for users to vpn 
into
their VPC but I do not see the option to enable remote access vpn.  
Where

is it located.  Site-to-Site vpn is currently working fine.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/vpn.html

--


HAve you tried e.g. 
https://support.getcloudservices.com/entries/22002407-CloudStack-Configure-VPN-and-VPN-Users 
?


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Where is Remote Access vpn settings.

2014-02-17 Thread Jason Villalta
Hello,
I am trying to setup remote access vpn in cloudstack for users to vpn into
their VPC but I do not see the option to enable remote access vpn.  Where
is it located.  Site-to-Site vpn is currently working fine.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/vpn.html

-- 
-- 
*Jason Villalta*
Co-founder
[image: Inline image 1]
800.799.4407x1230 | www.RubixTechnology.com


Re: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread John Kinsella
I just created CLOUDSTACK-6128 after seeing this.

a) We shouldn’t be setting filesystem permissions wide open
b) If and when we do set permissions, we should care about the results
c) We shouldn’t be displaying “errors" that users can ignore

Will see if I can clean some of that up over the next few days.

On Feb 17, 2014, at 3:46 AM, Rajesh Battala 
mailto:rajesh.batt...@citrix.com>> wrote:

Were the systemvm's came up and reported as "UP" in the infra page?
If yes, it's not an issue to be worried.

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org; 
d...@cloudstack.apache.org
Subject: Unable to set permissions Cloudstack 4.3

Though I am able to create system VMs successfully on hyperv, was showing 
following in the logs, Is this related to storage permission for management 
server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing permissions 
of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary 
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



RE: how to modify network configuration on a zone

2014-02-17 Thread Geoff Higginbottom
Joaquin,

You could simply change the 'traffic labels' to match the settings on your 
Hypervisor (you did not say which one you are using)

However if you want to add a new Physical Network and map the traffic to it you 
will need to use the API, and the following commands

createPhysicalNetwork
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/createPhysicalNetwork.html
To create the new Physical Network


deleteTrafficType
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/deleteTrafficType.html
To remove the storage traffic from the existing Physical Network


addTrafficType
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/addTrafficType.html
To add the Storage Traffic to the new Physical Network



Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com

From: Joaquin Angel Alonso Alvarez [mailto:jalo...@izertis.com]
Sent: 17 February 2014 14:41
To: users@cloudstack.apache.org
Subject: how to modify network configuration on a zone

Hi there,

Is there any way to modify the physical NIC assignments for the traffic 
networks? I need to change the NIC the storage traffic is using at the moment 
to another one due to a reconfiguration on the hosts.

Actual conf:
   NIC0 - Management
   NIC1 - Storage
   NIC2 - Primary Storage to the hosts
   NIC3 - CS Public/Guests

Desired conf:
   NIC0 - Management
   NIC1 / NIC2 - Storage /Primary Storage to the hosts
   NIC3 - CS Public/Guest


Kind regards,
Joaquín Angel Alonso Alvarez
Administrador de Sistemas
Infraestructuras y Sistemas
Tel: +34 902932900
jalo...@izertis.com 
[Descripción: Izertis]

Parque Científico - Tecnológico, Zona Intra
Avda. del Jardín Botánico 1345 - 33203 Gijón (Asturias)
Tel: +34 902 932 400 | Fax: +34 902 932 401
www.izertis.com    [Descripción: rss]   [Descripción: 
facebook]   [Descripción: twitter]   [Descripción: linkedin]   [Descripción: 
youtube]


[Descripción: arbol]Antes de imprimir este email piense si es necesario 
hacerlo. Proteger el medio ambiente está también en su mano.
AVISO LEGAL
Le informamos, como destinatario de este mensaje que el mismo va dirigido, de 
manera exclusiva, a su destinatario y contiene información confidencial y 
sujeta al secreto profesional, cuya divulgación no está permitida por la ley. 
Si Vd. no es el destinatario indicado, se le informa de que cualquier forma de 
distribución, reproducción o uso de esta comunicación y/o de la información 
contenida en la misma están estrictamente prohibidos y podría ser ilegal. Si 
Vd. ha recibido esta comunicación por error, por favor, notifíquelo 
inmediatamente al remitente contestando a este mensaje y proceda a continuación 
a destruirlo.


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 is a registered trademark.


how to modify network configuration on a zone

2014-02-17 Thread Joaquin Angel Alonso Alvarez
Hi there,

Is there any way to modify the physical NIC assignments for the traffic 
networks? I need to change the NIC the storage traffic is using at the moment 
to another one due to a reconfiguration on the hosts.

Actual conf:
   NIC0 - Management
   NIC1 - Storage
   NIC2 - Primary Storage to the hosts
   NIC3 - CS Public/Guests

Desired conf:
   NIC0 - Management
   NIC1 / NIC2 - Storage /Primary Storage to the hosts
   NIC3 - CS Public/Guest


Kind regards,
Joaquín Angel Alonso Alvarez
Administrador de Sistemas
Infraestructuras y Sistemas
Tel: +34 902932900
jalo...@izertis.com 
[Descripción: Izertis]

Parque Científico - Tecnológico, Zona Intra
Avda. del Jardín Botánico 1345 - 33203 Gijón (Asturias)
Tel: +34 902 932 400 | Fax: +34 902 932 401
www.izertis.com    [Descripción: rss] 

   [Descripción: facebook] 
   [Descripción: 
twitter]    [Descripción: linkedin] 
   [Descripción: youtube] 



[Descripción: arbol]Antes de imprimir este email piense si es necesario 
hacerlo. Proteger el medio ambiente está también en su mano.
AVISO LEGAL
Le informamos, como destinatario de este mensaje que el mismo va dirigido, de 
manera exclusiva, a su destinatario y contiene información confidencial y 
sujeta al secreto profesional, cuya divulgación no está permitida por la ley. 
Si Vd. no es el destinatario indicado, se le informa de que cualquier forma de 
distribución, reproducción o uso de esta comunicación y/o de la información 
contenida en la misma están estrictamente prohibidos y podría ser ilegal. Si 
Vd. ha recibido esta comunicación por error, por favor, notifíquelo 
inmediatamente al remitente contestando a este mensaje y proceda a continuación 
a destruirlo.




Re: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Tejas Gadaria
Hi Rajesh,
Yes system vms are working fine.

Regards,
Tejas


On Mon, Feb 17, 2014 at 5:16 PM, Rajesh Battala
wrote:

> Were the systemvm's came up and reported as "UP" in the infra page?
> If yes, it's not an issue to be worried.
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Monday, February 17, 2014 4:41 PM
> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> Subject: Unable to set permissions Cloudstack 4.3
>
> Though I am able to create system VMs successfully on hyperv, was showing
> following in the logs, Is this related to storage permission for management
> server. ?
> what kind of problem it can create?
>
>
> 2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
> 2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Execution is successful.
> 2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
> /var/cloudstack/mnt/VM/345049283025.8748e72
> 2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Exit value is 1
> 2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
> `/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
> 2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
> /var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing
> permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
> denied*
> 2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary
> storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
> destination:
> /var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
> 2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
> 2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.
>
>
> Regards,
> Tejas
>


Re: MySQL-Server on Management-Node

2014-02-17 Thread Marty Sweet
Hi,

We had this discussion a while back regarding the management nodes fencing
when the MySQL deamon is disconnected and session state is lost.
I believe recovery was going to be implemented in later versions of CS. If
you would like to review the conversation please see below "management
server DB timeout"
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c52e00f0d.6090...@cloudops.com%3E

There is also:
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201311.mbox/%3cd2ee6b3265ad864eb3ea4f5c670d256f273ce...@exdfo01l-crp-06.webmdhealth.net%3E

You may want to consider setting up HA for the MySQL daemon, cloudstack
currently sees MySQL as a dependency (because MySQL is it's datasource) so
fencing is the expected behaviour. The management server simply doesn't
have the information available to operate.

If setting up HA (with synced session states) is not feasible, you may also
consider my crontab script mentioned in the first link. This will restart
the cloudstack-management service which the script detects the management
server is no longer running (tested on Ubuntu 12.04).

Hope this helps,
Marty


On Mon, Feb 17, 2014 at 10:42 AM, Kmiotek, Daniel  wrote:

> Hey Erik,
>
> in the log is just written, that the server crash because they can't
> connect the MySQL-instance.
>
> From the mysql.log:
> InnoDB: Progress in percents: 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
> 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
> 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
> 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
> InnoDB: Apply batch completed
> InnoDB: Last MySQL binlog file position 0 53014, file name
> ./mysql-bin.12
> 140217  9:44:37  InnoDB: Started; log sequence number 0 532327347
> 140217  9:44:37 [Note] Recovering after a crash using mysql-bin
> 140217  9:44:37 [Note] Starting crash recovery...
> 140217  9:44:37 [Note] Crash recovery finished.
> 140217  9:44:37 [Note] Event Scheduler: Loaded 0 events
> 140217  9:44:37 [Note] /usr/libexec/mysqld: ready for connections.
> Version: '5.1.71-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306
>  Source distribution
>
>
> -Ursprüngliche Nachricht-
> Von: Erik Weber [mailto:terbol...@gmail.com]
> Gesendet: Montag, 17. Februar 2014 10:45
> An: users@cloudstack.apache.org
> Betreff: Re: MySQL-Server on Management-Node
>
> On Mon, Feb 17, 2014 at 10:39 AM, Kmiotek, Daniel <
> daniel.kmio...@astiga.com
> > wrote:
>
> > Hi!
> >
> > After two days of running CloudStack the MySQL-Daemon crashed and I
> > must move the PID.
> > Then I must restart the MySQL- und CloudStack-Management-Daemon.
> > How can I prevent the crash?
> >
> >
>
> Anything in the logs?
>
>
> --
> Erik
>


RE: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Rajesh Battala
Were the systemvm's came up and reported as "UP" in the infra page? 
If yes, it's not an issue to be worried. 

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Unable to set permissions Cloudstack 4.3

Though I am able to create system VMs successfully on hyperv, was showing 
following in the logs, Is this related to storage permission for management 
server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing permissions 
of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary 
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas


Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Tejas Gadaria
Though I am able to create system VMs successfully on hyperv, was showing
following in the logs,
Is this related to storage permission for management server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing
permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas


AW: MySQL-Server on Management-Node

2014-02-17 Thread Kmiotek, Daniel
Hey Erik,

in the log is just written, that the server crash because they can't connect 
the MySQL-instance.

>From the mysql.log:
InnoDB: Progress in percents: 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 53014, file name ./mysql-bin.12
140217  9:44:37  InnoDB: Started; log sequence number 0 532327347
140217  9:44:37 [Note] Recovering after a crash using mysql-bin
140217  9:44:37 [Note] Starting crash recovery...
140217  9:44:37 [Note] Crash recovery finished.
140217  9:44:37 [Note] Event Scheduler: Loaded 0 events
140217  9:44:37 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.71-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source 
distribution


-Ursprüngliche Nachricht-
Von: Erik Weber [mailto:terbol...@gmail.com] 
Gesendet: Montag, 17. Februar 2014 10:45
An: users@cloudstack.apache.org
Betreff: Re: MySQL-Server on Management-Node

On Mon, Feb 17, 2014 at 10:39 AM, Kmiotek, Daniel  wrote:

> Hi!
>
> After two days of running CloudStack the MySQL-Daemon crashed and I 
> must move the PID.
> Then I must restart the MySQL- und CloudStack-Management-Daemon.
> How can I prevent the crash?
>
>

Anything in the logs?


--
Erik


Re: MySQL-Server on Management-Node

2014-02-17 Thread Erik Weber
On Mon, Feb 17, 2014 at 10:39 AM, Kmiotek, Daniel  wrote:

> Hi!
>
> After two days of running CloudStack the MySQL-Daemon crashed and I must
> move the PID.
> Then I must restart the MySQL- und CloudStack-Management-Daemon.
> How can I prevent the crash?
>
>

Anything in the logs?


-- 
Erik


MySQL-Server on Management-Node

2014-02-17 Thread Kmiotek, Daniel
Hi!

After two days of running CloudStack the MySQL-Daemon crashed and I must move 
the PID.
Then I must restart the MySQL- und CloudStack-Management-Daemon.
How can I prevent the crash?

Kind regards,
Daniel Kmiotek