Commit Graph

164 Commits

Author SHA1 Message Date
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
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