Commit Graph

2987 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
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
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
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
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
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
Adolfo Gómez
7717793604 Removed "excesive" debug and added sanity check to unserialization of form 2012-11-16 09:04:33 +00:00
Adolfo Gómez
2b3cc74f64 Removed "excesive" debug and added sanity check to unserialization of form 2012-11-16 09:02:39 +00:00
Adolfo Gómez
0bb26cfae1 * Added more methods needed at oVirtClient
* Finished (need testing) oVirtLinkedService, so now we can add new oVirtLinkedServices, but can't publish it :-)
* Added helpers methods to allow new oVirtLinkedServices
2012-11-15 08:56:59 +00:00
Adolfo Gómez
85dd9b0537 As service providers grows, it's easier to identify Services using "Provider name"\"Service name", at new deployed service form, so i have added this. 2012-11-15 08:53:24 +00:00
Adolfo Gómez
04192f3ec9 Hidden fields are not serialized by serializeForm, but by mistake i used "pass" instead of "continue" at check time to skip it... :-) 2012-11-15 08:42:52 +00:00
Adolfo Gómez
648967cb93 Adding necesary methods to oVirt Client 2012-11-14 20:55:20 +00:00
Adolfo Gómez
6c7a5e8d58 * Added info to client for managing new service form 2012-11-14 11:47:28 +00:00
Adolfo Gómez
c8f8ee054c Advancend in oVirt connectivity. Has found some problems (such as ovirtsdk doesn't allow, right now, have more than one simultaneous connection to an ovirt server), and i'm solving it "serializing" access to ovirt servers... Hopefully in a near future, ovirtsdk will allow access to more than one server and this will be unnecesary. 2012-11-14 11:27:00 +00:00
Adolfo Gómez
1b03851ace 2012-11-13 07:24:33 +00:00
Adolfo Gómez
af9bfccf65 With previous upload, solves a deadlock problem with database 2012-11-12 19:48:27 +00:00
Adolfo Gómez
96c95e8ff5 2012-11-12 19:29:51 +00:00
Adolfo Gómez
37f4bf6caf Updated message files 2012-11-08 09:44:21 +00:00
Adolfo Gómez
159d85fb7a * Added support for Multiline Configurations (needs new administration client)
* Added custom html support on login page
* Fixed (c) downpage to allow the use of "content" css property correctly (see uds.css)
* Upgraded needed client version to 1.0.8
2012-10-30 16:02:08 +00:00
Adolfo Gómez
8a04db28e9 Starting kvm (oVirt based) part 2012-10-30 15:07:01 +00:00
Adolfo Gómez
a4c1f6af8f Fixed a bug with encodings when using extended chars (such as á, ...). Set default encoding at "wsgi.py" to UTF-8 and added a custom "sitecustomize.py" so, in case we run server from command line (with PYTHONPATH at least pointing to "."), correctly sets the encoding to UTF-8 2012-10-30 15:00:45 +00:00
Adolfo Gómez
abd4246b40 Added "alter table character set" on creation to modify them to utf8 (better is to have database in utf8) 2012-10-29 14:03:00 +00:00
Adolfo Gómez
b8c5678bde Removed storage debug line 2012-10-25 16:34:51 +00:00
Adolfo Gómez
069044d0ab Updated signed rdp.jar to show pin bar by default (On windows) 2012-10-24 13:48:12 +00:00
Adolfo Gómez
377d00f190 Fixed a bug with internal auth (no groups returned on authentication, resulting in access denied) 2012-09-29 04:50:40 +00:00
Adolfo Gómez
996b429f85 * Fixed internal DB not validating groups of user at login (so user has no valid group, and can't log in) 2012-09-21 10:33:42 +00:00
Adolfo Gómez
929e589b45 * Fixed service access from deployed publication 2012-09-20 12:50:23 +00:00
Adolfo Gómez
e9c810a80f * Fixed error with user service 2012-09-20 12:36:00 +00:00
Adolfo Gómez
af33a442b4 * Fixed Internal auth
* Added debug to Publication (info)
2012-09-20 11:29:00 +00:00
Adolfo Gómez
f8830a9824 2012-09-15 10:02:36 +00:00
Adolfo Gómez
14c83cca68 * Fixed bug at choose callbacks (from gui) that was calling directly to validateCredentials instead of using @needs_credentials decorator 2012-09-15 09:54:15 +00:00
Adolfo Gómez
0044318388 Minor regex ldap fixes 2012-08-20 05:22:49 +00:00
Adolfo Gómez
35c23af6bd Updated sample settings 2012-07-31 13:08:31 +00:00
Adolfo Gómez
ee3b4f818d Removed Linux Os Manager binary 2012-07-31 12:21:52 +00:00
Adolfo Gómez
36be832d53 More binaries out of the source code 2012-07-31 11:48:29 +00:00
Adolfo Gómez
bd81e83f7a Some more refactoring 2012-07-31 10:42:30 +00:00
Adolfo Gómez
22d728a152 * Done some refactoring over uds.core.jobs
* Added method to model Authenticator so we can check if it is of a type
2012-07-30 02:30:46 +00:00
Adolfo Gómez
6000d4f30c Changed type of storage field "data" 2012-07-30 01:23:14 +00:00
Adolfo Gómez
2199904b50 Some more refactoring done 2012-07-27 12:13:05 +00:00
Adolfo Gómez
99d0a0cc75 Updated documentation 2012-07-27 12:08:38 +00:00
Adolfo Gómez
ebc987a98e Fixed comment 2012-07-27 11:56:51 +00:00
Adolfo Gómez
4b31a78e25 * Added "get" an "put" methods to storage (much more easy to remember than readData and savedata...)
* Updated callback so it also gets Groups Manager, needed for group validations
* Fixed getOrCreateUser at Authenticator model, so it updates the name if new name differs from old name
* Removed "return to main" from detectJava, so it transition is more "seamless"
2012-07-27 02:00:25 +00:00
Adolfo Gómez
18a30e0068 Updated authenticator callback, and added a few methods to Cryptomanager 2012-07-26 12:50:36 +00:00
Adolfo Gómez
44dfb68a1c Little bug fixed at urls 2012-07-25 13:02:10 +00:00
Adolfo Gómez
f182647d81 Changed authentication callback url generation, so it uses name instead of database id. 2012-07-25 12:36:03 +00:00
Adolfo Gómez
8367707a7b Added default return value to Cache.get 2012-07-25 01:30:08 +00:00
Adolfo Gómez
f7703ff992 Added DJango request to values dictionary, passed at authenticator initialization (we may need request object to, for example, generate uniques ids based on server address, and request object can provide this) 2012-07-24 23:43:32 +00:00
Adolfo Gómez
e04239de55 Added request object to xmlrpc methods that needs credentials 2012-07-23 15:59:13 +00:00
Adolfo Gómez
cf1ca260cb Changed Authenticator so the can support "logout" 2012-07-23 14:57:20 +00:00
Adolfo Gómez
503d03431c Adapting authenticator to better support of SSOs 2012-07-23 13:34:09 +00:00
Adolfo Gómez
713614a784 Refactoring, to make things easier to understand and use 2012-07-20 01:38:15 +00:00
Adolfo Gómez
bef6a52354 Refactoring, to make things easier to understand and use 2012-07-20 01:14:41 +00:00
Adolfo Gómez
3c81d4ab5a 2012-07-20 00:32:04 +00:00
Adolfo Gómez
af3ee52058 Initial release 2012-07-19 23:47:54 +00:00