You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rajesh Battala <ra...@citrix.com> on 2013/06/13 14:46:39 UTC

Review Request: CLOUDSTACK-2398 , ssvm-check failed with permission error

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/11862/
-----------------------------------------------------------

Review request for cloudstack.


Description
-------

In the new system vm template, 

rpc_pipefs is getting mount on "/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)"

ssvm-healthcheck grep is including this mount point to verify the read/write access.
As this is virtual system filesystem, this should skip testing read/write access. 
Fixed the issue by excluding "/var/lib/nfs/rpc_pipefs" to validate for read/write access in ssvm-health


This addresses bug CLOUDSTACK-2398.


Diffs
-----

  services/console-proxy/server/scripts/ssvm-check.sh a401164 

Diff: https://reviews.apache.org/r/11862/diff/


Testing
-------

1.verified in the new system vm template, where rpc_pipefs is mount on /var/lib/nfs/rpc_pipefs is not testing for read/write acces.


O/P of modified ssvm-check script.

root@s-1-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh 
================================================
First DNS server is  10.103.128.15
PING 10.103.128.15 (10.103.128.15): 56 data bytes
64 bytes from 10.103.128.15: icmp_seq=0 ttl=120 time=4.296 ms
64 bytes from 10.103.128.15: icmp_seq=1 ttl=120 time=1.483 ms
--- 10.103.128.15 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.483/2.889/4.296/1.407 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
Mount point is /mnt/SecStorage/25944601-ec85-3f19-b8ea-2fe0200c2eb0
Good: Can write to mount point
================================================
Management server is 10.102.192.136. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.


Thanks,

Rajesh Battala