Commit Graph

10012 Commits

Author SHA1 Message Date
David Anderson 580f3bfd49 - client: calculate disk share for zero-priority projects correctly
svn path=/trunk/boinc/; revision=24988
2012-01-03 10:14:02 +00:00
David Anderson 5be4be2c68 - LAMMPS
svn path=/trunk/boinc/; revision=24986
2012-01-03 09:47:21 +00:00
David Anderson fb8c2ee566 - remote job submission: show input file links
- ops: fix message: app.min_version applies to HR app versions,
    not client version


svn path=/trunk/boinc/; revision=24980
2012-01-03 03:51:43 +00:00
Rom Walton 5691f06dd6 - VBOX: Fix crashing issue I introduced last night attempting to
extract the hypervisor system log.
    - VBOX: Report the hypervisor system log with any failed vboxmanage
        command that happens during the phase where we setup the VM.
        
    samples/vboxwrapper/
        vbox.cpp, .h

svn path=/trunk/boinc/; revision=24977
2012-01-02 16:58:11 +00:00
Rom Walton 2c617ba8b5 Quick Updates
svn path=/trunk/boinc/; revision=24976
2012-01-02 16:53:43 +00:00
David Anderson 33b607dab1 - upgrade script:
- prompt user for DB user/passwd if DB updates needed
    - error out immediately if any DB update fails
    Fixes #1169, #1170
- create_work: check for duplicate <file_info>s in input template
    NOTE: the input template syntax is pretty clunky


svn path=/trunk/boinc/; revision=24969
2012-01-02 07:33:08 +00:00
David Anderson bba4ce24ce - client: compute projects' disk share (based on resource share).
Report it (along with disk usage) in scheduler request messages.
    This will allow the scheduler to send file-delete commands
    if the project is using more than its share.
- client: add <disk_usage_debug> log flag
- create_work: add --help, show --command_line option


svn path=/trunk/boinc/; revision=24968
2012-01-02 05:53:42 +00:00
Rom Walton 945267b14e - VBOX: If VirtualBox reports an error snag both the hypervisor system
log as well as the VM execution log.  Maybe the hypervisor log
        will tell us what is up with the virtual floppy device.
    - VBOX: Don't retry commands that are expected to fail in normal use
        cases.  It slows down getting the VM up and running.
    - VBOX: After starting the VM, use a timed loop waiting for the initial
        VM state change instead of just waiting for 5 seconds.  Older
        machines can take longer than 5 seconds to switch from poweroff
        to starting.  If we hit the main poll loop in that state the wrapper
        thinks we have crashed.
    - VBOX: Strip carriage returns from all the vboxmanage output on
        Windows.
        
    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24967
2012-01-02 04:30:42 +00:00
David Anderson fe56372ada - ops: fix link in index page
svn path=/trunk/boinc/; revision=24965
2012-01-02 02:31:12 +00:00
Rom Walton 474401c51d - OPS: Update error code translation table
html/inc
        result.inc

svn path=/trunk/boinc/; revision=24964
2012-01-01 23:54:58 +00:00
Rom Walton c55350d0a6 - OPS: Update failure_result_summary_by_platform.php to include
plan class information.
        
    html/ops
        failure_result_summary_by_platform.php

svn path=/trunk/boinc/; revision=24963
2012-01-01 23:44:48 +00:00
David Anderson cf4e77d089 - remote job stuff
svn path=/trunk/boinc/; revision=24962
2012-01-01 03:37:06 +00:00
David Anderson 8b4df3817e svn path=/trunk/boinc/; revision=24961 2012-01-01 03:35:29 +00:00
David Anderson 2b4e6c2f65 - web: new page to manage job submission
svn path=/trunk/boinc/; revision=24959
2011-12-31 08:57:53 +00:00
David Anderson 1eff1601d2 - web: add script for submission of batches of LAMMPS jobs
svn path=/trunk/boinc/; revision=24958
2011-12-31 07:50:55 +00:00
David Anderson c201b30561 - web: implement file sandbox for remote job submission
svn path=/trunk/boinc/; revision=24957
2011-12-31 04:33:11 +00:00
Rom Walton 1b2a01726a - WINSETUP: Hookup new custom actions to the BOINC Installers
win_build/installerv2/
        BOINC.ism
        BOINCx64.ism

svn path=/trunk/boinc/; revision=24952
2011-12-31 00:33:10 +00:00
Rom Walton 9eb3d91e77 - WINSETUP: Give 'boinc_admins' and 'boinc_projects' the ability to access and
launch the VirtualBox server-side application.  This should complete the
        needed work to run VirtualBox within the Windows sandboxed environment.
    - WINSETUP: Remove the virtualized file system tag from the Windows Explorer
        copied security token when launching BOINC Manager and BOINC Tray after
        setup has completed.  I believe this will resolve the new cookie issue
        experienced by PTP/GR/CE.

    win_build/installerv2/redist/Windows/src/boinccas/
        aclmgmt.cpp
        boinccas.def
        boinccas.vcproj
        CAGrantBOINCAdminsVirtualBoxRights.cpp, .h
        CAGrantBOINCProjectsVirtualBoxRights.cpp, .h
        CALaunchBOINCTray.cpp, .h
        dcomperm.h
        launcher.cpp
        listacl.cpp
        sdmgmt.cpp
        srvcmgmt.cpp
        utils.cpp
        wrappers.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24951
2011-12-30 22:38:10 +00:00
Rom Walton 3bc40138d0 Quick Updates
svn path=/trunk/boinc/; revision=24946
2011-12-30 16:03:37 +00:00
Rom Walton 741eb51893 - client: processor features buffer is supposed to be 1024 bytes. avoid
truncation.
        
    lib/
        hostinfo.cpp

svn path=/trunk/boinc/; revision=24945
2011-12-30 15:59:46 +00:00
David Anderson 95ebb112c2 - client: for VBox apps, check stderr for "ERR_CPU_VM_EXTENSIONS_DISABLED".
If found, set HOST_INFO::p_vm_extensions_disabled,
    and pass this to the scheduler.
- scheduler (VBox app plan function) if a host has p_vm_extensions_disabled
    set, don't sent it multicore VBox jobs.

Note: if you have a host with VM extensions, and they're disabled
    in the BIOS, and you enable them, you can remove the
    <p_vm_extensions_disabled> line from client_state.xml
    and you'll be eligible to get multicore VM jobs again.


svn path=/trunk/boinc/; revision=24944
2011-12-30 09:43:58 +00:00
David Anderson a08ab28d1c - client: parse APP:non_cpu_intensive correctly.
This got broken somehow.
	- client: don't crash if missing RSS feed file for some reason

svn path=/trunk/boinc/; revision=24942
2011-12-30 06:03:42 +00:00
Rom Walton 0320e95637 - VBOX: Add ERR_CPU_VM_EXTENSIONS_DISABLED string to the error case where
the VM extensions for the CPU have been disabled via the BIOS.  This
        allows the core-client to parse the response and disable future
        request for multi-core VM jobs.
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24940
2011-12-30 05:02:37 +00:00
David Anderson 0f46b80985 - scheduler: record Vbox version correctly in host records
- remote job submission: partial checkin for new file sandbox stuff


svn path=/trunk/boinc/; revision=24937
2011-12-29 06:30:18 +00:00
Rom Walton de8b312911 - WINSETUP: Introduce new BOINC setup packages which include VirtualBox.
win_build/installerv2/
        BOINC_vbox.ism
        BOINCx64_vbox.ism

svn path=/trunk/boinc/; revision=24928
2011-12-28 16:48:20 +00:00
David Anderson fc6d530a6c - client: shuffle disk usage code in preparation for disk accounting
- use new XML parser in some GUI RPC code


svn path=/trunk/boinc/; revision=24925
2011-12-28 14:52:03 +00:00
Rom Walton 9298b7ff6e - client: increase the buffer sizes for retrieving cpu features on *nix
type systems.  the latest generation of processors blow past 256 bytes
        and vmx and svm are truncated.
        
    client/
        hostinfo_unix.cpp

svn path=/trunk/boinc/; revision=24924
2011-12-28 13:12:21 +00:00
David Anderson 361877a59f - client: detect Windows HyperV Server 2008 R2 (from Crashtest)
svn path=/trunk/boinc/; revision=24921
2011-12-28 00:22:20 +00:00
Rom Walton 4b3baa236d - SCR: Remove last linger pieces of v5 backward graphics compatibility
from the screensaver.
        
    clientscr/
        screensaver.cpp
        screensaver_win.h

svn path=/trunk/boinc/; revision=24917
2011-12-27 17:16:22 +00:00
David Anderson df5d595c3a - scheduler, vbox plan class function:
send only 32/64 bit version to 32/64 bit host


svn path=/trunk/boinc/; revision=24916
2011-12-27 02:29:51 +00:00
Rom Walton d2de5056eb - VBOX: For hosts who do not have processors with VM extensions try
and disable the use of them at VM creation time.  Certain actions
        within VirtualBox will force enabling them at runtime and cause
        an error (like SMP support) but it should reduce confusion between
        volunteers and projects when a VM configuration change now causes
        a class of machine that used to work suddenly stop working.
    - VBOX: Add some more helpful text notes for error conditions that
        the volunteer might be able to address.  For instance other
        hypervisors locking the VM CPU features for exclusive use.
    - VBOX: If we have to dump out the VM execution log on Windows, remove
        excess carriage returns from the spew.
        
    samples/vboxwrapper/
        vbox.cpp
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24907
2011-12-26 16:27:24 +00:00
David Anderson 73eebc69fc - scheduler: we were using CPU time for elapsed time
when the latter wasn't reported.
    Do this BEFORE sanity checks on elapsed time
    to prevent cheating.


svn path=/trunk/boinc/; revision=24906
2011-12-26 14:31:14 +00:00
Rom Walton 63607c070c - VBOX: If a host has been assigned a single-core job and the
processor doesn't support hardware acceleration for VMs,
        manually turn off the hardware acceleration support in the VMs
        configuration.
        
        NOTE: The latest server scheduler should not be assigning
        multi-core jobs to hosts that do not have hardware acceleration.

    samples/vboxwrapper/
        vbox.cpp

svn path=/trunk/boinc/; revision=24905
2011-12-26 14:09:03 +00:00
Rom Walton 3dad803bc3 Quick Updates
svn path=/trunk/boinc/; revision=24904
2011-12-26 14:01:55 +00:00
Rom Walton 94c7b82d3b svn path=/trunk/boinc/; revision=24903 2011-12-26 13:42:34 +00:00
David Anderson fe16024982 - scheduler: in vbox plan class, require that host have
VM acceleration hardware feature
- remove job submission: typo fix


svn path=/trunk/boinc/; revision=24902
2011-12-26 08:27:40 +00:00
David Anderson 4e50e4b852 - update_versions: support <needs_network> flag in version.xml
svn path=/trunk/boinc/; revision=24901
2011-12-26 06:03:50 +00:00
David Anderson c28a4ef659 - make "needs network" a property of APP_VERSION rather than APP
svn path=/trunk/boinc/; revision=24900
2011-12-26 04:56:36 +00:00
David Anderson b003b8e290 - add support for APP::needs_network flag.
If set, don't run jobs for that app while network is suspended.
		- client: parse this flag and maintain in state file;
			do a job reschedule when network suspend state changes
		- GUI RPC: add RESULT::network_wait flag;
			if set, this job is waiting for network access to be allowed
		- Manager: display the above in task info
	- add support for "web graphics URL" (see above)
		- client: parse message containing URL on graphics_reply channel
			and store in ACTIVE_TASK::web_graphics_url
		- GUI RPC: add RESULT::web_graphics_url
		- Manager: if web graphics URL is present, Show Graphics opens a browser
	- remove some vestigial code for pre-V6 graphics

svn path=/trunk/boinc/; revision=24899
2011-12-26 03:30:32 +00:00
David Anderson 17e2cedefe - API/client/manager:
allow applications to supply a "web graphics URL",
    in which case the manager's "Show Graphics" button
    opens a browser at that URL.
    This typically would used for applications that
    implement a web server that serves pages showing
    job information in HTML.
- vboxwrapper: if <pf_guest_port> is specified in the config file,
    set up port forwarding to that port
    and use the above API call with URL "http://localhost:port"


svn path=/trunk/boinc/; revision=24898
2011-12-26 03:10:42 +00:00
Rom Walton 90db1ed0fd - VBOX: Disable hardware virtualization acceleration support by default. There
is a certain class of machines where the processor supports hardware
        acceleration but it is disabled in the computers BIOS.  Asking the volunteer
        to tweak settings in the computers BIOS isn't a good idea.  We might be able
        to turn it on as an advanced preference thing in the future.

    samples/vboxwrapper/
        vbox.cpp
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24896
2011-12-26 00:52:43 +00:00
Rom Walton 0f17e81554 - VBOX: For projects that use vboxwrapper to control how long a VM should run,
treat premature events as failures.  Avoids false positive results.
    - VBOX: Log the VM Execution log if a premature shutdown event has happened.
    - VBOX: Rename config option max_elapsed_time to job_duration.  Choosing
        max_elapsed_time turned out to be a bad choice in that its purpose
        became intermixed with the credit issue(s).

    samples/vboxwrapper/
        vbox.cpp,.h
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24894
2011-12-25 20:17:53 +00:00
Rom Walton 427688417b - VBOX: Richard Mitnick's VM didn't crash according to the latest build.
So what state did it enter?
        
    samples/vboxwrapper/
        vbox.cpp,.h

svn path=/trunk/boinc/; revision=24893
2011-12-25 14:49:21 +00:00
Rom Walton beb97b765f - VBOX: Extract and dump the VM log before attempting to delete the VM.
What was I thinking last night?
        
    samples/vboxwrapper/
        vboxwrapper.cpp

svn path=/trunk/boinc/; revision=24892
2011-12-25 14:18:19 +00:00
David Anderson 7f9fc64274 - vboxwrapper: for port-forwarding feature,
allow specification of guest port only.
    Change tag to <pf_guest_port>.
    Separate getting port from registering firewall rule


svn path=/trunk/boinc/; revision=24891
2011-12-25 13:18:51 +00:00
Rom Walton b6a188c250 - VBOX: If an error occurs only log the error once if log_error is true.
samples/vboxwrapper/
        vbox.cpp, .h
    

svn path=/trunk/boinc/; revision=24889
2011-12-25 06:04:24 +00:00
Rom Walton 59f2739cc5 - VBOX: Remove attempts to remove the floppy image from the media registry.
Apparently when the VM is removed from the VirtualBox server process
        it automatically deletes the floppy image from the media registry.
    - VBOX: If a VM crashes for one reason or another, append the VM execution
        log file to the stderr.txt file.  I believe this is what is going on with
        Richard Mitnick's computer.  At the very least we should be able to give
        this to the VirtualBox guys.
    - VBOX: Introduce a way to re-execute commands when a session lock
        event is detected.  A session lock event happens when a volunteer is
        tweaking something about the VM while vboxwrapper is attempting to query
        state information.
        
    samples/vboxwrapper/
        vbox.cpp, .h
        vboxwrapper.cpp, .h

svn path=/trunk/boinc/; revision=24887
2011-12-25 03:57:56 +00:00
David Anderson eaddebab61 - web: more translatability. From Uwe Becker.
svn path=/trunk/boinc/; revision=24886
2011-12-24 15:37:20 +00:00
David Anderson f1bd6cfa2d - web: show actual URL and weak auth on weak auth page
- web: make merge and pending pages translatable
From Uwe Becker


svn path=/trunk/boinc/; revision=24885
2011-12-24 05:19:21 +00:00
David Anderson 4774eeda52 - make_project: don't try to copy nonexistent file; fixes #1166
- scheduler: change Vbox app plan function to accommodate
    single and multithreaded variants


svn path=/trunk/boinc/; revision=24884
2011-12-24 05:07:20 +00:00