[one-users] sunstone uploads

Michael Curran michael.curran at connectsolutions.com
Wed Jul 17 06:00:44 PDT 2013


I have sunstone set to upload files to /var/tmp (which is set to 1777, as expected) however the uploaded directory does not appear to get created

Anyone have any ideas where to look within sunstone for what is taking place during that process?

There are no errors in the sunstone.error log and the upload command looks complete in sunstone.log - just nothing created

I confirmed that I can create files in /var/tmp as you would normally expect - so its not a permissions issue at any level

Currently working around by uploading the file to the ONE server and specifying a path, which does work fine.

Entries in Sunstone.log

Wed Jul 17 05:27:28 2013 [I]: 192.168.99.145 - - [17/Jul/2013 05:27:28] "POST /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Windows+Im
age+2%22%2C%22TYPE%22%3A%22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A%221%22%7D&file=disk.vmdk&qqfile=disk.vmdk HTTP/1.1" 2
01 1033 5.4591

Oned.log

Wed Jul 17 05:27:22 2013 [ReM][D]: Req:8656 UID:0 ImageAllocate invoked, "PERSISTENT="NO"...", 1
Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: LOG I 3771 ExitCode: 0

Wed Jul 17 05:27:23 2013 [ImM][I]: ExitCode: 0
Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: STAT SUCCESS 3771 1

Wed Jul 17 05:27:23 2013 [ImM][I]: Copying /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to repository for image 24
Wed Jul 17 05:27:23 2013 [ReM][D]: Req:8656 UID:0 ImageAllocate result SUCCESS, 24
Wed Jul 17 05:27:23 2013 [ReM][D]: Req:9920 UID:0 ImageInfo invoked, 24
Wed Jul 17 05:27:23 2013 [ReM][D]: Req:9920 UID:0 ImageInfo result SUCCESS, "<IMAGE><ID>24</ID><U..."
Wed Jul 17 05:27:23 2013 [ReM][D]: Req:5184 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Wed Jul 17 05:27:23 2013 [ReM][D]: Req:5184 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>26<..."
Wed Jul 17 05:27:24 2013 [ReM][D]: Req:3984 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Wed Jul 17 05:27:24 2013 [ReM][D]: Req:3984 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>26<..."
Wed Jul 17 05:27:24 2013 [InM][E]: poll: Error executing: virsh -c 'esx://192.168.250.34/?no_verify=1&auto_answer=1' --readonly dominfo Name err: ExitCode: 1
Wed Jul 17 05:27:24 2013 [InM][I]: out:
Wed Jul 17 05:27:24 2013 [InM][I]: error: failed to get domain 'Name'
Wed Jul 17 05:27:24 2013 [InM][I]: error: Domain not found: No domain with name 'Name'
Wed Jul 17 05:27:24 2013 [InM][I]:
Wed Jul 17 05:27:24 2013 [InM][I]: ExitCode: 0
Wed Jul 17 05:27:24 2013 [InM][D]: Host 192.168.250.34 (10) successfully monitored.
Wed Jul 17 05:27:24 2013 [VMM][I]: VM 26 successfully monitored: STATE=a
Wed Jul 17 05:27:24 2013 [VMM][I]: VM 32 successfully monitored: STATE=a
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG I 24 Command execution fail: /var/lib/one/remotes/datastore/vmfs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjI0PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+V2luZG93cyBJbWFnZSAyPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+M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9BPjxPVEhFUl9VPjE8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD52bWZzPC9EU19NQUQ+PFRNX01BRD52bWZzPC9UTV9NQUQ+PEJBU0VfUEFUSD4vdmFyL2xpYi9vbmUvZGF0YXN0b3Jlcy8xPC9CQVNFX1BBVEg+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4tMTwvQ0xVU1RFUl9JRD48Q0xVU1RFUj48L0NMVVNURVI+PElNQUdFUz48SUQ+MTM8L0lEPjwvSU1BR0VTPjxURU1QTEFURT48QlJJREdFX0xJU1Q+PCFbQ0RBVEFbMTkyLjE2OC4yNTAuMzQgMTkyLjE2OC4yNTAuMzhdXT48L0JSSURHRV9MSVNUPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxEU19VU0VfU1NIPjwhW0NEQVRBW3llc11dPjwvRFNfVVNFX1NTSD48VE1fTUFEPjwhW0NEQVRBW3ZtZnNdXT48L1RNX01BRD48VE1fVVNFX1NTSD48IVtDREFUQVt5ZXNdXT48L1RNX1VTRV9TU0g+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4= 24
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG I 24 cp: Copying local disk folder /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to the image repository

Wed Jul 17 05:27:24 2013 [ImM][I]: cp: Copying local disk folder /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to the image repository
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG E 24 cp: Command "scp -r /var/tmp/sunstone-upload20130717-5022-zwbmhp-0/* 192.168.250.34:/vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8" failed: /var/tmp/sunstone-upload20130717-5022-zwbmhp-0/*: Not a directory

Wed Jul 17 05:27:24 2013 [ImM][E]: cp: Command "scp -r /var/tmp/sunstone-upload20130717-5022-zwbmhp-0/* 192.168.250.34:/vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8" failed: /var/tmp/sunstone-upload20130717-5022-zwbmhp-0/*: Not a directory
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG E 24 Error copying /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to /vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8 through SCP

Wed Jul 17 05:27:24 2013 [ImM][E]: Error copying /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to /vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8 through SCP
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG I 24 ExitCode: 1

Wed Jul 17 05:27:24 2013 [ImM][I]: ExitCode: 1
Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: CP FAILURE 24 Error copying /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to /vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8 through SCP

Wed Jul 17 05:27:24 2013 [ImM][E]: Error copying image in the datastore: Error copying /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to /vmfs/volumes/1/9d822b5240fa3dc7b3fbaadd2088faa8 through SCP


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com<http://www.connectsolutions.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130717/8b740d78/attachment-0001.htm>


More information about the Users mailing list