Commit Graph

220 Commits

Author SHA1 Message Date
zhongyehong fb28184e3b 1.add udba parameter for aufs
2.change the icon of admin page
3.fix a display error when create cluster
2016-06-21 17:31:44 +08:00
tangshuangpku@hotmail.com 61167b5680 还原调试设置 2016-06-18 14:07:19 +08:00
tangshuangpku@hotmail.com cca4a91726 删除文档 2016-06-18 14:04:48 +08:00
tangshuangpku@hotmail.com d54caef30e 添加新接口 2016-06-07 22:19:31 +08:00
tangshuangpku@hotmail.com afb38fb5e6 添加新接口 2016-06-07 21:55:26 +08:00
tangshuangpku@hotmail.com 2360fa94a2 添加新接口 2016-06-07 21:10:43 +08:00
tangshuangpku@hotmail.com 8344aaa4c4 添加新接口 2016-06-07 19:48:19 +08:00
tangshuangpku@hotmail.com dd4fdbca0d 添加新接口 2016-06-07 18:47:29 +08:00
tangshuangpku@hotmail.com 92c0d9c753 添加新接口 2016-06-07 18:06:55 +08:00
tangshuangpku@hotmail.com ae71f8e695 添加新接口 2016-06-07 16:21:32 +08:00
tangshuangpku@hotmail.com 849575d46f 添加新接口 2016-06-07 02:23:55 +08:00
tangshuangpku@hotmail.com c167444707 添加新接口 2016-06-07 02:06:41 +08:00
tangshuangpku@hotmail.com 7d2de3f3a8 添加新接口 2016-06-07 01:10:12 +08:00
tangshuangpku@hotmail.com d283701ddf 添加新接口 2016-06-07 01:05:55 +08:00
tangshuangpku@hotmail.com 40520d4046 添加新接口 2016-06-07 01:05:17 +08:00
tangshuangpku@hotmail.com e5f2202104 添加新接口 2016-06-07 00:01:02 +08:00
tangshuangpku@hotmail.com 1bf6534c6d 添加新接口 2016-06-06 23:14:20 +08:00
tangshuangpku@hotmail.com 56a801ee34 添加新接口 2016-06-06 23:07:58 +08:00
tangshuangpku@hotmail.com 2758156e0b 添加新接口 2016-06-06 22:52:34 +08:00
tangshuangpku@hotmail.com a0cb1b9687 添加新接口 2016-06-06 21:58:58 +08:00
tangshuangpku@hotmail.com 1d6e86856d 添加新接口 2016-06-06 21:35:28 +08:00
tangshuangpku@hotmail.com 662f3ed89a 添加新接口 2016-06-06 19:44:45 +08:00
tangshuangpku@hotmail.com c3e9fcbb22 添加新接口 2016-06-06 19:08:30 +08:00
tangshuangpku@hotmail.com 974d8e2ad5 添加新接口 2016-06-06 19:06:59 +08:00
tangshuangpku@hotmail.com 59ab207f92 添加新接口 2016-06-06 18:55:45 +08:00
tangshuangpku@hotmail.com 3717a9f46f 添加新接口 2016-06-06 18:19:35 +08:00
tangshuangpku@hotmail.com c467568b98 添加模型层 2016-06-06 15:40:58 +08:00
zhong yehong f674fc9783 Merge pull request #115 from fanshibear/master
Limit privileges one can get via the admin page
2016-05-30 15:45:10 +08:00
leebaok 9041bb09a1 delete some unused code 2016-05-24 16:59:06 +08:00
Peidong Liu a28743c62f fix a activating bug 2016-05-23 10:11:01 +08:00
leebaok 6dad5d9f4d Merge pull request #116 from FirmlyReality/logbug
Logbug
2016-05-22 10:05:22 -05:00
ooooo 82be8a8476 add more comments for independent starting of master and workers 2016-05-22 22:48:24 +08:00
zhuyj17 ec5861d67c When container is stopped, running time and disk usage will also be displayed. 2016-05-21 15:48:37 +08:00
zhuyj17 cd43e0889d Let the rpc server not to log the requests. 2016-05-21 15:28:10 +08:00
Fan Shixiong 603662a350 Limit the privileges one can get via the admin page. 2016-05-19 08:59:38 -07:00
Fan Shixiong e9175e08fb Merge branch 'master' of https://github.com/unias/docklet 2016-05-19 06:17:05 -07:00
leebaok 755f135f60 Merge pull request #110 from FirmlyReality/realtime
Compute running time of containers.
2016-05-17 04:13:27 -05:00
Fan Shixiong b4342d92cf Label invalid values. Enable long words to be displayed. 2016-05-16 06:24:03 -07:00
zhuyj17 bacd43a5db Compute running time of a container. 2016-05-16 10:12:10 +08:00
zhuyj17 0f03dadc0e Add running time to monitor.py 2016-05-16 00:48:17 +08:00
zhuyj17 d8092fa3f1 Move monitoring information of container to 'monitor_vnodes[owner]'. 2016-05-16 00:07:21 +08:00
Fan Shixiong 4400282343 Add administration features for administrators to configure Docklet 2016-05-15 07:12:06 -07:00
zhongyehong cdea33eb72 remove guest, fix a bug in httprest.py. 2016-05-09 15:09:55 +08:00
zhongyehong 1bdd11ea5a Merge remote-tracking branch 'upstream/master' 2016-05-09 12:49:19 +08:00
leebaok 74957e7123 Merge pull request #100 from FirmlyReality/rpcmonitor
Use rpc to transfer monitor message.
2016-05-08 23:13:20 -05:00
zhongyehong c7d3f1e4df change the description of data_quota and data_quota_volume 2016-05-09 12:04:19 +08:00
zhongyehong e72968fda2 fix a name error 2016-05-09 11:56:12 +08:00
zhuyj17 8c01713589 Use rpc to transfer monitor message. 2016-05-09 10:05:31 +08:00
PedroLiu 758f55a7a5 Merge pull request #98 from PedroLiu/master
Simplify the procedure to change password
2016-05-08 20:38:41 +08:00
Peidong Liu b8476c30e0 Simplify the procedure to change password 2016-05-08 20:35:50 +08:00
leebaok 0a248edfdb [network] overwrite inrange check of UserPool to replace EnumPool's
Because UserPool has gateway but EnumPool not has
2016-05-07 16:56:14 +08:00
leebaok 01084c0ba3 [network] check addr/cidr whether in range of center pool and whether overlaping some addr/cidr in pool when free addr/cidr to center pool (when delete users) 2016-05-06 23:01:13 +08:00
leebaok c919a1e85e Merge remote-tracking branch 'upstream/master' into network-ip-check 2016-05-06 21:48:10 +08:00
zhongyh16 77ec586618 change some argument name in docklet.conf.template 2016-05-06 18:00:49 +08:00
leebaok 5bbbe705b4 Merge branch 'master' into network-ip-check 2016-05-06 16:56:53 +08:00
zhongyh16 acbe31325a make data quota come true 2016-05-06 16:41:11 +08:00
zhongyh16 390da9c41b use get method instead of getvalue 2016-05-06 13:50:46 +08:00
Donggang Cao 4396710c6f fix a bug in worker.py of var not found error 2016-05-05 00:25:25 -04:00
leebaok b22a34882c Merge pull request #82 from FirmlyReality/diskbug
Fix a bug in monitor.py, which may stop the thread.
2016-05-04 09:07:23 -05:00
ooooo f4c5126b06 rename variable 2016-05-04 20:15:19 +08:00
ooooo ff7c5b04df fix a bug 2016-05-04 20:08:50 +08:00
ooooo 8fcdd229e3 delete method getnode in etcdlib.py 2016-05-04 11:54:24 +08:00
zhuyj17 8a1056a0bf Fix a bug in monitor.py, which may stop the thread. 2016-05-04 11:54:11 +08:00
Peidong Liu 628c478198 Fix a bug that will occur when user token expires.
Closed the debug mode in httprest.py and web.py
Now 500 error in web.py will lead to a 500 page
500 error in httprest.py will lead to logout page
2016-05-03 22:29:32 +08:00
leebaok 44cd289cea Master : disable debug mode of flask in httprest.py
debug mode of flask will restart the process
	this will make some work before flask lost
2016-05-03 19:04:58 +08:00
leebaok 6a4dae1d1c [merge] merge flask-rewrite with reuse-vlanid 2016-05-03 17:06:30 +08:00
leebaok f8bce19fa9 Merge branch 'master' of https://github.com/PedroLiu/docklet into merge-flask-rewrite 2016-05-03 16:47:19 +08:00
leebaok 7deb9852b0 Merge branch 'master' into network-ip-check 2016-05-03 16:31:15 +08:00
leebaok 9ebd3673bf Merge pull request #73 from jklj077/master
vlan ids reusing
2016-05-03 03:23:58 -05:00
zhuyj17 d4cbf43ed1 Using flask to display monitor info. 2016-05-03 15:31:53 +08:00
Peidong Liu 2fc5a79163 Now backend is flask-styled
fix a bug that will cause 404 in /login/
2016-05-03 15:31:53 +08:00
zhongyehong a0ca4e5081 Merge remote-tracking branch 'upstream/master' 2016-04-29 15:43:17 +08:00
zhongyehong 7b96837dfe add upgrade.py to upgrade some configure file
add data space quota, but it doesn't work now
add default quota group, can change it in admin page
fix a bug when user first time to create image
2016-04-29 15:40:53 +08:00
jklj077 e8f96133d7 fix bugs related to vlan ids reusing 2016-04-29 13:47:56 +08:00
jklj077 9906f0588f reuse vlanids 2016-04-29 12:58:48 +08:00
ooooo 996d73c3f4 Merge remote-tracking branch 'upstream/master' into separate 2016-04-27 16:37:31 +08:00
ooooo 25ba87423d fix a little bug 2016-04-27 16:36:32 +08:00
zhongyehong 961baf6ae2 add disk quota 2016-04-27 16:31:46 +08:00
ooooo a1c166bb09 use heartbeat package to keep worker alive in order to separate worker and master 2016-04-27 16:21:04 +08:00
zhuyj17 fb2148833b Add truename on Node list page. 2016-04-25 01:00:06 +08:00
zhuyj17 237ce6f26f Display disk usage on status page. 2016-04-23 18:42:04 +08:00
zhuyj17 92c839ff45 Modify the table on status and status realtime pages. 2016-04-23 17:45:49 +08:00
zhuyj17 6075fe54c4 Display owner of container on Node list page. 2016-04-23 16:37:15 +08:00
ooooo 839ea23135 separate master and worker 2016-04-20 14:50:53 +08:00
ooooo 56242920c4 test 2016-04-20 14:17:12 +08:00
leebaok 38379feb62 [network] check whether IP exists and whether IP out of pool range when releasing IP to user pool by deleting vclusters 2016-04-18 20:26:19 +08:00
ooooo cd0df9847f Merge branch 'master' of https://github.com/unias/docklet into separate 2016-04-18 18:18:36 +08:00
ooooo e313f50b5e add some comment 2016-04-18 18:16:19 +08:00
zhongyehong 3fa04c95b9 Merge remote-tracking branch 'upstream/master' into ipdist 2016-04-18 10:54:50 +08:00
zhongyehong 9fd85a54f7 clean nfs when guest restart 2016-04-18 10:54:21 +08:00
zhongyehong e30d912498 init shared_vlanids when start master without this key in etcd
update R and python demo for basefs
2016-04-18 10:39:24 +08:00
PedroLiu 1f29075caa Merge pull request #60 from PedroLiu/master
2 enhancements
2016-04-18 10:33:07 +08:00
Peidong Liu 9ec437c27a Now token will expires in 3600s
Now workspace name will be checked, if not correct, flask will raise a 500 error
2016-04-18 10:28:26 +08:00
zhuyj17 4000d4f9d6 Fix a bug of status page. 2016-04-18 01:36:00 +08:00
zhuyj17 5f5ee95f8c Merge branch 'master' into displayquota 2016-04-15 23:33:35 +08:00
zhongyehong 7cd40a48e0 fix a bug when create guest #49
add hint for quota #7
2016-04-14 17:26:30 +08:00
zhongyehong a55fcba862 the user in fundation group share vlanid #51 2016-04-14 16:32:50 +08:00
zhuyj17 9bdd012bd0 Add a table in status page to display user's quotas. 2016-04-14 15:52:44 +08:00
zhongyehong 5511e92ab2 Merge remote-tracking branch 'upstream/master' into quotaadd 2016-04-12 18:12:54 +08:00
zhongyehong be05b079c1 make image quota come true,
fix display bug of label,
rename some quota,
2016-04-12 18:11:34 +08:00
zhongyehong fd120f4232 add disk quota, add button on adminpage to add quota #7
move system data to global/sys #41
2016-04-12 15:03:00 +08:00
Donggang Cao 6963dd836d add USER/.ssh/config to disable StrictHostKeyChecking 2016-04-11 09:39:25 -04:00
zhongyehong 354ad95d77 mount tmp from host #39 2016-04-11 15:03:09 +08:00
zhongyehong 99a8bcb07f Merge remote-tracking branch 'upstream/master' 2016-04-11 15:00:48 +08:00
zhongyehong c3ecd0d2a0 Merge remote-tracking branch 'upstream/master' 2016-04-11 14:37:42 +08:00
zhuyj17 02cbccdd15 Set quota in etcd and read from etcd for each container. 2016-04-11 12:17:06 +08:00
zhuyj17 5bdf6f1404 Fix minus quota bug 2016-04-11 11:39:58 +08:00
zhuyj17 8e091a5dfc Fix quota bug. Now quota will be read from groupinfo. 2016-04-10 20:12:48 +08:00
zhongyehong bf3eb91c27 fix mismatching of nfs mountpoint #35 2016-04-10 12:52:03 +08:00
zhongyehong 9437ae4447 move sys_run code to try block #18
use sys_run instead of self.sys_call in imagemgr.py
2016-04-08 15:41:56 +08:00
leebaok c3134256cf [lxc.custom.conf] support lxc.custom.conf in appending mode 2016-04-07 16:44:27 +08:00
leebaok c4f1a1c041 [bug] use clusterid-containerid as container's veth.pair name
because lxc config item length limit in 16 bytes
2016-04-07 15:23:27 +08:00
zhong 32d56db3a6 remove some useless notes 2016-04-06 17:22:06 +08:00
zhong d409d2358e can remove quota group from web page
can add quota with just one click
2016-04-06 14:43:16 +08:00
zhong 402fcf8c91 Merge remote-tracking branch 'upstream/master' into adminpage 2016-04-06 13:42:05 +08:00
zhong 6a438d1444 Merge remote-tracking branch 'upstream/master' into stopbug 2016-04-06 10:39:58 +08:00
zhong 4d46f06c73 fix bug of stop container #14 2016-04-06 10:37:50 +08:00
zhuyj17 3aa87cf858 Display quota in Status page. 2016-04-05 17:41:43 +08:00
zhong 08df8532b2 move quota group from database to json file 2016-04-05 17:36:39 +08:00
leebaok 66906a1424 [Init] init repository with Docklet 0.2.6 2016-03-31 16:03:38 +08:00