incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc-Andre Jutras <mar...@marcuspocus.com>
Subject Re: possible issue with CS4 master branch and XenServer 6.02
Date Tue, 15 Jan 2013 20:44:33 GMT
Thanks Hugo, vhd-util was missing // my problem...

for the record...
download vhd-util from : 
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
Copy vhd-util to this location in the source tree: 
scripts/vm/hypervisor/xenserver/vhd-util
re-compile everything and re-add the xen server to CS: fixed !

Thanks,
M-A, Cloudops

On 13-01-15 2:16 PM, Hugo Trippaers wrote:
> hey Marc-Andre,
>
> Did you put vhd-util on your xenserver?  We can't distribute it, but you do need it to
calculate the vhd size. I don't have the link here but it should be somewhere on the wiki.
>
> Cheers,
>
> Hugo
>
> Verstuurd vanaf mijn iPad
>
> Op 15 jan. 2013 om 19:56 heeft "Marc-Andre Jutras" <marcus@marcuspocus.com> het
volgende geschreven:
>
>> Hi everyone,
>>
>> I'm trying to build up Cloudstack from the master branch with the Non-opensource
libraries (nonoss)... Everything's working fine until I enable the Zone and spin up the console
and the SSVM... Basically, The Xenserver return an exception when CS is trying to copy the
SSVM template :  INTERNAL_ERROR: [ Record_util.Record_failure("Failed to parse field 'virtual-size':
expecting an integer (possibly with suffix)") ]
>>
>> Joining my current setup / command  + logs...
>>
>> any comments, recommendations or others validations or tests that I should do ?
>>
>> Regards,
>> M-A, Cloudops
>>
>> PS: I just test it without the nonoss and I got the same xen issue...
>> = = =
>>
>> Setup:
>> CS compiling and running on CentOS 6.3 x86_64
>> Hypervisor: XenServer 6.02 update 8
>> advanced network setup
>> Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
>> Maven home: /opt/java/maven
>> Java version: "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.5) (rhel-1.50.1.11.5.el6_3-x86_64)
>> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "2.6.32-279.19.1.el6.x86_64", arch: "amd64", family: "unix"
>> Apache Ant version 1.7.1
>>
>> following this howto:
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch
>>
>> Source:
>> git clone https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>> latest git pull - this morning @ 11h am, eastern time.
>>
>> command:
>> mvn clean install -P deps -D nonoss ( compilation - all ok )
>> mvn -P developer -pl developer -Ddeploydb  ( DB deployment - all ok )
>> export MAVEN_OPTS="-Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
>> mvn -pl :cloud-client-ui jetty:run -Dnonoss  ( start all ok, populate config and
system template ok too )
>>
>> = = =
>>
>> Log output:
>>
>> Cloudstack logs:
>>
>> 2013-01-15 13:20:33,378 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-575602701:
Sending  { Cmd , MgmtId: 134850803489641, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/0a91e75c-95c3-37f5-b391-563e8b2b9090","poolUuid":"0a91e75c-95c3-37f5-b391-563e8b2b9090","poolId":200,"primaryPool":{"id":200,"uuid":"0a91e75c-95c3-37f5-b391-563e8b2b9090","host":"172.30.91.10","path":"/opt/nfs/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://172.30.90.10/opt/nfs/secondary","primaryStorageUrl":"nfs://172.30.91.10/opt/nfs/primary","url":"nfs://172.30.90.10/opt/nfs/secondary/template/tmpl/1/1/","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}]
}
>> 2013-01-15 13:20:33,380 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-575602701:
Executing:  { Cmd , MgmtId: 134850803489641, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/0a91e75c-95c3-37f5-b391-563e8b2b9090","poolUuid":"0a91e75c-95c3-37f5-b391-563e8b2b9090","poolId":200,"primaryPool":{"id":200,"uuid":"0a91e75c-95c3-37f5-b391-563e8b2b9090","host":"172.30.91.10","path":"/opt/nfs/primary","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://172.30.90.10/opt/nfs/secondary","primaryStorageUrl":"nfs://172.30.91.10/opt/nfs/primary","url":"nfs://172.30.90.10/opt/nfs/secondary/template/tmpl/1/1/","format":"VHD","accountId":1,"name":"routing-1","wait":10800}}]
}
>> 2013-01-15 13:20:33,380 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-1:null)
Seq 1-575602701: Executing request
>> 2013-01-15 13:20:34,377 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null)
VmStatsCollector is running...
>> 2013-01-15 13:20:34,377 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null)
HostStatsCollector is running...
>> 2013-01-15 13:20:34,378 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null)
StorageCollector is running...
>> 2013-01-15 13:20:34,398 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null)
There is no secondary storage VM for secondary storage host nfs://172.30.90.10/opt/nfs/secondary
>> 2013-01-15 13:20:34,409 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-8:null)
Seq 1-575602702: Executing request
>> 2013-01-15 13:20:34,423 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-3:null)
Seq 1-575602703: Executing request
>> 2013-01-15 13:20:34,658 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-8:null)
Seq 1-575602702: Response Received:
>> 2013-01-15 13:20:34,658 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq
1-575602702: Received:  { Ans: , MgmtId: 134850803489641, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer
} }
>> 2013-01-15 13:20:34,866 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-3:null)
Seq 1-575602703: Response Received:
>> 2013-01-15 13:20:34,867 DEBUG [agent.transport.Request] (StatsCollector-1:null) Seq
1-575602703: Received:  { Ans: , MgmtId: 134850803489641, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
>> 2013-01-15 13:20:35,710 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:null)
destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-d29e29ec-eff7-40ec-9ea2-9b639e885516
>> 2013-01-15 13:20:35,711 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:null)
can not create vdi in sr 3a98d63e-c430-ef54-d7c0-7f2f1eac046d
>> 2013-01-15 13:20:35,712 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:null)
Catch Exception com.cloud.utils.exception.CloudRuntimeException on host:2d718c0f-ad74-4114-8345-2937cb68f786
for template: nfs://172.30.90.10/opt/nfs/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException:
can not create vdi in sr 3a98d63e-c430-ef54-d7c0-7f2f1eac046d
>> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 3a98d63e-c430-ef54-d7c0-7f2f1eac046d
>>     at com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2681)
>>     at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2703)
>>     at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:490)
>>     at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>>     at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>     at java.lang.Thread.run(Thread.java:679)
>> 2013-01-15 13:20:35,714 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-1:null)
Seq 1-575602701: Response Received:
>> 2013-01-15 13:20:35,717 DEBUG [agent.transport.Request] (DirectAgent-1:null) Seq
1-575602701: Processing:  { Ans: , MgmtId: 134850803489641, via: 1, Ver: v1, Flags: 110, [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch
Exception com.cloud.utils.exception.CloudRuntimeException on host:2d718c0f-ad74-4114-8345-2937cb68f786
for template: nfs://172.30.90.10/opt/nfs/secondary/template/tmpl/1/1/ due to com.cloud.utils.exception.CloudRuntimeException:
can not create vdi in sr 3a98d63e-c430-ef54-d7c0-7f2f1eac046d","wait":0}}] }
>>
>>
>> xensources.log:
>>
>> [20130115T18:20:23.599Z|debug|xenserver-jugvltyj|662 unix-RPC||cli] xe vdi-create
sr-uuid=3a98d63e-c430-ef54-d7c0-7f2f1eac046d virtual-size=MiB type=user name-label=cloud-43363919-aeba-4c0d-b795-0df27a2c2e18
username=root password=null
>> [20130115T18:20:23.605Z| info|xenserver-jugvltyj|662 unix-RPC|session.login_with_password
D:111ddce8947e|xapi] Session.create trackid=47c0a8894d3ac88d1a530cbaffeb6f63 pool=false uname=root
is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
>> [20130115T18:20:23.607Z|debug|xenserver-jugvltyj|662 unix-RPC|session.login_with_password
D:111ddce8947e|xapi] Attempting to open /var/xapi/xapi
>> [20130115T18:20:23.610Z|debug|xenserver-jugvltyj|663 unix-RPC||dummytaskhelper] task
dispatch:session.get_uuid D:d5bd415bbee1 created by task D:111ddce8947e
>> [20130115T18:20:23.622Z|debug|xenserver-jugvltyj|662 unix-RPC||xapi] Raised at record_util.ml:397.16-129
-> cli_operations.ml:1047.20-97 -> xapi_cli.ml:112.18-56 -> pervasiveext.ml:22.2-9
>> [20130115T18:20:23.628Z| info|xenserver-jugvltyj|662 unix-RPC|session.logout D:dffdfee2190a|xapi]
Session.destroy trackid=47c0a8894d3ac88d1a530cbaffeb6f63
>> [20130115T18:20:23.631Z|debug|xenserver-jugvltyj|662 unix-RPC||backtrace] Raised
at pervasiveext.ml:26.22-25 -> xapi_cli.ml:111.2-138 -> xapi_cli.ml:200.7-44 -> xapi_cli.ml:252.4-23
>> [20130115T18:20:23.631Z|debug|xenserver-jugvltyj|662 unix-RPC||cli] Xapi_cli.exception_handler:
Got exception INTERNAL_ERROR: [ Record_util.Record_failure("Failed to parse field 'virtual-size':
expecting an integer (possibly with suffix)") ]
>>


Mime
View raw message