Re: How to statistic the network flow of the vm in cloudstack

2012-11-08 Thread sx chen
i have read this wiki。 (1)According to this wiki,I think each line in table cloud_usage.user_statistics is informations about a domR。so,i can compute "current_bytes+net_bytes" of table cloud_usage.user_statistics to give each domR's network usage,is that right?please help me to affirm this。

Re: XS 6.02 ~ No Graphical Console

2012-11-08 Thread Marc Cirauqui
Also, Centos will not use graphical interface for installation unless your VM (or physical machine) has enough RAM. I deploy CentOS with 1 GB when I want graphical installer. On Thu, Nov 8, 2012 at 7:53 PM, Ahmad Emneina wrote: > Using the 4.0 release I get the centos graphical installer when

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
BTW, the FF Version 14.0.1 at home on Win7 is almost OK. The page loads but I do get occasional STATUS pop up in UI with no content and all I have to do - is press Close.. the same happens on IE 8.0 - except its much worse. The initial page after I login is loaded, but when I attempt to do an op

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Rajesh Battala
Looks like javascript issues, js got broken. Thanks Rajesh Battala -Original Message- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Friday, November 09, 2012 11:47 AM To: cloudstack-users@incubator.apache.org Subject: RE: Blank page after login on CloudStack 4.0 Got home, VPNd

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
Got home, VPNd in and attempted to use CloudStack 4 at work. I have the same blank page :( Inspect Element console page shows these errors. I'm on Chrome Version 22.0.1229.94 m on Win7. At work, I run CentOS 6.2 as my desktop and have no issues at on FF or Chrome. GET http://cloud04t-ops-08.po

Re: Username must be 'root' to add host??

2012-11-08 Thread Viali Lee
not sure. but... it's in the sudo group. 2012/11/8 Marc Cirauqui > Is your user part of kvm and libvirt groups? > > > > On Thu, Nov 8, 2012 at 4:03 PM, Rajesh Battala >wrote: > > > Hi Viali, > > > > Cloud-agent service is running under which user privilege? > > > > Thanks > > Rajesh Battala >

Re: Username must be 'root' to add host??

2012-11-08 Thread Viali Lee
Hi, cloud-agent is running under root .. is it the problem? 2012/11/8 Rajesh Battala > Hi Viali, > > Cloud-agent service is running under which user privilege? > > Thanks > Rajesh Battala > > -Original Message- > From: Viali Lee [mailto:viali.lee.m...@gmail.com] > Sent: Thursday, Novembe

Re: XS 6.02 ~ No Graphical Console

2012-11-08 Thread Ahmad Emneina
Using the 4.0 release I get the centos graphical installer when installing from ISO. I used the full fledged install dvd for cenots 6.3 64bit and selected the iso os type as Other CentOS (64-bit). Can you confirm the install media youre using? On 11/7/12 11:37 AM, "Clayton Weise" wrote: >You cou

Re: alter resolv.conf nameservers on linux

2012-11-08 Thread Caleb Call
Yes, I restarted it through the UI. (Actually, I stopped it then started it). /var/cache/cloud/cmdline last option set is useextdns=true (if you want more from this output, let me know) root@r-4-VM:~# grep "dhcp-option=6" /etc/dnsmasq.conf dhcp-option=6,, [root@management cloud-management]# zgr

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Brian Federle
Hello, If you have Firebug installed (or web inspector for Chrome), see if you can access the 'Console' tab. Most likely what you are experiencing is some JavaScript error (might be due to malformed JS during installation), which is causing the rest of the page to be blank. The console view sho

Re: alter resolv.conf nameservers on linux

2012-11-08 Thread Chiradeep Vittal
Did you restart the VR through the api / UI ? What is the output of cat /var/cache/cloud/cmdline grep "dhcp-option=6" /etc/dnsmasq.conf Management server log: grep "Boot Args for" On 11/7/12 8:40 PM, "Caleb Call" wrote: >Sorry, yes, setting the global parameter does not work. The contents of

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
Join IRC channel, maybe someone can help there.. -Original Message- From: Gaëtan Allart [mailto:gae...@nexylan.com] Sent: Thursday, November 08, 2012 12:45 PM To: cloudstack-users@incubator.apache.org Subject: Re: Blank page after login on CloudStack 4.0 I'm using .deb version. Gaëtan

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
I'm using .deb version. Gaëtan Le 08/11/12 18:39, « Musayev, Ilya » a écrit : >If you are using a source code version and not RPM it is not /client but >/ui > >-Original Message- >From: Musayev, Ilya [mailto:imusa...@webmd.net] >Sent: Thursday, November 08, 2012 12:37 PM >To: clouds

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
If you are using a source code version and not RPM it is not /client but /ui -Original Message- From: Musayev, Ilya [mailto:imusa...@webmd.net] Sent: Thursday, November 08, 2012 12:37 PM To: cloudstack-users@incubator.apache.org Subject: RE: Blank page after login on CloudStack 4.0 And I

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
And I guess you've tried several restart of cloud-management server and that has not helped? If so, look for the issues with firebug.. I've had similar issues in past when I would not use complete url like http://cs-host:8080/client I would also confirm that you do indeed have /client created

RE: alter resolv.conf nameservers on linux

2012-11-08 Thread Musayev, Ilya
I guess we can pre-stage our resolv.conf in template and edit /etc/dhclient-enter-hooks Append code: make_resolv_conf(){ : } Save and close the file. Works on RHEL, Debian-like will have something similar.. Push the template into CS - that should avoid dhcp updating resolv.conf We

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
I tried 2 boxes (Mac + Win7) with 4 different browsers (including IE). Same result. Gaëtan Le 08/11/12 18:24, « Musayev, Ilya » a écrit : >Using firebug in FF or Inspect Elements in Chrome, look for number of >errors you see. >

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
Using firebug in FF or Inspect Elements in Chrome, look for number of errors you see. I suspect an issue with javascript/css - try another box with unaltered browser settings.. -Original Message- From: Gaëtan Allart [mailto:gae...@nexylan.com] Sent: Thursday, November 08, 2012 12:19 PM

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
2012-11-08 18:17:23,692 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-15:null) Attempting to log in user: admin in domain 1 2012-11-08 18:17:23,692 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-15:null) Retrieving user: admin 2012-11-08 18:17:23,698 DEBUG [cloud.user.AccountManager

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
As I'm unable to change default password, I can't provide public URI on this ML. Therefore, I'm not omitting /client/. As I said, the source-code looks good to me and SHOULD display something. Gaëtan Le 08/11/12 18:13, « Musayev, Ilya » a écrit : >What URL do you put? > >I had that when I

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
cd /var/log/cloud/management and see if any of the logs updated.. look for issues in access_log, management-server.log and api-server.log -Original Message- From: Gaëtan Allart [mailto:gae...@nexylan.com] Sent: Thursday, November 08, 2012 12:08 PM To: cloudstack-users@incubator.apache.

RE: Blank page after login on CloudStack 4.0

2012-11-08 Thread Musayev, Ilya
What URL do you put? I had that when I would omit :8080/client -Original Message- From: Gaëtan Allart [mailto:gae...@nexylan.com] Sent: Thursday, November 08, 2012 12:05 PM To: cloudstack-users@incubator.apache.org Subject: Re: Blank page after login on CloudStack 4.0 Tried Chrome, Fir

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
Yes. Le 08/11/12 18:06, « Wuming Zhang » a écrit : >URL with /client ? > >Sent from my iPhone > >On 8 Nov 2012, at 18:05, "Gaëtan Allart" wrote: > >> Tried Chrome, Firefox, Safari :-) >> >> Should I try IE ? :D >> >> >> Gaëtan >> >> >> >> >> Le 08/11/12 18:02, « Caleb Call » a écrit : >> >>>

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Wuming Zhang
URL with /client ? Sent from my iPhone On 8 Nov 2012, at 18:05, "Gaëtan Allart" wrote: > Tried Chrome, Firefox, Safari :-) > > Should I try IE ? :D > > > Gaëtan > > > > > Le 08/11/12 18:02, « Caleb Call » a écrit : > >> Try another browser or clear your cookies. >> >> On Nov 8, 2012, at 9:58 A

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
Tried Chrome, Firefox, Safari :-) Should I try IE ? :D Gaëtan Le 08/11/12 18:02, « Caleb Call » a écrit : >Try another browser or clear your cookies. > >On Nov 8, 2012, at 9:58 AM, Gaëtan Allart wrote: > >> Hi everyone, >> >> I've just installed CloudStack on Ubuntu (following every step

Re: Blank page after login on CloudStack 4.0

2012-11-08 Thread Caleb Call
Try another browser or clear your cookies. On Nov 8, 2012, at 9:58 AM, Gaëtan Allart wrote: > Hi everyone, > > I've just installed CloudStack on Ubuntu (following every step of > documentation). > > Therefore, when trying to login, I'm getting a blank page. No errors in > logs. > Moreover, whe

Blank page after login on CloudStack 4.0

2012-11-08 Thread Gaëtan Allart
Hi everyone, I've just installed CloudStack on Ubuntu (following every step of documentation). Therefore, when trying to login, I'm getting a blank page. No errors in logs. Moreover, when looking at the source code of the page, HTML code is present. Any idea what I might have done wrong? Thanks

Re: Username must be 'root' to add host??

2012-11-08 Thread Marc Cirauqui
Is your user part of kvm and libvirt groups? On Thu, Nov 8, 2012 at 4:03 PM, Rajesh Battala wrote: > Hi Viali, > > Cloud-agent service is running under which user privilege? > > Thanks > Rajesh Battala > > -Original Message- > From: Viali Lee [mailto:viali.lee.m...@gmail.com] > Sent: Th

RE: Username must be 'root' to add host??

2012-11-08 Thread Rajesh Battala
Hi Viali, Cloud-agent service is running under which user privilege? Thanks Rajesh Battala -Original Message- From: Viali Lee [mailto:viali.lee.m...@gmail.com] Sent: Thursday, November 08, 2012 8:27 PM To: cloudstack-users@incubator.apache.org Subject: Re: Username must be 'root' to a

Re: Username must be 'root' to add host??

2012-11-08 Thread Viali Lee
Hi, it's KVM hypervisor on Ubuntu 12.04. 2012/11/8 Prasanna Santhanam > On Thu, Nov 08, 2012 at 07:24:07PM +0530, Viali Lee wrote: > > Hi, > > I have a user 'userAx', but could not add host. Then, I use 'root' > instead, > > it worked. > > The problem is the user 'userAx' is in the 'root' group

RE: Upgrade from 3.0.2 to 4.0

2012-11-08 Thread Tamas Monos
Hi, Do not upgrade just yet, especially if you are in production. I have a test environment and did a 3.0.2 to 4.0.0 update. There seems to be a problem with the usage database after upgrade and also cloud-sysvm script does not replace the systemVMs with the new template. I've got in touch with

Upgrade from 3.0.2 to 4.0

2012-11-08 Thread Tom Bean
Hi All, Has anyone tried the upgrade process from 3.0.2 to 4.0. I was reading the instructions here: http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.0-in cubating/html/Release_Notes/upgrade-instructions.html And I am a little worried about the timescales invo

Re: Username must be 'root' to add host??

2012-11-08 Thread Prasanna Santhanam
On Thu, Nov 08, 2012 at 07:24:07PM +0530, Viali Lee wrote: > Hi, > I have a user 'userAx', but could not add host. Then, I use 'root' instead, > it worked. > The problem is the user 'userAx' is in the 'root' group, i.e., it has the > same power as root. > My question is..Username must be 'root' t

Username must be 'root' to add host??

2012-11-08 Thread Viali Lee
Hi, I have a user 'userAx', but could not add host. Then, I use 'root' instead, it worked. The problem is the user 'userAx' is in the 'root' group, i.e., it has the same power as root. My question is..Username must be 'root' to add host?? thanks guys!

Re: Regarding default password not working

2012-11-08 Thread Marc Cirauqui
Also check "bind-address" in my.cnf. I have 4.0 running without problems... On Thu, Nov 8, 2012 at 2:30 PM, Prasanna Santhanam < prasanna.santha...@citrix.com> wrote: > On Thu, Nov 08, 2012 at 06:27:00PM +0530, Murali Mon Mohan wrote: > > i tried to putting the database on different host. and

Re: Regarding default password not working

2012-11-08 Thread Prasanna Santhanam
On Thu, Nov 08, 2012 at 06:27:00PM +0530, Murali Mon Mohan wrote: > i tried to putting the database on different host. and iam getting > following error. > > ERROR 1044 (42000) at line 60: Access denied for user 'root'@'10.1.82.23' > to database 'cloud'. > > > i granted the root permissions for

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
i tried to putting the database on different host. and iam getting following error. ERROR 1044 (42000) at line 60: Access denied for user 'root'@'10.1.82.23' to database 'cloud'. i granted the root permissions for on mysql for remote user already. Any body completed the 4.0 installation with ou

Re: Regarding default password not working

2012-11-08 Thread Marc Cirauqui
so route is not the problem... Running out of options as messages don't state much... I if it is a new deployment I'd try to uninstall packages, drop databases and start over... thx On Thu, Nov 8, 2012 at 12:42 PM, Murali Mon Mohan wrote: > route > Kernel IP routing table > Destination Ga

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.1.82.0 * 255.255.255.0 U 0 00 eth0 link-local * 255.255.0.0 U 1002 00 eth0 default 10.1.82.1 0.0.

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
Hi. cloud-setup-managemnt command restarts the service every time. and iam restarted it manually. but still login not success. when cloud-setup-management runs each time/cloud-managemnt restart, the database transactions are rolled back and logged it as: 2012-11-08 16:06:51,468 DEBUG [db.T

RE: Regarding default password not working

2012-11-08 Thread Abhinav Roy
Hi Murali, Have you tried restarting the cloud-management service and logging in again? Thanks, Abhinav -Original Message- From: Marc Cirauqui [mailto:mcirau...@gmail.com] Sent: Thursday, November 08, 2012 3:54 PM To: cloudstack-users Subject: Re: Regarding default password not working

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
cat /var/log/cloud/managment/management*.log 2012-11-08 16:06:02,965 DEBUG [utils.component.ComponentLocator] (main:null) Looking for class com.cloud.cluster.ManagementServerNode 2012-11-08 16:06:03,000 INFO [utils.component.ComponentLocator] (main:null) Found component: com.cloud.utils.component

Re: Regarding default password not working

2012-11-08 Thread Marc Cirauqui
What about management-server.log? On Thu, Nov 8, 2012 at 10:52 AM, Murali Mon Mohan wrote: > cloud-setup-management is the last command. > > > cloud-setup-management > Starting to configure CloudStack Management Server: > Configure sudoers ... [OK] > Configure Firewall ...[OK]

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
cloud-setup-management is the last command. cloud-setup-management Starting to configure CloudStack Management Server: Configure sudoers ... [OK] Configure Firewall ...[OK] Configure CloudStack Management Server ...[OK] CloudStack Management Server setup is Done! i already setu

Re: Regarding default password not working

2012-11-08 Thread Marc Cirauqui
Ok no problems here, what about cloud-setup-management? Also, which one did you ran last? thx On Thu, Nov 8, 2012 at 10:40 AM, Murali Mon Mohan wrote: > #cloud-setup-databases cloud:123456@localhost --deploy-as=root:123456 > Mysql user > name:cloud

Re: Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
#cloud-setup-databases cloud:123456@localhost --deploy-as=root:123456 Mysql user name:cloud [ OK ] Mysql user password:123456 [ OK ] Mysql server ip:localhost

Re: Regarding default password not working

2012-11-08 Thread Marc Cirauqui
Can you please post the output from cloud-setup-databases? thx On Thu, Nov 8, 2012 at 10:02 AM, Murali Mon Mohan wrote: > Hi, > Iam installed CS 4.0 on centos 6.3. > The deafault username 'admin' and password 'password' not accepting. >i tried many times with cloud-setup-databases an

Regarding default password not working

2012-11-08 Thread Murali Mon Mohan
Hi, Iam installed CS 4.0 on centos 6.3. The deafault username 'admin' and password 'password' not accepting. i tried many times with cloud-setup-databases and cloud-setup-management, but nothing working.

Re: CS 4.0 upgrade on CentOS

2012-11-08 Thread France
Seems to me that there is DB problem: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'account.default_zone_id' in 'field list' So maybe the DB schema for usage was not upgraded? I remember reading something about it in the upgrade manual. Did you upgrade d