filed a bug CLOUDSTACK-1174 for this -Mice
-----Original Message----- From: Kelven Yang [mailto:kelven.y...@citrix.com] Sent: Wednesday, February 06, 2013 3:42 AM To: cloudstack-dev@incubator.apache.org Subject: Re: Issue observed when running the jetty server WHERE AND snapshots.removed IS NULL This apparently is a code bug (most likely to be in changes at SnapshotDaoImpl) Kelven On 2/5/13 11:25 AM, "Deepti Dohare" <deepti.doh...@citrix.com> wrote: >Hi, >I observed this exception when I pulled the code from the master >branch, deployed the db and run the jetty server. > >mvn -pl :cloud-client-ui jetty:run > >I am getting following CloudRuntimeException ======================= > >INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] >(secstorage-1:) No running secondary storage vms found in datacenter >id=1, starting one INFO >[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No >stopped secondary storage vm is available, need to allocate a new >secondary storage vm WARN >[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) >Exception while trying to start secondary storage vm >com.cloud.utils.exception.CloudRuntimeException: Caught: >com.mysql.jdbc.JDBC4PreparedStatement@1fe9762: SELECT >snapshots.data_center_id, snapshots.account_id, snapshots.domain_id, >snapshots.volume_id, snapshots.disk_offering_id, snapshots.path, >snapshots.name, snapshots.status, snapshots.snapshot_type, >snapshots.type_description, snapshots.size, snapshots.created, >snapshots.removed, snapshots.backup_snap_id, snapshots.swift_id, >snapshots.s3_id, snapshots.sechost_id, snapshots.prev_snap_id, >snapshots.hypervisor_type, snapshots.version, snapshots.uuid FROM >snapshots WHERE AND snapshots.removed IS NULL > at >com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase >.ja >va:414) > at >com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase >.ja >va:347) > at >com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase >.ja >va:899) > at >com.cloud.utils.db.GenericDaoBase.listBy(GenericDaoBase.java:876) > at >com.cloud.storage.dao.SnapshotDaoImpl.listAllByStatus(SnapshotDaoImpl.j >ava >:323) > >Is someone else also facing this issue? > >Thanks >Deepti