You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Tejas Gadaria <re...@gmail.com> on 2014/02/17 12:11:21 UTC

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: Unable to set permissions Cloudstack 4.3

Posted by Tejas Gadaria <re...@gmail.com>.
Hi Rajesh,
Yes system vms are working fine.

Regards,
Tejas


On Mon, Feb 17, 2014 at 5:16 PM, Rajesh Battala
<ra...@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.gmrt@gmail.com]
> Sent: Monday, February 17, 2014 4:41 PM
> To: users@cloudstack.apache.org; dev@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: Unable to set permissions Cloudstack 4.3

Posted by Tejas Gadaria <re...@gmail.com>.
Hi Rajesh,
Yes system vms are working fine.

Regards,
Tejas


On Mon, Feb 17, 2014 at 5:16 PM, Rajesh Battala
<ra...@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.gmrt@gmail.com]
> Sent: Monday, February 17, 2014 4:41 PM
> To: users@cloudstack.apache.org; dev@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: Unable to set permissions Cloudstack 4.3

Posted by John Kinsella <jl...@stratosec.co>.
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 <ra...@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.gmrt@gmail.com]
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>; dev@cloudstack.apache.org<ma...@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<http://stratosec.co/> - Compliance as a Service
o: 415.315.9385
@johnlkinsella<http://twitter.com/johnlkinsella>


RE: Unable to set permissions Cloudstack 4.3

Posted by Rajesh Battala <ra...@citrix.com>.
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.gmrt@gmail.com] 
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org; dev@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: Unable to set permissions Cloudstack 4.3

Posted by Rajesh Battala <ra...@citrix.com>.
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.gmrt@gmail.com] 
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org; dev@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