Closed SalomonBrys closed 9 years ago
Did you enable the plugin in configuration file ?
I think I did:
In archipel.conf:
[MODULES]
action_scheduler = True
centraldb = True
geolocalization = True
hypervisor_health = True
hypervisor_network = True
hypervisor_vmcasts = True
iphone_notification = False
oomkiller = True
snapshoting = True
storage = True
virtualmachine_appliance = True
vnc = True
xmppserver = True
vmparking = True # needs centraldb to be activated
In archipel-central-agent.conf:
[MODULES]
platformrequest = True
vmparking = True
Can you remove the comments on the vm parking line for archipel agent configuration file ?
OK, so I removed the comment and /etc/init.d/archipel restart.
After logging in I tried to park a VM and the app crashed. The crash report is below.
The crash forced me to reload the archipel web-app but once reloaded, I could see that my VM was correctly parked!
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.103 Safari/537.36
Exception: CPInvalidArgumentException: Range {-1, 1} is out of bounds.
Version: 0.6.0-e593f52 (Apophis)
Stack Trace:
Error, at $CPException__alloc (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:7454:16), <anonymous>:50:18), at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8007:8), at $CPException__exceptionWithName_reason_userInfo_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:7454:16), <anonymous>:67:25), at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8013:13), at $CPException__raise_reason_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:7454:16), <anonymous>:56:91), at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8011:8), at $CPIndexSet__addIndexesInRange_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:7454:16), <anonymous>:449:117), at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8009:8), at $CPIndexSet__addIndex_ (eval at <anonymous> (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:7454:16), <anonymous>:437:46), at objj_msgSend (http://app.archipelproject.org/Frameworks/Objective-J/Objective-J.js:8009:8)
Weird do you use the UI from nightlies ?
On 3 juil. 2014, at 07:58, Salomon BRYS notifications@github.com wrote:
OK, so I removed the comment and /etc/init.d/archipel restart.
After logging in I tried to park a VM and the app crashed. The crash report is below.
The crash forced me to reload the archipel web-app but once reloaded, I could see that my VM was correctly parked!
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.103 Safari/537.36
Exception: CPInvalidArgumentException: Range {-1, 1} is out of bounds.
Version: 0.6.0-e593f52 (Apophis)
Stack Trace:
Error, at $CPException__alloc (eval at
You right, got it. I'll take a look later. Thanks for the report.
Fixed in lasted master
I use the latest git version with both agent and central-agent built with -d. When I try to park a VM, I get a 501 error : the feature requested is not implemented by the recipient... Since I use the last git version, I do not have the binary archipel-vmparkingnode. Did I forget something ?