Older Ceph packages for Ubuntu 12.04 (Precise Pangolin) to recompile libvirt with RBD support

2016-06-02 Thread Cloud List
Dear all,

I am trying to setup older version of CloudStack 4.2.0 on Ubuntu 12.04 to
use Ceph RBD as primary storage for our upgrade testing purposes. Two of
the steps involved were to add below repository to manually compile libvirt
to have RBD support, since the default libvirt on Ubuntu 12.04 doesn't have
RBD support by default, unlike on Ubuntu 14.04:


# wget -q -O- '
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo
apt-key add -
OK

# echo deb http://eu.ceph.com/debian-cuttlefish/ $(lsb_release -sc) main |
sudo tee /etc/apt/sources.list.d/ceph.list
deb http://eu.ceph.com/debian-cuttlefish/ precise main


But when I ran sudo apt-get update, I am receiving this error (excerpts):


Err http://eu.ceph.com precise/main amd64 Packages
  404  Not Found
Err http://eu.ceph.com precise/main i386 Packages
  404  Not Found

W: Failed to fetch
http://eu.ceph.com/debian-cuttlefish/dists/precise/main/binary-amd64/Packages
404  Not Found

W: Failed to fetch
http://eu.ceph.com/debian-cuttlefish/dists/precise/main/binary-i386/Packages
404  Not Found

E: Some index files failed to download. They have been ignored, or old ones
used instead.


It seems that the repository for the particular required packages has been
removed, anyone can advise if I can get the required packages, may be from
a different location?

Any help is greatly appreciated.

Looking forward to your reply, thank you.

Cheers.

-ip-


Re: FW: Password reset, not work after adding new Guest IP Class

2016-06-02 Thread Marc-Andre Jutras

can you post your cloud-init config file ?

Thanks !


On 2016-06-02 5:31 AM, Cristian Ciobanu wrote:

Hi,

  I did deploy using default VM : CentOS 5.3(64-bit) no GUI (vSphere),  but this 
template is without "password generate"  by default.

  In order to test I changed to  : Password Enable  Yes (from ACS 
Management side ) but looks like no cloud-init is integrated :

  I don't see any request for password in this template :


Jun  2 04:28:01 testdep06 kernel: Bluetooth: HIDP (Human Interface Emulation) 
ver 1.1
Jun  2 04:28:01 testdep06 avahi-daemon[2955]: Service "SFTP File Transfer on 
testdep06" (/services/sftp-ssh.service) successfully established.
Jun  2 04:28:51 testdep06 smartd[3040]: smartd version 5.38 
[x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Jun  2 04:28:51 testdep06 smartd[3040]: Home page is 
http://smartmontools.sourceforge.net/
Jun  2 04:28:51 testdep06 smartd[3040]: Opened configuration file 
/etc/smartd.conf
Jun  2 04:28:51 testdep06 smartd[3040]: Configuration file /etc/smartd.conf was 
parsed, found DEVICESCAN, scanning devices
Jun  2 04:28:51 testdep06 smartd[3040]: Problem creating device name scan list
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hda, opened
Jun  2 04:28:51 testdep06 kernel: hda: drive_cmd: status=0x51 { DriveReady 
SeekComplete Error }
Jun  2 04:28:51 testdep06 kernel: hda: drive_cmd: error=0x04 { AbortedCommand }
Jun  2 04:28:51 testdep06 kernel: ide: failed opcode was: 0xec
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hda, not ATA, no IDENTIFY 
DEVICE Structure
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, opened
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, not found in smartd 
database.
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, lacks SMART capability
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, to proceed anyway, 
use '-T permissive' Directive.
Jun  2 04:28:51 testdep06 smartd[3040]: Monitoring 0 ATA and 0 SCSI devices
Jun  2 04:28:51 testdep06 smartd[3042]: smartd has fork()ed into background 
mode. New PID=3042.


You just forgot to include the : /var/log/cloud.log available on the VR... : I 
just reproduced this issue again in order to provide output from cloud.log


Wed Jun  1 21:01:14 UTC 2016 : VR config: executing: /opt/cloud/bin/vmdata.py 
-d 
eyIxNTguNjkuMTcuMjM2IjpbWyJ1c2VyZGF0YSIsInVzZXItZGF0YSIsbnVsbF0sWyJtZXRhZGF0YSIsInNlcnZpY2Utb2ZmZXJpbmciLCJDdXN0b20gSW5zdGFuY2UiXSxbIm1ldGFkYXRhIiwiYXZhaWxhYmlsaXR5LXpvbmUiLCJaT05FMDAxIl0sWyJtZXRhZGF0YSIsImxvY2FsLWlwdjQiLCIxNTguNjkuMTcuMjM2Il0sWyJtZXRhZGF0YSIsImxvY2FsLWhvc3RuYW1lIiwidGVzdGRlcDAyIl0sWyJtZXRhZGF0YSIsInB1YmxpYy1pcHY0IiwiMTU4LjY5LjE3LjIzNiJdLFsibWV0YWRhdGEiLCJwdWJsaWMtaG9zdG5hbWUiLCJ0ZXN0ZGVwMDIiXSxbIm1ldGFkYXRhIiwiaW5zdGFuY2UtaWQiLCIxYTk4NzkyZi1jMTIzLTQ0NjMtODg0Zi05YjkxYTk1YzhlOWUiXSxbIm1ldGFkYXRhIiwidm0taWQiLCIxYTk4NzkyZi1jMTIzLTQ0NjMtODg0Zi05YjkxYTk1YzhlOWUiXSxbIm1ldGFkYXRhIiwicHVibGljLWtleXMiLG51bGxdLFsibWV0YWRhdGEiLCJjbG91ZC1pZGVudGlmaWVyIiwiQ2xvdWRTdGFjay17ZmRlNmFiOTQtNDlkNi00YWExLWFhYzgtM2RkZjc4ODk2ZWVlfSJdXX0=
Wed Jun  1 21:01:14 UTC 2016 : VR config: execution success
^C
root@r-172-VM:/var/log# less cloud.log
root@r-172-VM:/var/log# date
Thu Jun  2 08:50:40 UTC 2016

 
   Thank you !



Regards,

Cristian

-Original Message-
From: Marc-Andre Jutras [mailto:mar...@marcuspocus.com]
Sent: Thursday, June 2, 2016 12:06 AM
To: users@cloudstack.apache.org
Subject: Re: FW: Password reset, not work after adding new Guest IP Class

Thanks for the logs Cristian,

You just forgot to include the : /var/log/cloud.log available on the VR... ;)

Also, quite Interesting to see that your VM can communicate with ACS 
correctly...

Can you try to reproduce it again but this time with the default VM (
ie: CentOS 5.6... ) Just want to see if it's going to behave the same way with 
the default template... if it work, that will means something is wrong with 
your VM template or something is wrong in your cloud-init configuration


Marcus



On 2016-06-01 4:43 PM, Cristian Ciobanu wrote:

Hi Marcus,

I just reproduced this error, by removing an old VM (with and IP from 
previous class ) also exported the last part from log :

   VR LOG : hxxp://pastebin.com/TH8CcEL6


   Very interesting is what I saw on VM :

   VM LOG : hxxp://pastebin.com/dn6Du4ci  ( in order to grab this
part of the log I was able to login with default VM password which was
set before when I created this template )

Thank you !

Regards,
Cristian

-Original Message-
From: Marc-Andre Jutras [mailto:mar...@marcuspocus.com]
Sent: Wednesday, June 1, 2016 8:00 PM
To: users@cloudstack.apache.org 
Subject: Re: FW: Password reset, not work after adding new Guest IP
Class

when your condition happen, is there any errors in the /var/log/cloud.log of 
your VR ?

Marcus


On 2016-06-01 12:21 PM, Cristian Ciobanu wrote:

Hi Marcus,


Ok, please see, i also 

Re: Configuring static routes on VPc

2016-06-02 Thread Marc-Andre Jutras
Yes it's possible to add manually a route on a VPC but you will lose 
these static route if you reboot your VPC or delete / re-create a new one


Instead, try to add your static route in Cloudstack via a private 
gateway ...


Marcus

On 2016-06-02 7:20 AM, Gian Paolo Buono wrote:

Hi all,
Is It possible to configure static routes on VPc ?

Regards

Inviato dal mio dispositivo Samsung




Configuring static routes on VPc

2016-06-02 Thread Gian Paolo Buono
Hi all,
Is It possible to configure static routes on VPc ?

Regards

Inviato dal mio dispositivo Samsung


Re: cs4.5 issue

2016-06-02 Thread Rene Moser
Sorry, I didn't see you have a second issue. the stream closed can be
ignored.

On 06/02/2016 12:04 PM, Rene Moser wrote:
> Hi
> 
> This can be ignored. Happens on every service start.
> 
> Regards
> René
> 
> On 06/02/2016 10:36 AM, lzulife wrote:
>> Dear all, My CS management server is very stable for a long time.  but 
>> yesterday,  the Server was rebooted, then the cs management service can't 
>> launch, the error informantion as follows:The first error:
>> 2016-06-02 09:32:48,481 INFO  [c.c.u.c.ComponentContext] 
>> (localhost-startStop-1:null) Setup Spring Application context
>> 2016-06-02 09:32:48,488 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
>> (localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
>> 2016-06-02 09:32:48,499 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
>> (localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
>> 2016-06-02 09:32:49,965 DEBUG [o.a.c.f.s.OnwireClassRegistry] 
>> (localhost-startStop-1:null) Encountered IOException
>> java.io.IOException: Stream closed
>> at java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
>> at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
>> at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
>> at 
>> java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
>> at 
>> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARFile(OnwireClassRegistry.java:162)
>> at 
>> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:119)
>> at 
>> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:95)
>> at 
>> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.scan(OnwireClassRegistry.java:76)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java
>>
>> The second error:
>> 2016-06-02 09:32:52,226 DEBUG [c.c.u.DatabaseIntegrityChecker] 
>> (localhost-startStop-1:null) No duplicate hosts with the same local storage 
>> found in database
>> 2016-06-02 09:32:52,229 DEBUG [c.c.u.d.VersionDaoImpl] 
>> (localhost-startStop-1:null) Checking to see if the database is at a version 
>> before it was the version table is created
>> 2016-06-02 09:32:52,233 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] 
>> (localhost-startStop-1:null) Configuring CloudStack Components
>> 2016-06-02 09:32:52,399 ERROR [n.s.e.d.MulticastRMICacheManagerPeerProvider] 
>> (localhost-startStop-1:null) Error starting heartbeat. Error was: No such 
>> device
>> java.net.SocketException: No such device
>> at java.net.PlainDatagramSocketImpl.join(Native Method)
>> at 
>> java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179)
>> at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)
>> at 
>> net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88)
>> at 
>> net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95)
>> at net.sf.ehcache.CacheManager.doInit(CacheManager.java:447)
>> at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
>> at net.sf.ehcache.CacheManager.(CacheManager.java:259)
>> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037)
>> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818)
>> at net.sf.ehcache.CacheManager.create(CacheManager.java:799)
>> at 
>> com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1795)
>> at 
>> com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1815)
>> at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at 
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>> at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>> at 
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>> at 
>> 

Re: cs4.5 issue

2016-06-02 Thread Rene Moser
Hi

This can be ignored. Happens on every service start.

Regards
René

On 06/02/2016 10:36 AM, lzulife wrote:
> Dear all, My CS management server is very stable for a long time.  but 
> yesterday,  the Server was rebooted, then the cs management service can't 
> launch, the error informantion as follows:The first error:
> 2016-06-02 09:32:48,481 INFO  [c.c.u.c.ComponentContext] 
> (localhost-startStop-1:null) Setup Spring Application context
> 2016-06-02 09:32:48,488 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
> (localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
> 2016-06-02 09:32:48,499 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
> (localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
> 2016-06-02 09:32:49,965 DEBUG [o.a.c.f.s.OnwireClassRegistry] 
> (localhost-startStop-1:null) Encountered IOException
> java.io.IOException: Stream closed
> at java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
> at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
> at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
> at 
> java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
> at 
> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARFile(OnwireClassRegistry.java:162)
> at 
> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:119)
> at 
> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:95)
> at 
> org.apache.cloudstack.framework.serializer.OnwireClassRegistry.scan(OnwireClassRegistry.java:76)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
> at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java
> 
> The second error:
> 2016-06-02 09:32:52,226 DEBUG [c.c.u.DatabaseIntegrityChecker] 
> (localhost-startStop-1:null) No duplicate hosts with the same local storage 
> found in database
> 2016-06-02 09:32:52,229 DEBUG [c.c.u.d.VersionDaoImpl] 
> (localhost-startStop-1:null) Checking to see if the database is at a version 
> before it was the version table is created
> 2016-06-02 09:32:52,233 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] 
> (localhost-startStop-1:null) Configuring CloudStack Components
> 2016-06-02 09:32:52,399 ERROR [n.s.e.d.MulticastRMICacheManagerPeerProvider] 
> (localhost-startStop-1:null) Error starting heartbeat. Error was: No such 
> device
> java.net.SocketException: No such device
> at java.net.PlainDatagramSocketImpl.join(Native Method)
> at 
> java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179)
> at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)
> at 
> net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88)
> at 
> net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95)
> at net.sf.ehcache.CacheManager.doInit(CacheManager.java:447)
> at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
> at net.sf.ehcache.CacheManager.(CacheManager.java:259)
> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037)
> at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818)
> at net.sf.ehcache.CacheManager.create(CacheManager.java:799)
> at 
> com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1795)
> at 
> com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1815)
> at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> at 
> com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> at 
> 

cs4.5 issue

2016-06-02 Thread lzulife
Dear all, My CS management server is very stable for a long time.  but 
yesterday,  the Server was rebooted, then the cs management service can't 
launch, the error informantion as follows:The first error:
2016-06-02 09:32:48,481 INFO  [c.c.u.c.ComponentContext] 
(localhost-startStop-1:null) Setup Spring Application context
2016-06-02 09:32:48,488 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
(localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
2016-06-02 09:32:48,499 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] 
(localhost-startStop-1:null) Retrieving keys from ExtensionRegistry
2016-06-02 09:32:49,965 DEBUG [o.a.c.f.s.OnwireClassRegistry] 
(localhost-startStop-1:null) Encountered IOException
java.io.IOException: Stream closed
at java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
at 
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARFile(OnwireClassRegistry.java:162)
at 
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:119)
at 
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:95)
at 
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.scan(OnwireClassRegistry.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java

The second error:
2016-06-02 09:32:52,226 DEBUG [c.c.u.DatabaseIntegrityChecker] 
(localhost-startStop-1:null) No duplicate hosts with the same local storage 
found in database
2016-06-02 09:32:52,229 DEBUG [c.c.u.d.VersionDaoImpl] 
(localhost-startStop-1:null) Checking to see if the database is at a version 
before it was the version table is created
2016-06-02 09:32:52,233 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] 
(localhost-startStop-1:null) Configuring CloudStack Components
2016-06-02 09:32:52,399 ERROR [n.s.e.d.MulticastRMICacheManagerPeerProvider] 
(localhost-startStop-1:null) Error starting heartbeat. Error was: No such device
java.net.SocketException: No such device
at java.net.PlainDatagramSocketImpl.join(Native Method)
at 
java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:319)
at 
net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:88)
at 
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:95)
at net.sf.ehcache.CacheManager.doInit(CacheManager.java:447)
at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
at net.sf.ehcache.CacheManager.(CacheManager.java:259)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037)
at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818)
at net.sf.ehcache.CacheManager.create(CacheManager.java:799)
at 
com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1795)
at com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1815)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 

RE: FW: Password reset, not work after adding new Guest IP Class

2016-06-02 Thread Cristian Ciobanu
Hi,   

 I did deploy using default VM : CentOS 5.3(64-bit) no GUI (vSphere),  but 
this template is without "password generate"  by default.

 In order to test I changed to  : Password Enable  Yes (from ACS Management 
side ) but looks like no cloud-init is integrated :

 I don't see any request for password in this template :


Jun  2 04:28:01 testdep06 kernel: Bluetooth: HIDP (Human Interface Emulation) 
ver 1.1
Jun  2 04:28:01 testdep06 avahi-daemon[2955]: Service "SFTP File Transfer on 
testdep06" (/services/sftp-ssh.service) successfully established.
Jun  2 04:28:51 testdep06 smartd[3040]: smartd version 5.38 
[x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Jun  2 04:28:51 testdep06 smartd[3040]: Home page is 
http://smartmontools.sourceforge.net/
Jun  2 04:28:51 testdep06 smartd[3040]: Opened configuration file 
/etc/smartd.conf
Jun  2 04:28:51 testdep06 smartd[3040]: Configuration file /etc/smartd.conf was 
parsed, found DEVICESCAN, scanning devices
Jun  2 04:28:51 testdep06 smartd[3040]: Problem creating device name scan list
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hda, opened
Jun  2 04:28:51 testdep06 kernel: hda: drive_cmd: status=0x51 { DriveReady 
SeekComplete Error }
Jun  2 04:28:51 testdep06 kernel: hda: drive_cmd: error=0x04 { AbortedCommand }
Jun  2 04:28:51 testdep06 kernel: ide: failed opcode was: 0xec
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hda, not ATA, no IDENTIFY 
DEVICE Structure
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, opened
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, not found in smartd 
database.
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, lacks SMART capability
Jun  2 04:28:51 testdep06 smartd[3040]: Device: /dev/hdb, to proceed anyway, 
use '-T permissive' Directive.
Jun  2 04:28:51 testdep06 smartd[3040]: Monitoring 0 ATA and 0 SCSI devices
Jun  2 04:28:51 testdep06 smartd[3042]: smartd has fork()ed into background 
mode. New PID=3042.


You just forgot to include the : /var/log/cloud.log available on the VR... : I 
just reproduced this issue again in order to provide output from cloud.log


Wed Jun  1 21:01:14 UTC 2016 : VR config: executing: /opt/cloud/bin/vmdata.py 
-d 
eyIxNTguNjkuMTcuMjM2IjpbWyJ1c2VyZGF0YSIsInVzZXItZGF0YSIsbnVsbF0sWyJtZXRhZGF0YSIsInNlcnZpY2Utb2ZmZXJpbmciLCJDdXN0b20gSW5zdGFuY2UiXSxbIm1ldGFkYXRhIiwiYXZhaWxhYmlsaXR5LXpvbmUiLCJaT05FMDAxIl0sWyJtZXRhZGF0YSIsImxvY2FsLWlwdjQiLCIxNTguNjkuMTcuMjM2Il0sWyJtZXRhZGF0YSIsImxvY2FsLWhvc3RuYW1lIiwidGVzdGRlcDAyIl0sWyJtZXRhZGF0YSIsInB1YmxpYy1pcHY0IiwiMTU4LjY5LjE3LjIzNiJdLFsibWV0YWRhdGEiLCJwdWJsaWMtaG9zdG5hbWUiLCJ0ZXN0ZGVwMDIiXSxbIm1ldGFkYXRhIiwiaW5zdGFuY2UtaWQiLCIxYTk4NzkyZi1jMTIzLTQ0NjMtODg0Zi05YjkxYTk1YzhlOWUiXSxbIm1ldGFkYXRhIiwidm0taWQiLCIxYTk4NzkyZi1jMTIzLTQ0NjMtODg0Zi05YjkxYTk1YzhlOWUiXSxbIm1ldGFkYXRhIiwicHVibGljLWtleXMiLG51bGxdLFsibWV0YWRhdGEiLCJjbG91ZC1pZGVudGlmaWVyIiwiQ2xvdWRTdGFjay17ZmRlNmFiOTQtNDlkNi00YWExLWFhYzgtM2RkZjc4ODk2ZWVlfSJdXX0=
Wed Jun  1 21:01:14 UTC 2016 : VR config: execution success
^C
root@r-172-VM:/var/log# less cloud.log
root@r-172-VM:/var/log# date
Thu Jun  2 08:50:40 UTC 2016


  Thank you !

   
Regards,
Cristian

-Original Message-
From: Marc-Andre Jutras [mailto:mar...@marcuspocus.com] 
Sent: Thursday, June 2, 2016 12:06 AM
To: users@cloudstack.apache.org
Subject: Re: FW: Password reset, not work after adding new Guest IP Class

Thanks for the logs Cristian,

You just forgot to include the : /var/log/cloud.log available on the VR... ;)

Also, quite Interesting to see that your VM can communicate with ACS 
correctly...

Can you try to reproduce it again but this time with the default VM (
ie: CentOS 5.6... ) Just want to see if it's going to behave the same way with 
the default template... if it work, that will means something is wrong with 
your VM template or something is wrong in your cloud-init configuration


Marcus



On 2016-06-01 4:43 PM, Cristian Ciobanu wrote:
> Hi Marcus,
>
>I just reproduced this error, by removing an old VM (with and IP from 
> previous class ) also exported the last part from log :
>
>   VR LOG : hxxp://pastebin.com/TH8CcEL6
>
>
>   Very interesting is what I saw on VM :
>
>   VM LOG : hxxp://pastebin.com/dn6Du4ci  ( in order to grab this 
> part of the log I was able to login with default VM password which was 
> set before when I created this template )
>
> Thank you !
>
> Regards,
> Cristian
>
> -Original Message-
> From: Marc-Andre Jutras [mailto:mar...@marcuspocus.com]
> Sent: Wednesday, June 1, 2016 8:00 PM
> To: users@cloudstack.apache.org  
> Subject: Re: FW: Password reset, not work after adding new Guest IP 
> Class
>
> when your condition happen, is there any errors in the /var/log/cloud.log of 
> your VR ?
>
> Marcus
>
>
> On 2016-06-01 12:21 PM, Cristian Ciobanu wrote:
>> Hi Marcus,
>>
>>
>>Ok, please see, i also attached screenshots.
>>
>>   1. Yes, i'm