[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: oo-admin-ctl-usage and oo-admin-ctl-user



I tried that. And it seems to be success, because I saw the following additional storage. 
But when I scp a big file to ~/app-root/data/, it still reported " m-0: write failed, user block limit reached" when the scp reaches 1GB limit. I am wondering whether the additional storage is used differently than the base storage. 

rhc cartridge-storage --show -a so
RESULT:

Python 2.6
----------
  Base Gear Storage:       1GB
  Additional Gear Storage: 2GB

MySQL Database 5.1
------------------
  Base Gear Storage:       1GB
  Additional Gear Storage: 2GB

Thanks,
Shoumeng


-----Original Message-----
From: Liang Xia [mailto:lxia redhat com] 
Sent: Wednesday, October 23, 2013 4:11 PM
To: Yan, Shoumeng
Cc: OpenShift; users lists openshift redhat com; Openshift Dev
Subject: Re: oo-admin-ctl-usage and oo-admin-ctl-user

You can try "rhc cartridge-storage $YOUR_CARTRIDGE -a $YOUR_APP --add $AMOUNT".

----- Original Message -----
From: "Shoumeng Yan" <shoumeng yan intel com>
To: "OpenShift" <openshift redhat com>
Cc: users lists openshift redhat com, "Openshift Dev" <dev lists openshift redhat com>
Sent: Wednesday, October 23, 2013 3:06:52 PM
Subject: RE: oo-admin-ctl-usage and oo-admin-ctl-user

I am using openshift origin. And I am sending to the Openshift user/dev lists. 
I wanted to increase the gear size quota limit. I saw the --setmaxstorage option from the man page for oo-admin-ctl-user of my Openshift origin installation, and so had a try but no success. 
Then I Googled and found the command was mentioned in the administration guide for Openshift enterprise. 

Thanks,
Shoumeng

-----Original Message-----
From: OpenShift [mailto:openshift redhat com] 
Sent: Wednesday, October 23, 2013 11:39 AM
To: Yan, Shoumeng
Cc: users lists openshift redhat com; Openshift Dev
Subject: Re: oo-admin-ctl-usage and oo-admin-ctl-user

If you are running OpenShift origin, you would be better served by using the developer mailing list here (http://lists.openshift.redhat.com/openshiftmm/listinfo) or if you are running enterprise, I think you should enter a ticket at access.redhat.com

----- Original Message -----
From: "Shoumeng Yan" <shoumeng yan intel com>
To: users lists openshift redhat com, "Openshift Dev" <dev lists openshift redhat com>
Sent: Tuesday, October 22, 2013 10:49:48 PM
Subject: oo-admin-ctl-usage and oo-admin-ctl-user



Hi guys, 



I have two questions. 



1) oo-admin-ctl-usage 

[root osbroker test]# oo-admin-ctl-usage --list 

Errors/Warnings will be logged to terminal 

2013-10-22 16:49:20 +0800 INFO:: 

---------- STARTED ---------- 



2013-10-22 16:49:20 +0800 INFO:: 

---------- ENDED, #Errors: 0, #Warnings: 0 ---------- 



Although I have several users and apps, oo-admin-ctl-usage –list does not show anything. Does this command work for Openshift origin? I am referring to the Openshift enterprise document at https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/1/pdf/Administration_Guide/OpenShift_Enterprise-1-Administration_Guide-en-US.pdf 



2) oo-admin-ctl-user 



[root osbroker test]# oo-admin-ctl-user -l demo --setmaxstorage 20 

User demo: 

consumed gears: 2 

max gears: 100 

max storage per gear: 20 

plan upgrade enabled: 

gear sizes: small 

sub accounts allowed: false 



It seems the user demo should be able to dump 20GB into its gear. But I failed to do that and the reported error is still about quota limit. So, what’s the purpose of the option -setmaxstorage? 



Thanks, 

Shoumeng 

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]