Skip to content

Commit 5ff8bca

Browse files
committed
QuickCloud: when using SSVM, pass in the new name of the SS class (com.cloud -> org.apache.cloudstack)
QuickCloud : configuration moved to applicationContext.xml from componentContext.xml QuickCloud: default to enabled state for devcloud zone QuickCloud: environment.properties helps customize location of pid file
1 parent 936973a commit 5ff8bca

5 files changed

Lines changed: 9 additions & 344 deletions

File tree

client/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@
463463
<target if="${quickcloud}">
464464
<echo>quickcloud</echo>
465465
<replaceregexp
466-
file="${basedir}/target/generated-webapp/WEB-INF/web.xml"
467-
match="classpath:componentContext.xml"
468-
replace="classpath:quickCloudComponentContext.xml" byline="true" />
466+
file="${basedir}/target/generated-webapp/WEB-INF/classes/applicationContext.xml"
467+
match="com.cloud.consoleproxy.ConsoleProxyManagerImpl"
468+
replace="com.cloud.consoleproxy.StaticConsoleProxyManager" byline="true" />
469469
</target>
470470
</configuration>
471471
</execution>

client/tomcatconf/quickCloudComponentContext.xml.in

Lines changed: 0 additions & 336 deletions
This file was deleted.

server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
import javax.naming.ConfigurationException;
3131

3232
import org.apache.log4j.Logger;
33-
import org.springframework.context.annotation.Primary;
34-
import org.springframework.stereotype.Component;
3533

3634
import com.cloud.agent.AgentManager;
3735
import com.cloud.agent.api.Answer;
@@ -98,8 +96,8 @@
9896
import com.cloud.storage.SnapshotVO;
9997
import com.cloud.storage.Storage;
10098
import com.cloud.storage.VMTemplateHostVO;
101-
import com.cloud.storage.VMTemplateVO;
10299
import com.cloud.storage.VMTemplateStorageResourceAssoc.Status;
100+
import com.cloud.storage.VMTemplateVO;
103101
import com.cloud.storage.dao.SnapshotDao;
104102
import com.cloud.storage.dao.StoragePoolHostDao;
105103
import com.cloud.storage.dao.VMTemplateDao;
@@ -1066,10 +1064,10 @@ public boolean finalizeVirtualMachineProfile(VirtualMachineProfile<SecondaryStor
10661064
buf.append(" resource=com.cloud.storage.resource.PremiumSecondaryStorageResource");
10671065
} else {
10681066
s_logger.debug("Telling the ssvm to load the NfsSecondaryStorageResource");
1069-
buf.append(" resource=com.cloud.storage.resource.NfsSecondaryStorageResource");
1067+
buf.append(" resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource");
10701068
}
10711069
} else {
1072-
buf.append(" resource=com.cloud.storage.resource.NfsSecondaryStorageResource");
1070+
buf.append(" resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource");
10731071
}
10741072
buf.append(" instance=SecStorage");
10751073
buf.append(" sslcopy=").append(Boolean.toString(_useSSlCopy));
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths.script=../../scripts/storage/secondary/
2+
paths.pid=.

tools/devcloud/devcloud.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"zones": [
2121
{
2222
"name": "DevCloud0",
23+
"enabled" : "True",
2324
"physical_networks": [
2425
{
2526
"broadcastdomainrange": "Zone",

0 commit comments

Comments
 (0)