RE: VNC to VM
Thanks. This is very useful info. Best Regards, Sanjeev N Chief Product Engineer, Accelerite Off: +91 40 6722 9368 | EMail: sanjeev.neelar...@accelerite.com -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Friday, May 27, 2016 7:04 AM To: users@cloudstack.apache.org Subject: RE: VNC to VM Cannot use virsh console . I already try. But I have success to access a vm using vnc from windows. Step: 1. bash#>ps aux | grep 2. Get process id from above command. Bash#>lsof -I -P -n | grep 3. Try find with end like x.x.x.x:590x 4. Get password to access vm as below: virsh dumpxml --security-info | grep vnc -Original Message- From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@accelerite.com] Sent: Thursday, May 26, 2016 6:38 PM To: users@cloudstack.apache.org Subject: RE: VNC to VM Try "virsh console " command on kvm host. Best Regards, Sanjeev N Chief Product Engineer, Accelerite Off: +91 40 6722 9368 | EMail: sanjeev.neelar...@accelerite.com -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Thursday, May 26, 2016 1:33 PM To: users@cloudstack.apache.org Subject: VNC to VM Hi, How to to vnc vm that in kvm cloudstack? I want reset passwd using single mode. Anyone knows? Assist me pls. Thanks. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
Re: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT
As Glenn said please provide MS log for further investigation , CREATED ON PRIMARY is the state of snapshot ? On 5/27/16, 9:57 AM, "Venkat Boggarapu"wrote: >Hi Glenn, > >I tried to remove the error and taken manual snapshot for the volume, >manual snapshot is done, after that for two days daily snapshots is >working good for that volume. > >After two days the error comes again as "CREATED ON PRIMARY". This is >happening from last three to four weeks. > >Thanks, >Venkat Boggarapu > >-Original Message- >From: Glenn Wagner [mailto:glenn.wag...@shapeblue.com] >Sent: Thursday, May 26, 2016 1:04 PM >To: users@cloudstack.apache.org >Subject: RE: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT > >Hi, > >Can you upload (pastebin) your management server logs for us to see the >error, > >Regards >Glenn > >glenn.wag...@shapeblue.com >www.shapeblue.com >2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town >7130South Africa @shapeblue > > > >-Original Message- >From: Venkat Boggarapu [mailto:venka...@axiomio.com] >Sent: Thursday, 26 May 2016 9:29 AM >To: users@cloudstack.apache.org >Subject: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT > >Hi Guys, > >My environment is Cloudstack-4.2.0 and Xenserver is 6.2.0 > >I kept daily scheduled volume snapshots for all the vms in my environment. > >But from last three weeks I am getting error "CREATED ON PRIMARY" for one >volume snapshot on ROOT volume. > >Please help me regarding if any one faced the same issue. > >Thanks, >Venkat Boggarapu DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
RE: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT
Hi Glenn, I tried to remove the error and taken manual snapshot for the volume, manual snapshot is done, after that for two days daily snapshots is working good for that volume. After two days the error comes again as "CREATED ON PRIMARY". This is happening from last three to four weeks. Thanks, Venkat Boggarapu -Original Message- From: Glenn Wagner [mailto:glenn.wag...@shapeblue.com] Sent: Thursday, May 26, 2016 1:04 PM To: users@cloudstack.apache.org Subject: RE: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT Hi, Can you upload (pastebin) your management server logs for us to see the error, Regards Glenn glenn.wag...@shapeblue.com www.shapeblue.com 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130South Africa @shapeblue -Original Message- From: Venkat Boggarapu [mailto:venka...@axiomio.com] Sent: Thursday, 26 May 2016 9:29 AM To: users@cloudstack.apache.org Subject: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT Hi Guys, My environment is Cloudstack-4.2.0 and Xenserver is 6.2.0 I kept daily scheduled volume snapshots for all the vms in my environment. But from last three weeks I am getting error "CREATED ON PRIMARY" for one volume snapshot on ROOT volume. Please help me regarding if any one faced the same issue. Thanks, Venkat Boggarapu
Re: Cloudstack 3.02 primary storage extention
There was a discussion around this area, check out mail thread with subject “Upgrade of Primary storage”. On 5/26/16, 12:42 PM, "jerry" <1163...@qq.com> wrote: >Hello, My environment is cloudstack 3.0.2 + Xensever 6.0.2 。So far one >of my Primary storage is reach space limitation since snapshot problem。 >Does anyone have experience about how to extend primary storage Space。Our >Cloudstack primary storage is from one storage pool and we want to add >new PV into VG base on LVM on xenserver,is it possilbe? > > >Thanks DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
RE: VNC to VM
Cannot use virsh console . I already try. But I have success to access a vm using vnc from windows. Step: 1. bash#>ps aux | grep 2. Get process id from above command. Bash#>lsof -I -P -n | grep 3. Try find with end like x.x.x.x:590x 4. Get password to access vm as below: virsh dumpxml --security-info | grep vnc -Original Message- From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@accelerite.com] Sent: Thursday, May 26, 2016 6:38 PM To: users@cloudstack.apache.org Subject: RE: VNC to VM Try "virsh console " command on kvm host. Best Regards, Sanjeev N Chief Product Engineer, Accelerite Off: +91 40 6722 9368 | EMail: sanjeev.neelar...@accelerite.com -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Thursday, May 26, 2016 1:33 PM To: users@cloudstack.apache.org Subject: VNC to VM Hi, How to to vnc vm that in kvm cloudstack? I want reset passwd using single mode. Anyone knows? Assist me pls. Thanks. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
Re: cloudmonkey config file get reset to default settings
Rohit, Its usually shell scripts that wrap around cloudmonkey. I hit this issue when i have to run parallel tasks using multiple envs. One other somewhat ugly work around is to make config file immurable with chattr command, but then - it prints errors as its unable to write to config file. Not pleasant - but does not mess up my config file. I'm aware of workaround on making config files per env, but as you might know - its painful to manage dispersed configs - epsecially when the count is greater than 10.. Thanks, ilya On 5/25/16 10:57 PM, Rohit Yadav wrote: > Whenever a set command is called, it would save/update the config file. When > you run set profile xyz; it needs to make that profile the default profile > and update other parameters associated with the profile which may be set as > well (such as url, username, password, apikey, secretkey etc). When > cloudmonkey is running, and you replace the config file; on calling 'set' it > would save the config file based on its in-memory config dictionary. > > I'll see what I can do, in general you should be replacing or changing the > cloudmonkey config file outside of cloudmonkey itself. If you want to create > new profile, set new rules; you should call cloudmonkey set > either on command line or use puppet to execute them. The tool was intended > for single user, in case of multi-user or concurrent usage, there is no > concurrency control wrt configs. > > One solution could be that, each server profile has their own config file > instead of a single config file, and you can start cloudmonkey to pick a > server profile with a command line flag such as -p . I'll see how I > may improve this, for this I would like to know how exactly you are using > puppet or any other automation? > > Regards, > Rohit Yadav > > On May 26 2016, at 3:40 am, ilyawrote: > > I've seen the similar behaviour. > > For some reason cloudmonkey try to persist the configs each time your > run something. > > If i open cloudmonkey in multiple terminals and use different profiles > and execute commands in mutliple terminals in parallel - i've seen > cloudmonkey mess up the config for one of open profiles. > > Specifically, the URL of cloudstack in profile1 might be changed with > url of cloudstack in profile2. > > Rohit, is there a reason why cloudmonkey tries to update the settings in > config file each time something gets executed? > > On 5/24/16 1:31 PM, Yiping Zhang wrote: >> Hi, >> >> We have a few scripts that use cloudmonkey to talk to CloudStack server. The >> scripts are invoked by Puppet once per hour. >> >> However, every once a while, the /root/.cloudmonkey/config file would be >> over written with default settings. That is, blank apikey/secretkey, default >> password, default log file location etc. >> >> I am wondering by any chance that cloudmonkey would put a default config >> file in place for some reason ? >> >> Thanks, >> >> Yiping >> > > rohit.ya...@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > >
Re: cloudmonkey config file get reset to default settings
In my case, we have scripts running by Puppet, and crond hourly, and by Nagios (once every 5 min, I think), all by root user or sudo to root user (in case of Nagios). In most of our scripts, we call “set display default” first. Only occasionally , admins would login and manually run cloudmonkey with sudo. As for the config file, we have puppet manage it to make sure that our apikey/secretkey, and logfile location are set correctly. IMHO, set command should NOT automatically save current settings to disk. For interactive use, set should just changes settings for current session, an explicit save cmd could persist the changes to the disk. For CLI use, each call to cloudmonkey is its own session, therefore, the user is better to have all correct settings in the config file to begin with. Thanks, Yiping On 5/25/16, 10:58 PM, "Rohit Yadav"wrote: >Correction from previous reply: > >"I'll see what I can do, in general you should NOT be replacing or changing >the cloudmonkey config file outside of cloudmonkey itself." > >Regards, >Rohit Yadav > > >rohit.ya...@shapeblue.com >www.shapeblue.com >53 Chandos Place, Covent Garden, London WC2N 4HSUK >@shapeblue > > >On May 26 2016, at 11:27 am, Rohit Yadav wrote: >Whenever a set command is called, it would save/update the config file. When >you run set profile xyz; it needs to make that profile the default profile and >update other parameters associated with the profile which may be set as well >(such as url, username, password, apikey, secretkey etc). When cloudmonkey is >running, and you replace the config file; on calling 'set' it would save the >config file based on its in-memory config dictionary. > >I'll see what I can do, in general you should be replacing or changing the >cloudmonkey config file outside of cloudmonkey itself. If you want to create >new profile, set new rules; you should call cloudmonkey set >either on command line or use puppet to execute them. The tool was intended >for single user, in case of multi-user or concurrent usage, there is no >concurrency control wrt configs. > >One solution could be that, each server profile has their own config file >instead of a single config file, and you can start cloudmonkey to pick a >server profile with a command line flag such as -p . I'll see how I >may improve this, for this I would like to know how exactly you are using >puppet or any other automation? > >Regards, >Rohit Yadav > >On May 26 2016, at 3:40 am, ilya wrote: > >I've seen the similar behaviour. > >For some reason cloudmonkey try to persist the configs each time your >run something. > >If i open cloudmonkey in multiple terminals and use different profiles >and execute commands in mutliple terminals in parallel - i've seen >cloudmonkey mess up the config for one of open profiles. > >Specifically, the URL of cloudstack in profile1 might be changed with >url of cloudstack in profile2. > >Rohit, is there a reason why cloudmonkey tries to update the settings in >config file each time something gets executed? > >On 5/24/16 1:31 PM, Yiping Zhang wrote: >> Hi, >> >> We have a few scripts that use cloudmonkey to talk to CloudStack server. The >> scripts are invoked by Puppet once per hour. >> >> However, every once a while, the /root/.cloudmonkey/config file would be >> over written with default settings. That is, blank apikey/secretkey, default >> password, default log file location etc. >> >> I am wondering by any chance that cloudmonkey would put a default config >> file in place for some reason ? >> >> Thanks, >> >> Yiping >>
RE: VNC to VM
Try "virsh console " command on kvm host. Best Regards, Sanjeev N Chief Product Engineer, Accelerite Off: +91 40 6722 9368 | EMail: sanjeev.neelar...@accelerite.com -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Thursday, May 26, 2016 1:33 PM To: users@cloudstack.apache.org Subject: VNC to VM Hi, How to to vnc vm that in kvm cloudstack? I want reset passwd using single mode. Anyone knows? Assist me pls. Thanks. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
RE: Disk Offering
First we need to create disk offering with type shared and then create disk with this disk offering. Disk will be created on NFS storage. Best Regards, Sanjeev N Chief Product Engineer, Accelerite Off: +91 40 6722 9368 | EMail: sanjeev.neelar...@accelerite.com -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Thursday, May 26, 2016 3:34 PM To: users@cloudstack.apache.org Subject: Disk Offering Hi, On primary storage I have set NFS. The question is how to set use NFS when creating disk size under Disk Offering under Service Offerings? Thanks. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.
Disk Offering
Hi, On primary storage I have set NFS. The question is how to set use NFS when creating disk size under Disk Offering under Service Offerings? Thanks.
Re: CLOUDSTACK-9238: Template download URL length really fixed ?
Hi Aurélien, Check the database schema as the URL is stored there. My guess is that the column size is 255. Marco > On 25 May 2016, at 15:08, Aurélienwrote: > > Hello, > > I’m investigating an issue on CS 4.8.0 when registering an ISO with a > long URL (>255 chars). The only issue related to it that I could find > is https://issues.apache.org/jira/browse/CLOUDSTACK-9238. > > Basically, the problem could be reproduced by entering an URL with > more that 255 chars in the ISO URL. The API fails with a parameter > error. > > Since the database schema seems fine according to CLOUDSTACK-9238 - my > current database matches that at least - I tried to change the > Parameter annotation to length 2048 (see first patch below); Then the > API request is accepted, but the URL appears truncated in the SSVM > logs: > > URL was: > https://github-cloud.s3.amazonaws.com/releases/28796010/774188bc-18fc-11e6-8140-4cf8a5632e15.iso?X-Amz-Algorithm=AWS4-HMAC-SHA256=AKIAISTNZFOVBIJMK3TQ%2F20160525%2Fus-east-1%2Fs3%2Faws4_request=20160525T125103Z=300=d40de63959eed194d0bbb7c702cf71d65a7aa91f427e33714fde64b76aebf6d8=host_id=0=attachment%3B%20filename%3Drancheros.iso=application%2Foctet-stream > > SSVM gets a 255-char truncated URL (the management server logs shows > that it sends only 255 chars also). > > 2016-05-25 12:51:16,961 DEBUG [cloud.agent.Agent] > (agentRequest-Handler-1:null) Request:Seq 57-4400016835940974604: { > Cmd , MgmtId: 345049980494, via: 57, Ver: v1, Flags: 100011, > [{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":true,"description":"ros","maxDownloadSizeInBytes":53687091200,"id":353,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/353","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.87.80.250/cloudstack_secondary_z1","_role":"Image"}},"url":"https://github-cloud.s3.amazonaws.com/releases/28796010/774188bc-18fc-11e6-8140-4cf8a5632e15.iso?X-Amz-Algorithm=AWS4-HMAC-SHA256=AKIAISTNZFOVBIJMK3TQ%2F20160525%2Fus-east-1%2Fs3%2Faws4_request=20160525T125103Z=30","format":"ISO","accountId":2,"name":"353-2-34ec5c80-b6ff-3d3d-8c09-7ac1f3755d3d","secUrl":"nfs://10.87.80.250/cloudstack_secondary_z1","wait":0}}] > } > > > I also tried setting the length of the fields in the *VO objects (see > second patch below), but I’m not exactly sure of what i’m doing there. > > Does anyone have a hint at where to look to find where the string is > truncated and why ? > > > — Patch for API > > diff -ru > a/apache-cloudstack-4.8.0-src/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java > b/apache-cloudstack-4.8.0-src/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java > --- > a/apache-cloudstack-4.8.0-src/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java > 2016-01-20 23:43:35.0 +0100 > +++ > b/apache-cloudstack-4.8.0-src/api/src/org/apache/cloudstack/api/command/user/iso/RegisterIsoCmd.java > 2016-05-25 09:40:25.0 +0200 > @@ -78,7 +78,11 @@ >description = "the ID of the OS type that best > represents the OS of this ISO. If the ISO is bootable this parameter > needs to be passed") > private Long osTypeId; > > -@Parameter(name = ApiConstants.URL, type = CommandType.STRING, > required = true, description = "the URL to where the ISO is currently > being hosted") > +@Parameter(name = ApiConstants.URL, > + type = CommandType.STRING, > + required = true, > + description = "the URL to where the ISO is currently > being hosted", > + length = 2048) > private String url; > > @Parameter(name=ApiConstants.ZONE_ID, type=CommandType.UUID, > entityType = ZoneResponse.class, > > > — Patch for columns > > diff -ru > a/apache-cloudstack-4.8.0-src/engine/schema/src/org/apache/cloudstack/storage/datastore/db/TemplateDataStoreVO.java > b/apache-cloudstack-4.8.0-src/engine/schema/src/org/apache/cloudstack/storage/datastore/db/TemplateDataStoreVO.java > --- > a/apache-cloudstack-4.8.0-src/engine/schema/src/org/apache/cloudstack/storage/datastore/db/TemplateDataStoreVO.java > 2016-01-20 23:43:35.0 +0100 > +++ > b/apache-cloudstack-4.8.0-src/engine/schema/src/org/apache/cloudstack/storage/datastore/db/TemplateDataStoreVO.java > 2016-05-25 14:12:18.0 +0200 > @@ -95,7 +95,7 @@ > @Column(name = "install_path") > private String installPath; > > -@Column(name = "url") > +@Column(name = "url", length = 2048) > private String downloadUrl; > > @Column(name = "download_url") > > Thanks, > Best regards, > -- > Aurélien Guillaume >
VNC to VM
Hi, How to to vnc vm that in kvm cloudstack? I want reset passwd using single mode. Anyone knows? Assist me pls. Thanks.
RE: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT
Hi, Can you upload (pastebin) your management server logs for us to see the error, Regards Glenn glenn.wag...@shapeblue.com www.shapeblue.com 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130South Africa @shapeblue -Original Message- From: Venkat Boggarapu [mailto:venka...@axiomio.com] Sent: Thursday, 26 May 2016 9:29 AM To: users@cloudstack.apache.org Subject: DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT Hi Guys, My environment is Cloudstack-4.2.0 and Xenserver is 6.2.0 I kept daily scheduled volume snapshots for all the vms in my environment. But from last three weeks I am getting error "CREATED ON PRIMARY" for one volume snapshot on ROOT volume. Please help me regarding if any one faced the same issue. Thanks, Venkat Boggarapu
DAILY SNAPSHOT ISSUE FOR VOLUME SNAPSHOT
Hi Guys, My environment is Cloudstack-4.2.0 and Xenserver is 6.2.0 I kept daily scheduled volume snapshots for all the vms in my environment. But from last three weeks I am getting error "CREATED ON PRIMARY" for one volume snapshot on ROOT volume. Please help me regarding if any one faced the same issue. Thanks, Venkat Boggarapu
Cloudstack 3.02 primary storage extention
Hello, My environment is cloudstack 3.0.2 + Xensever 6.0.2 ??So far one of my Primary storage is reach space limitation since snapshot problem??Does anyone have experience about how to extend primary storage Space??Our Cloudstack primary storage is from one storage pool and we want to add new PV into VG base on LVM on xenserver??is it possilbe?? Thanks