c30553ba74Fixed tests, added log messages
Anton Beloglazov
2012-10-16 11:28:31 +11:00
faa689279fAdded switching on all the compute hosts during the start up of the global manager
Anton Beloglazov
2012-10-16 11:21:50 +11:00
b711066238Added switch_hosts_on and switch_hosts_off, removed log_host_states
Anton Beloglazov
2012-10-16 11:00:00 +11:00
64bfebf1b0Added host logging to execute_overload
Anton Beloglazov
2012-10-15 18:00:06 +11:00
f1faa6361eCompleted and tested log_host_states
Anton Beloglazov
2012-10-15 17:52:03 +11:00
e3ec6120dcStarted working on log_host_states
Anton Beloglazov
2012-10-15 16:07:53 +11:00
ebd4a2ad18Added insert_host_states
Anton Beloglazov
2012-10-15 15:50:08 +11:00
66536cf938Added select_host_ids, started working on insert_host_states
Anton Beloglazov
2012-10-15 15:21:54 +11:00
601ac8c64bAdded a host_states table
Anton Beloglazov
2012-10-15 15:13:01 +11:00
55254c2fdcAdded a script for installing OpenStack Neat in chkconfig
Anton Beloglazov
2012-10-15 14:47:13 +11:00
398c9bcbdfFixed the today function
Anton Beloglazov
2012-10-15 14:46:49 +11:00
588562363eUpdated setup.py to include the db cleaner
Anton Beloglazov
2012-10-15 14:36:13 +11:00
f158dae4dcAdded an initscript for the db cleaner
Anton Beloglazov
2012-10-15 14:34:41 +11:00
14e1fcbd4dUpdated the description of the db cleaner
Anton Beloglazov
2012-10-15 14:34:32 +11:00
b427a1ed6cUpdated a comment
Anton Beloglazov
2012-10-15 13:52:12 +11:00
cf691784ffAdded a test of execute
Anton Beloglazov
2012-10-15 13:49:43 +11:00
badb5a6889Updated bottle to 0.11
Anton Beloglazov
2012-10-15 13:23:23 +11:00
5edbc71df6Debugging a failing in travis test
Anton Beloglazov
2012-10-15 12:31:18 +11:00
08f70ebff4Debugging a failing in travis test
Anton Beloglazov
2012-10-15 12:25:43 +11:00
97ba173a62Added cleanup_vm_resource_usage
Anton Beloglazov
2012-10-15 12:14:44 +11:00
6f54bb6c83Added the db cleaner module and tests
Anton Beloglazov
2012-10-15 11:42:14 +11:00
5e536e7a43Reverted test_manager
Anton Beloglazov
2012-10-15 11:41:59 +11:00
7750cc72f8Added a DB cleaner module and db_cleaner_interval config option
Anton Beloglazov
2012-10-15 11:36:36 +11:00
acf6891dfbAnother minor fix
Anton Beloglazov
2012-10-12 11:48:49 +11:00
08965f64d3Minor fix
Anton Beloglazov
2012-10-12 11:36:12 +11:00
0ba084b94dAdded logging responses from the global manager
Anton Beloglazov
2012-10-12 11:25:24 +11:00
259fe240e7Added a time request parameter, and raising an exception when requests are sent longer than 5 seconds ago
Anton Beloglazov
2012-10-12 11:20:21 +11:00
5b001e16aeFixed a bug in select_last_cpu_mhz_for_vms when there is no data collected for a VM yet
Anton Beloglazov
2012-10-09 17:16:02 +11:00
ad1371bc2cRemoved a comment
Anton Beloglazov
2012-10-09 17:00:16 +11:00
a7f6a2e6aaFixed vms_ram_limit
Anton Beloglazov
2012-10-09 16:55:43 +11:00
f959be81fbAdded handling deleted Vms
Anton Beloglazov
2012-10-09 16:55:14 +11:00
18c5a2246aModified vms_ram_limit to skip deleted VMs
Anton Beloglazov
2012-10-09 16:50:44 +11:00
4f53cd14fbAdded a host separating line
Anton Beloglazov
2012-10-09 16:29:21 +11:00
c46ae0017bAdded sorting of hosts
Anton Beloglazov
2012-10-09 12:48:57 +11:00
5d762da6d0A minor fix in a contract
Anton Beloglazov
2012-10-09 12:07:05 +11:00
2862f2fe1fUpdated the vm-placement script to show the max CPU MHz for VMs
Anton Beloglazov
2012-10-09 11:50:21 +11:00
596e0b8396Added the number of CPU cores into the hosts DB table
Anton Beloglazov
2012-10-09 11:38:26 +11:00
52fe619087Added the total RAM of VMs
Anton Beloglazov
2012-10-09 11:38:08 +11:00
a8287e733bUpdated the vm-placement script to display more information in a better way
Anton Beloglazov
2012-10-09 11:09:21 +11:00
5a39380523Added the VM status and total RAM usage
Anton Beloglazov
2012-10-08 17:07:02 +11:00
8eddc40f0cFixed migrate_vms to correctly recognize when a migration is completed
Anton Beloglazov
2012-10-08 16:49:48 +11:00
f9104a0befFixed host_used_ram to return the max RAM used by the VMs
Anton Beloglazov
2012-10-08 16:33:31 +11:00
4c64408cacAdded a script for printing the current VM placement
Anton Beloglazov
2012-10-08 16:02:11 +11:00
829c9a1927Another minor fix
Anton Beloglazov
2012-10-08 15:46:44 +11:00
25190c3ee8Added import time
Anton Beloglazov
2012-10-08 15:11:21 +11:00
8755db9e00Fixed is_vm_migrating
Anton Beloglazov
2012-10-08 15:07:51 +11:00
3e38aed35dMerge branch 'master' of github.com:beloglazov/openstack-neat
Anton Beloglazov
2012-10-08 14:04:52 +11:00
6d66e34294Added migrate_vms to synchronously live migrate a set of VMs
Anton Beloglazov
2012-10-08 14:03:05 +11:00
6f6f3e044cAdded a todo comment
Anton Beloglazov
2012-10-05 17:50:54 +10:00
c13f70c19fAdded a todo comment
Anton Beloglazov
2012-10-05 17:50:48 +10:00
4050a75440Added connection refused exception handling and logging by the local manager
Anton Beloglazov
2012-10-05 17:43:43 +10:00
465aaa9c4eFixed a bug in the global manager, when there is no data for new VMs
Anton Beloglazov
2012-10-05 17:36:20 +10:00
dcd7576049Added another log message
Anton Beloglazov
2012-10-05 17:23:35 +10:00
590da79cf2Added migration to the overload vase
Anton Beloglazov
2012-10-05 17:16:06 +10:00
2bca0e3dc4Fixed tests
Anton Beloglazov
2012-10-05 17:14:13 +10:00
717512f5adAdded VM migration using the nova API in case of an underload
Anton Beloglazov
2012-10-05 16:58:07 +10:00
f88cc129cbFixed a bug when a VM does not exist
Anton Beloglazov
2012-10-05 16:35:30 +10:00
08f1d4e2a2Added logging to the initscripts
Anton Beloglazov
2012-10-05 16:27:31 +10:00
45b791e341Uncommented request processing, fixed tests
Anton Beloglazov
2012-10-05 16:20:56 +10:00
acd0cb07d6Added -f to setup.py install
Anton Beloglazov
2012-10-05 15:57:19 +10:00
ea124282e1Made the compute-* scripts executable
Anton Beloglazov
2012-10-05 15:53:23 +10:00
0f0bbd4cbeAdded a log message if the host is idle
Anton Beloglazov
2012-10-05 15:48:09 +10:00
4f78146851Fixed returning the updated state in execute
Anton Beloglazov
2012-10-05 13:17:06 +10:00
c833d019d3Added scripts for starting, stopping and getting the status of the local manager on compute hosts
Anton Beloglazov
2012-10-05 13:10:13 +10:00
7737bf7b0eAdded requests to travis
Anton Beloglazov
2012-10-05 12:08:02 +10:00
5534c72c72Fixed the conditions
Anton Beloglazov
2012-10-05 12:05:57 +10:00
035e4f569fRemoved redundant state variables
Anton Beloglazov
2012-10-05 12:04:10 +10:00
c6c79740a6Updated the VM selection algorithm to return a list of VMs
Anton Beloglazov
2012-10-05 12:03:22 +10:00
d6c53793c6Added sending requests in case of an overload
Anton Beloglazov
2012-10-05 11:54:45 +10:00
36a2619bc1Added hashed username and password to the state
Anton Beloglazov
2012-10-05 11:51:52 +10:00
b81a8db0bcChanged local_manager_interval 60 -> 20
Anton Beloglazov
2012-10-05 11:32:01 +10:00
2ad9b18b49Added hostname to the state, added submitting underload requetss
Anton Beloglazov
2012-10-05 11:29:29 +10:00
8f2595528aTemporary replaced request processing in the global maanager by just logging the request data
Anton Beloglazov
2012-10-05 10:56:39 +10:00
ecd06b002eRemoved setup.py install from travis
Anton Beloglazov
2012-10-05 10:49:30 +10:00
522cabd86cFixed the initscripts
Anton Beloglazov
2012-10-05 10:38:49 +10:00
90b0110961Debugging the data collector initscript
Anton Beloglazov
2012-10-05 10:36:02 +10:00
225ccc66a8Debugging the data collector initscript
Anton Beloglazov
2012-10-05 10:34:09 +10:00
16fb522ac3Added scripts for starting, stopping and getting the status of the data collector service on compute hosts
Anton Beloglazov
2012-10-05 10:31:46 +10:00
381953d006Added mkdir -p /var/run/neat into the data collector initscript
Anton Beloglazov
2012-10-05 10:31:11 +10:00
4df0233e81Added a script for installing neat on compute hosts using python2 setup.py install
Anton Beloglazov
2012-10-05 10:21:19 +10:00
fd9076e930Added neat.conf to setup.py
Anton Beloglazov
2012-10-05 10:18:24 +10:00
59a3b725feChanged os_auth_url from localhost to controller
Anton Beloglazov
2012-10-05 10:18:09 +10:00
ada6ada8acAdded a todo about neat.conf
Anton Beloglazov
2012-10-04 18:42:26 +10:00
c871c18e73Added a script for building and installing the rpm
Anton Beloglazov
2012-10-04 18:41:26 +10:00
da3f530c38Fixed the rpm packaging to install initscripts and /usr/bin/*
Anton Beloglazov
2012-10-04 18:39:37 +10:00
1643031b6eFixed a test
Anton Beloglazov
2012-10-04 17:54:13 +10:00
496b98e2f4Added a script for generating an RPM
Anton Beloglazov
2012-10-04 17:50:19 +10:00
b28f0dcff9Added entry points
Anton Beloglazov
2012-10-04 17:50:09 +10:00
4f185e67b7Added links to the documentation
Anton Beloglazov
2012-10-03 18:11:49 +10:00
1a9d9de6fdAdded a todo
Anton Beloglazov
2012-10-03 18:10:22 +10:00
c6fa36e742Renamed: collector.log -> data-collector.log
Anton Beloglazov
2012-10-03 17:54:52 +10:00
2f6f5ef16aAdded a manifest, fixed bdist_rpm
Anton Beloglazov
2012-10-03 17:40:48 +10:00
69f2a98972Added initscripts for the local and global managers
Anton Beloglazov
2012-10-03 17:09:55 +10:00
08678dd10cAdded a template initscript for the data collector
Anton Beloglazov
2012-10-03 16:57:53 +10:00
269b706645Added a script for running all the compute scripts
Anton Beloglazov
2012-10-03 12:12:42 +10:00
f03189d34bMinor fix
Anton Beloglazov
2012-10-03 12:12:18 +10:00
92aeb4d0acAdded a script for copying neat.conf to the compute hosts from the controller
Anton Beloglazov
2012-10-03 12:07:12 +10:00
9ebc99ecb8Updated compute-clone-neat.py to use execute_on_hosts
Anton Beloglazov
2012-10-03 11:53:02 +10:00
b6162a5d15Added execute_on_hosts
Anton Beloglazov
2012-10-03 11:52:49 +10:00
f9e7dcc5cbCompleted and tested compute-clone-neat.py
Anton Beloglazov
2012-10-03 11:38:03 +10:00