Commit Graph

3075 Commits

Author SHA1 Message Date
Adolfo Gómez
c967d877d6 Removed from admin global config typos vars 2013-02-11 06:40:13 +00:00
Adolfo Gómez
29db540883 2013-02-11 06:34:36 +00:00
Adolfo Gómez
e8367041c1 * Fixed a typo on new isRestrained method at models
* Fixed a couple GlobalConfig var name that also has a typo
* Updated migration to include a new index on state_date for user services (new isRestrained method on DeployedServices lookups by this field)
2013-02-11 06:26:59 +00:00
Adolfo Gómez
2a95cbd4b9 * More about stats
* Added a fix for "broken" Deployed Services that could prevent broker from updating cache of other deployed services if one gets "inoperable". Now we have added a "Restrain" policy, where if a service has 3 or more deploy errors in less than ten minutes, it will be ignored for cache updating until this policy is not satisfied.
2013-02-11 06:08:28 +00:00
Adolfo Gómez
837e9a6b6a Finished one part of stats (adding counters and querying them) 2013-02-07 14:54:52 +00:00
Adolfo Gómez
e9ff77728f Working on stats (making efficient to query over a group of several millions of stats) 2013-02-07 13:52:37 +00:00
Adolfo Gómez
cebb7df457 Working on stats (making efficient to query over a group of several millions of stats) 2013-02-07 11:19:46 +00:00
Adolfo Gómez
516bd7eeb0 * Adding stats, charts, ...
* Refactoring some packages also
2013-02-07 08:37:54 +00:00
Adolfo Gómez
83278c7c6b * Added log control to admin client
* Added logs to users, authenticators and services (need more work)
2013-02-01 10:10:43 +00:00
Adolfo Gómez
1f218a4f96 * Adding logs to users & authenticators 2013-02-01 10:08:49 +00:00
Adolfo Gómez
0a6f18f1cc * Adding logs to users & authenticators 2013-02-01 09:41:38 +00:00
Adolfo Gómez
a740207b8e Added log for all initial loggable objects
Added removing logs at object destroy (models)
2013-01-31 14:24:29 +00:00
Adolfo Gómez
a1f72833a4 Fixed WinDomainOSManager 2013-01-30 17:44:24 +00:00
Adolfo Gómez
99c2a829b6 Updated 2013-01-30 16:50:47 +00:00
Adolfo Gómez
fc92b3edaa * Updated log system to manage it though a manager
* Updated default settings so tables are created using myisam (for speed) by default
* Updated model to remove doLog from UserService
* Added log manager
* Added log config parameter
* Updated components so they use the new log manager
* Updated virt client so if it can't connect, it raise an exception and do not initializes ovirt cached connection
* Updated plugin detect
* Added xmlrpc methods to access UserService logs
2013-01-28 09:51:38 +00:00
Adolfo Gómez
462cfe9391 Fixed log so source is better described. 2013-01-10 16:37:44 +00:00
Adolfo Gómez
59b4f27ca7 Fixed "created" field on machine log (from Date to DateTime... my mistake :-) ) 2013-01-10 16:22:19 +00:00
Adolfo Gómez
2af9e04343 * Added Log lovel str as constants
* Updated so services are keeped at least 10 after marked for removal
* Update os manager so it logs user in/out events (probably will remove this after testing log from actor directly...)
2012-12-19 12:33:13 +00:00
Adolfo Gómez
c1dd63a7a7 * Updated nxtransport to match new actor
* Updated UserServiceCleaner to wait a bit before trying to remove "removable" services (so we avoid most connections errors)
2012-12-19 12:09:15 +00:00
Adolfo Gómez
de680eabb3 Adding notification of ip/hostname of client (so we can get "source" of the conecction inside user services) 2012-12-14 11:47:39 +00:00
Adolfo Gómez
ff609a39e8 * Added support to existing transports to notify ip/hostname of client connected to service
* Added support to administration interface to show this data
2012-12-14 11:43:20 +00:00
Adolfo Gómez
6667544c39 Adding notification of ip/hostname of client (so we can get "source" of the connection inside user services) 2012-12-14 11:11:50 +00:00
Adolfo Gómez
1d8a0c1353 Comment fix :-) 2012-12-14 11:03:26 +00:00
Adolfo Gómez
463cf1677e Adding notification of ip/hostname of client (so we can get "source" of the conecction inside user services) 2012-12-14 11:02:08 +00:00
Adolfo Gómez
f6ad6bd92e Ignored .sh under this folder 2012-12-14 08:41:17 +00:00
Adolfo Gómez
a84159aa68 * Now working with Visual Studios Express 2012
* Added support for logging inside broker
* Added support for informing the machine where the connection has been originated
2012-12-12 12:46:45 +00:00
Adolfo Gómez
ece44a266d * Adding support for "connection source information" to services
* Adding support for logging inside services
2012-12-12 12:42:40 +00:00
Adolfo Gómez
10f22fb1e8 Advancing logging 2012-12-12 12:18:55 +00:00
Adolfo Gómez
d75422c96f * Added a "needed" comment on USerServiceManager
* Cached "modfinder" results
* Added "early" loading of dispatchers, so they can register (for example) Configuration Parameters, etc..
2012-12-05 09:09:33 +00:00
Adolfo Gómez
63d0f6e470 Fixed a bug with creation of assigned services for services without publication 2012-12-04 11:29:37 +00:00
Adolfo Gómez
baecf526a1 Checking how we can allow some TCs to use UDS as broker, i have detected some of them that asks for credentials when listing the machines. As UDS uses credentials to access the machine at the time the user access it (at time of listing, maybe that even the service is not created for that user), we can't provide credentials BEFORE assigning the machine.
In order to allow this kind of TCs to use UDS, we have implemented a mechanism that allows to know if a deployed service (or an service) transforms the credentials and, if so, the dispatcher for that TC can "skip" those services with that kind of os manager.
2012-12-03 10:42:18 +00:00
Adolfo Gómez
2716707952 Fixing up core so we can provide some kind of access using Thin Clients or Software clients not using web & html 2012-12-03 09:43:12 +00:00
Adolfo Gómez
74fa2c28a2 2012-12-03 09:13:09 +00:00
Adolfo Gómez
d109556c40 2012-12-03 05:05:01 +00:00
Adolfo Gómez
7d53be3383 Added "Experimental" to oVirt Name and Description on Interface (till enought tests are done) 2012-11-30 10:19:14 +00:00
Adolfo Gómez
d6b65a7e88 More test over oVirt, and added "Memory for Virtual Machine" and "Physical memory guaranteed" as parameters on oVirtService 2012-11-30 10:08:23 +00:00
Adolfo Gómez
06bdc36645 Removed unused imports... 2012-11-28 09:51:19 +00:00
Adolfo Gómez
8fe268a1f1 * Updated translations (definitions at least)
* Added translations to Spanish
2012-11-28 09:29:23 +00:00
Adolfo Gómez
ff955738b1 Replaced "translatable" by "_", so messages localization is easier... (my blame this was this way ;-)) 2012-11-28 09:05:33 +00:00
Adolfo Gómez
3decdf3d9e Now, on deseralization, sets values of "new fields" (those added to class AFTER a serialization) to defaults one. (So, if we have make a class with 3 fields, "a", "b" and "c", and we at a later stage adds "d", if serialiezed data contains only "a" "b" & "c", deseralziation will fill the value of "d" with its default value (if it has one) 2012-11-28 08:46:07 +00:00
Adolfo Gómez
8437c682fd It is not posible, using stable version, to start a machine created using the REST api if the datacenter contains an activated ISO domain. It seems to be a bug-fix here at: https://bugzilla.redhat.com/show_bug.cgi?id=843387, but have to test it.
Right now, to make oVirt work with stable version of oVirt (3.1 right now), you must DEACTIVATE ISO Domain in order to make this work.

Hopefully, 3.2 is almost here (expected for Q1 of 2013, i thin)
2012-11-28 07:29:56 +00:00
Adolfo Gómez
b4309e72fa Doing Level 2 cache part work on ovirt... 2012-11-26 13:49:52 +00:00
Adolfo Gómez
710b56d4e1 * Added support for OS Managers to change services passwords.
* oVirt should be usable right now, testing and fixing minor bugs
* Added support for Windows Support with password changing of user to new one
* Minor improvements (to code)
2012-11-26 13:39:22 +00:00
Adolfo Gómez
b298b5e3ad Added current computer name to NetUserChangePasswor. Now it seems to work (has to do more tests anyway) 2012-11-26 11:50:49 +00:00
Adolfo Gómez
7abe78ee20 Fixed a typo 2012-11-26 10:42:34 +00:00
Adolfo Gómez
2506d32da8 * Changed separator of action/parameters to '\r'
* Added "ChangeUserPassword" to Operations
* Added so GetInfo can return a message not only for machine renaming, but also for an user password changing (for WinRandomPassOsManager)
2012-11-26 09:08:10 +00:00
Adolfo Gómez
830e1b2e6f oVirt connector SHOULD work fine right now (but needs more testing... :P).
Have the "volPath" problem (inside vsdm/clientIF.py) at this time, solved by patching my installation, but i have to find a definitive solution.

Will do also tests with "real" vms (not just small 1Gb with no os to test platform), but this should work fine. (we will see..)
2012-11-23 11:47:58 +00:00
Adolfo Gómez
0eea8a33b5 Done oVirt engine connector. Now the hard part, test it and fix it (it isn't already usable!!!) 2012-11-22 10:28:52 +00:00
Adolfo Gómez
400ac892f0 Advancing a lot with ovirt. Detected something on machine creations that maybe an vdsm bug (ovirt). Going to make a bug report to see if it really is an error or is something i'm missing (seems like a bug anyway... :-) ) 2012-11-21 13:04:58 +00:00
Adolfo Gómez
aebacb166b oVirt provider now publishes and removes poblications. Already unusable until finished oVirtLinkedDeployment at least 2012-11-16 09:05:55 +00:00