cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Scheffer (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8391) Secondary VM not properly configured after install
Date Sun, 19 Apr 2015 11:27:58 GMT


Tony Scheffer commented on CLOUDSTACK-8391:

The issue is that the SSVM was not able to mount the systemvm.iso. This iso contains the file
needed to run the agent etc.
The reason why it could not mount the iso, was due to the cache settings on the Virtual IDE
CDROM. Settings this to Cache=Writeback, enabled the iso mounting and it started to download
the templates immediatly.

The issue of having to set 'Cache=Writeback settings', appears to be related of having the
VMs on an XFS filesystem.

To test SSH into the secondary storage vm, using the ssh key and trying to mount it manually.

ssh -i /var/cloudstack/management/.ssh/id_rsa -p 3922 $Ip_of_local_link_shown_in_MC
mkdir /mnt/cdrom; mount /dev/sr0 /mnt/cdrom

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
[  989.275124] sr 1:0:0:0: [sr0]  Add. Sense: Logical block address out of range
[  989.275127] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01 00
[  989.275132] end_request: I/O error, dev sr0, sector 64
[  989.275469] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block

> Secondary VM not properly configured after install
> --------------------------------------------------
>                 Key: CLOUDSTACK-8391
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.4.2
>         Environment: CentOS 6.6, KVM.
> [root@nas ~]# rpm -qa | grep cloud
> cloudstack-awsapi-4.4.2-NONOSS_1.el6.x86_64
> cloudstack-common-4.4.2-NONOSS_1.el6.x86_64
> cloudstack-management-4.4.2-NONOSS_1.el6.x86_64
> cloudstack-agent-4.4.2-NONOSS_1.el6.x86_64
>            Reporter: Tony Scheffer
> After installing and deploying CloudStack, the secondary VM does not have the agent running.
> Trying the init script;
> root@s-1-VM:~# /etc/init.d/cloud status
> Failed
> /etc/init.d/cloud: line 130: get_pids: command not found
> CloudStack cloud service is not running
> The troubleshoot script also seems to be absent;
> root@s-1-VM:~# ls -l /usr/local/cloud/systemvm/
> ls: cannot access /usr/local/cloud/systemvm/ No such file or directory
> find / -name
> results in nothing.

This message was sent by Atlassian JIRA

View raw message