Re: [one-users] sunstone nil

2014-05-08 Thread Hyun Woo Kim
Hi, Sorry, please ignore my previous email Turns out this error is caused by my modifications in our use of sunstone. Hyunwoo FermiCloud From: Hyunwoo Kim mailto:hyun...@fnal.gov>> Date: Thursday, May 8, 2014 3:34 PM To: users mailto:users@lists.opennebula.org>> Subject: [one-users] sunstone nil

[one-users] sunstone nil

2014-05-08 Thread Hyun Woo Kim
Hi, We are testing ON4.6 here in Fermilab and sunstone produces the following error right after we start sunstone as shown in C far below. My guess is as follows: The error message A originates from another message B A : NoMethodError - undefined method `call' for nil:NilClass: B: /usr/lib/one

Re: [one-users] restricted_attr in oned.conf of ON44

2014-04-17 Thread Hyun Woo Kim
teven C Timm mailto:t...@fnal.gov>> Subject: Re: [one-users] restricted_attr in oned.conf of ON44 On Wed, Apr 16, 2014 at 5:15 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi Ruben, Thanks for the message. (It's still confusing to me though.) Let me see if I understand thi

Re: [one-users] restricted_attr in oned.conf of ON44

2014-04-16 Thread Hyun Woo Kim
cmar...@opennebula.org<mailto:cmar...@opennebula.org> | @OpenNebula<http://twitter.com/opennebula><mailto:cmar...@opennebula.org> On Tue, Apr 15, 2014 at 5:50 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hello, http://docs.opennebula.org/4.4/administration/referenc

Re: [one-users] onedb upgrade and XML

2014-04-16 Thread Hyun Woo Kim
Cloud Made Simple www.OpenNebula.org<http://www.OpenNebula.org> | cmar...@opennebula.org<mailto:cmar...@opennebula.org> | @OpenNebula<http://twitter.com/opennebula><mailto:cmar...@opennebula.org> On Tue, Apr 15, 2014 at 11:11 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>&

Re: [one-users] onedb upgrade and XML

2014-04-15 Thread Hyun Woo Kim
I have found one possible solution I modified /usr/lib/one/ruby/onedb/3.8.5_to_3.9.30.rb as follows; @db.fetch("SELECT * FROM old_template_pool") do |row| doc = Document.new(row[:body]) template = nil doc.root.each_element("TEMPLATE") do |e|

[one-users] restricted_attr in oned.conf of ON44

2014-04-15 Thread Hyun Woo Kim
Hello, http://docs.opennebula.org/4.4/administration/references/oned_conf.html#oned-conf-restricted-attributes-configuration says we can use {VM,IMAGE}_RESTRICTED_ATTR to restrict users outside the oneadmin group but I experiment as a user whose group is users, not oneadmin to launch a VM from a

[one-users] onedb upgrade and XML

2014-04-15 Thread Hyun Woo Kim
Hello, onedb upgrade command of ON44 against an old DB fails to do the following two tasks. 1. should have been inserted, but missing 2. in /VMTEMPLATE/TEMPLATE/GRAPHICS/ should have been removed, but still there.. What should I do about these? I am investigating a possibility to use xpath

Re: [one-users] data store not created in VMHosts

2014-03-28 Thread Hyun Woo Kim
If HostXML::test_ds_capacity only creates $DATASTORE_LOCATION/ assuming $DATASTORE_LOCATION itself exists, my next question here might be, which code creates $DATASTORE_LOCATION itself and when? I don't think I missed an instruction to create $DATASTORE_LOCATION manually in the ON documentat

Re: [one-users] data store not created in VMHosts

2014-03-28 Thread Hyun Woo Kim
; Cc: "users@lists.opennebula.org<mailto:users@lists.opennebula.org>" mailto:users@lists.opennebula.org>> Subject: Re: [one-users] data store not created in VMHosts Hi, On Thu, Mar 27, 2014 at 9:57 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi, I am testing th

Re: [one-users] data store not created in VMHosts

2014-03-28 Thread Hyun Woo Kim
.org<mailto:users@lists.opennebula.org>" mailto:users@lists.opennebula.org>> Subject: Re: [one-users] data store not created in VMHosts Hi, On Fri, Mar 28, 2014 at 5:05 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi, Here is the output. By the way, In VMHost:/var/lib/one/,

[one-users] data store not created in VMHosts

2014-03-27 Thread Hyun Woo Kim
Hi, I am testing the data store feature of ON 4.4 in a very simple configuration and I am getting an error that I can NOT understand. I have one cluster with one img type DS (ID 1, DS=fs, T/M=ssh) and one sys type DS (ID 100, that I created with ssh TM) Then I attach one VMHost to this cluster

Re: [one-users] econe-describe-images command in ON 4.4

2014-02-05 Thread Hyun Woo Kim
o:users@lists.opennebula.org>> Subject: Re: [one-users] econe-describe-images command in ON 4.4 On 5 February 2014 19:08, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Let me ask further questions. When I do the following command, econe-register ami-0008 -U http://f

Re: [one-users] econe-describe-images command in ON 4.4

2014-02-05 Thread Hyun Woo Kim
gov>> Cc: "users@lists.opennebula.org<mailto:users@lists.opennebula.org>" mailto:users@lists.opennebula.org>> Subject: Re: [one-users] econe-describe-images command in ON 4.4 On 5 February 2014 16:37, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi Daniel, Than

Re: [one-users] econe-describe-images command in ON 4.4

2014-02-05 Thread Hyun Woo Kim
mailto:users@lists.opennebula.org>> Subject: Re: [one-users] econe-describe-images command in ON 4.4 Hi Hyunwoo, On 5 February 2014 13:20, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi, I have recently deployed ON 4.4 and have been testing EC2 (econe-) commands. First I could do

[one-users] econe-describe-images command in ON 4.4

2014-02-05 Thread Hyun Woo Kim
Hi, I have recently deployed ON 4.4 and have been testing EC2 (econe-) commands. First I could do econe-upload successfully. The new image can be seen with oneimage list command, but econe-describe-images just shows an empty list. (This command is working in our ON 3.2 EC2 system). What has chan

Re: [one-users] oneimage create command in ON3.4 and up

2013-12-03 Thread Hyun Woo Kim
ult (1) successfully monitored. Or an error message from the drivers. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org<http://www.OpenNebula.org> | cmar...@opennebula.org<mailto:cmar...@opennebula.org> | @OpenNebula<

Re: [one-users] oneimage create command in ON3.4 and up

2013-12-03 Thread Hyun Woo Kim
or message from the drivers. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org<http://www.OpenNebula.org> | cmar...@opennebula.org<mailto:cmar...@opennebula.org> | @OpenNebula<http://twitter.com/opennebula><mailto

Re: [one-users] oneimage create command in ON3.4 and up

2013-12-03 Thread Hyun Woo Kim
ar...@opennebula.org> On Mon, Dec 2, 2013 at 11:37 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Hi, Let me ask a basic question. I just started testing ON4.2 and when I use oneimage command to register a first image, I am getting the following error message -bash-4.1$ oneimage cre

[one-users] oneimage create command in ON3.4 and up

2013-12-02 Thread Hyun Woo Kim
Hi, Let me ask a basic question. I just started testing ON4.2 and when I use oneimage command to register a first image, I am getting the following error message -bash-4.1$ oneimage create firstimage.template --datastore default Not enough space in datastore I guess this is because the "defaul

Re: [one-users] an error associated with onevm delete of persistent image

2013-05-01 Thread Hyun Woo Kim
e persistent images in the error state so the consistency of the image can be checked. OpenNebula will not try to move the image back to the datastore. oneimage enable will activate the image again. Cheers Ruben On Wed, May 1, 2013 at 6:43 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>>

[one-users] an error associated with onevm delete of persistent image

2013-05-01 Thread Hyun Woo Kim
Hi, Let me describe an error situation that I experienced. We are using ONe3.2. I launch a VM off a persistent image but it fails at an very early stage (for example tm_ln.sh) so I end up having a VM in "failed" state. Next, when I try to delete it via "onevm delete", I have error messages tha

Re: [one-users] shared transfer manager and image file ownership to qemu

2013-04-11 Thread Hyun Woo Kim
Hi, Thanks for the message. I was aware of dynamic_ownership attribute but I did not know the documentation also had instruction about user and group. I solved this problem by directly modifying /etc/group to put the user qemu in the group oneadmin. I should try what the documentation suggests in

Re: [one-users] onevm cancel for a persistent image via TM_ shared

2013-04-10 Thread Hyun Woo Kim
e, so "it's already done". What would you have it do instead? cheers, Jaime On Mon, Mar 18, 2013 at 4:17 PM, Hyun Woo Kim mailto:hyun...@fnal.gov>> wrote: Dear ON Developers, Our ON configuration is a bit different from what ON manual assumes. The following is my gues

Re: [one-users] shared transfer manager and image file ownership to qemu

2013-04-09 Thread Hyun Woo Kim
Please ignore the original question and let me ask a new question. When using shared transfer manager, it looks like the image at IMAGE_REPOSITORY_PATH must have 666 permission to get launched (I had to chmod manually) but $ONE_LOCATION/var/remotes/image/fs/mv which must be called from onevm can

[one-users] shared transfer manager and image file ownership to qemu

2013-04-09 Thread Hyun Woo Kim
To ON developers, When we launch a vm via tm_shared, we observe that the original image file in the repository changes its ownership from oneadmin to qemu as soon as it starts running. Could you point me to the code that does this ownership change for the image? Thanks in advance. Hyunwoo Kim F

[one-users] tm_clone versus tm_ln in shared

2013-03-19 Thread Hyun Woo Kim
Let me ask a question. We are using ON3.2. In $ONE_LOCATION/lib/tm_commands/shared/ tm_clone.sh calls fix_paths and tm_ln.sh calls fix_dst_path in order to adjust SRC/DST_PATH. I understand this is because default configuration assumes that VMDIR is /var/lib/one and thus the FrontEnd(FE) mount

[one-users] onevm cancel for a persistent image via TM_ shared

2013-03-18 Thread Hyun Woo Kim
Dear ON Developers, Our ON configuration is a bit different from what ON manual assumes. The following is my guess of how onevm cancel VM where this VM is from a persistent image and running in a host via shared transfer manager. I believe the following two variables are assumed in ON standard d

Re: [one-users] econe-server with x509 fails to set HTTP_SSL_CLIENT_CERT

2013-01-17 Thread Hyun Woo Kim
__ From: Daniel Molina [dmol...@opennebula.org] Sent: Thursday, January 17, 2013 5:06 AM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] econe-server with x509 fails to set HTTP_SSL_CLIENT_CERT Hi Hyunwoo, On 17 January 2013 05:38, Hyun Woo Kim wrote: > I first set

[one-users] econe-server with x509 fails to set HTTP_SSL_CLIENT_CERT

2013-01-16 Thread Hyun Woo Kim
I first set ONE_AUTH to be ~/.one/one_x509 (created from my personal certificate) and then do, econe-upload --url https://myone38sever file.img This fails with the error message; econe-upload: AuthFailure Could not create X509 certificate

Re: [one-users] regular monitoring logged in oned.log

2012-12-27 Thread Hyun Woo Kim
_ From: Ruben S. Montero [rsmont...@opennebula.org] Sent: Thursday, December 27, 2012 3:04 AM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] regular monitoring logged in oned.log Hi 3 and 4 may come from Sunstone, clients periodically refresh the i

[one-users] regular monitoring logged in oned.log

2012-12-22 Thread Hyun Woo Kim
I observe the following repeated messages in oned.log 1. Every 30 seconds - HostPoolInfo - VirtualMachinePoolInfo - AclInfo 2. Every 10 minutes - Monitoring VM "all IDs" - Monitoring host "all names" 3. Every hour(:20) - UserInfo - VirtualMachineInfo 4. Every 15 minutes(00

Re: [one-users] option to prevent a VM instance from being deployed

2012-12-20 Thread Hyun Woo Kim
atch that solves this. http://dev.opennebula.org/issues/1103 You could use that patch along with a custom CREATE VM HOOK that checks for a custom VM attribute you specify in your templates. Feedback more than welcome! Thanks Simon On Thu, Dec 20, 2012 at 9:14 AM, Hyun Woo Kim mailto:hyun...

Re: [one-users] option to prevent a VM instance from being deployed

2012-12-20 Thread Hyun Woo Kim
lan to add to 4.0 Thanks again HyunWoo FermiCloud Project. From: Carlos Martín Sánchez [cmar...@opennebula.org] Sent: Thursday, December 20, 2012 4:46 AM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] option to prevent a VM ins

[one-users] option to prevent a VM instance from being deployed

2012-12-19 Thread Hyun Woo Kim
Hi Open Nebula developers and users, Is it possible to prevent a VM instance from being deployed automatically after a couple of seconds? When we do "onetemplate instantiate N", the new VM will stay at "PEND" briefly and go to "PROL" in just a few seconds, right? For a certain types of template

Re: [one-users] econe-server with x509 and econe command

2012-09-20 Thread Hyun Woo Kim
:57 AM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] econe-server with x509 and econe command Hi Hyunwoo Thanks very much for looking into this. I've filled an issue[1] to include that option as part of the CLI command. Thanks again for your great feedback C

Re: [one-users] econe-server with x509 and econe command

2012-09-17 Thread Hyun Woo Kim
Hi, I found out that modifying EC2QueryClient.rb to add connection.ssl_verify_peer = false relieves econe-upload of the error message(SSLCACertificateError. Thanks Hyunwoo On Sep 14, 2012, at 11:40 PM, Hyun Woo Kim wrote: > Hi, > Please ignore the previous question. > I

Re: [one-users] econe-server with x509 and econe command

2012-09-14 Thread Hyun Woo Kim
_ From: users-boun...@lists.opennebula.org [users-boun...@lists.opennebula.org] on behalf of Hyun Woo Kim [hyun...@fnal.gov] Sent: Friday, September 14, 2012 5:42 PM To: Ruben S. Montero Cc: users@lists.opennebula.org Subject: Re: [one-users] econe-server with x509 and econe

Re: [one-users] econe-server with x509 and econe command

2012-09-14 Thread Hyun Woo Kim
econe-upload when econe-upload does not know my certificate and private key? Thanks again. Hyunwoo From: Ruben S. Montero [rsmont...@opennebula.org] Sent: Friday, September 14, 2012 5:19 PM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] econe

[one-users] econe-server with x509 and econe command

2012-09-14 Thread Hyun Woo Kim
Dear developers, $ONE_LOCATION/etc/econe.conf has :auth: x509 I understand this eventually causes do_auth in $ONE_LOCATION/lib/ruby/cloud/CloudAuth/X509CloudAuth.rb to be invoked. This code X509CloudAuth.rb has cert_line = env['HTTP_SSL_CLIENT_CERT'] at the beginning, but, it is emp

Re: [one-users] Context variables - getting username

2012-08-30 Thread Hyun Woo Kim
ithin the vm, in the init.sh script : > > #!/bin/bash > source context.sh > username=$(echo $CTX_USER | base64 -d | xpath -e '/USER/NAME/text()' ) > > > Cheers, > Nicolas AGIUS > > --- En date de : Mar 28.8.12, Hyun Woo Kim a écrit : > > De: Hyun Woo

Re: [one-users] Using USER template variable in VM Template

2012-08-28 Thread Hyun Woo Kim
> > Cheers > > Ruben > > [1] http://dev.opennebula.org/issues/1428 > > On Tue, Aug 28, 2012 at 5:23 AM, Hyun Woo Kim wrote: > Dear Ruben, > > Your answer below about using oneuser update to modify of user's > information > works perfectly for me(

Re: [one-users] Context variables - getting username

2012-08-28 Thread Hyun Woo Kim
Hi, Yesterday I learned from ON developer Ruben that for instance oneadmin can do oneuser update ID(of the user who actually instantiates the VM template) which will open an editor where oneadmin can type in NAME="the username you want". This will enable $USER[NAME] to return "the username you wa

Re: [one-users] Using USER template variable in VM Template

2012-08-27 Thread Hyun Woo Kim
la.org>] Sent: Sunday, August 26, 2012 4:33 PM To: Hyun Woo Kim Cc: users@lists.opennebula.org<mailto:users@lists.opennebula.org> Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the output of the XML, -x option, there is something like:

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Hyun Woo Kim
DB? Thank you. Hyunwoo From: Ruben S. Montero [rsmont...@opennebula.org] Sent: Sunday, August 26, 2012 4:33 PM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the out

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Hyun Woo Kim
accessing the user information but that stored in the VM. Cheers Ruben On Fri, Aug 24, 2012 at 10:37 PM, Hyun Woo Kim wrote: > Dear Developers, > > I want to define a variable "username" in CONTEXT > and replace it by a real user name who does > onetemplate ins

[one-users] Using USER template variable in VM Template

2012-08-24 Thread Hyun Woo Kim
Dear Developers, I want to define a variable "username" in CONTEXT and replace it by a real user name who does onetemplate instantiate The CONTEXT section of my VM Template looks like the following; CONTEXT = [ username= "$USER[NAME]" ] I am following the instruction in http://opennebula.or

[one-users] questions on sunstone and serveradmin with x509

2012-07-18 Thread Hyun Woo Kim
Dear ONe developers, (We are using OpenNebula 3.2) We are using SunStone GUI with my x509 certificate imported in my browser(firefox or chrome) which means etc/sunstone-server.conf is configured in the following way, :auth: x509 :core_auth: x509 We also configured so that serveramin uses

Re: [one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2

2012-07-10 Thread Hyun Woo Kim
, Hector Sanjuan wrote: > Are the hosts reporting >0 monitoring values in the hosts tab? (or in the > CLI running onehost show )? Is it only the global graphos or are the > individual monitoring graphs per host showing wrongly? > > H > > En Tue, 10 Jul 2012 23:12:01 +0200,

Re: [one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2

2012-07-10 Thread Hyun Woo Kim
ou provide a screenshot? > > Hector > > En Tue, 10 Jul 2012 22:46:13 +0200, Hyun Woo Kim escribió: > >> Dear developers, >> >> We are using OpenNebula 3.2. >> >> Our SunStone dashboard seems to show correct "Total VM count" and "VM >

[one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2

2012-07-10 Thread Hyun Woo Kim
Dear developers, We are using OpenNebula 3.2. Our SunStone dashboard seems to show correct "Total VM count" and "VM Network stats" plots. But upper two plots, "Hosts CPU" and "Hosts memory" do not show correct "cpu/mem_usage" and "used_cpu/mem" while "max_cpu/mem" looks ok. I followed the in

Re: [one-users] a question on restricted use of context files by normal users in ONe3.2

2012-07-03 Thread Hyun Woo Kim
/opennebula.org/documentation:rel3.4:compatibility#configuration_and_administration > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open-source Solution for Data Center Virtualization > www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula > > > > On Mon, Jul 2, 20

[one-users] a question on restricted use of context files by normal users in ONe3.2

2012-07-02 Thread Hyun Woo Kim
I am deploying OpenNebula 3.2 and I am observing a new feature different from ONe 3.0. When a normal user in the "users" group wants to use the "files" attribute in CONTEXT and instantiate a new VM, we are getting the following error message; [TemplateInstantiate] Error allocating a new virtual