Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

2014-11-03 Thread Nux!
Rohit,

I do have that module and I have install the -devel packages as well before 
reinstalling cloudmonkey, still nothing.
http://img.nux.ro/s7L-Selection_046.png

Any more pointers?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Sent: Monday, 3 November, 2014 11:07:27
> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

> Hi Lucian,
> 
> I tested CloudMonkey on Fedora and it works for me. Can you check and install:
> python-setuptools, python-pip, readline and readline-devel or readline-develop
> (please check names before you try it) on it and retry?
> 
> It is possible that the CentOS machine you’re on has no readline installed.
> After checking that, just open python and import readline;
> 
> $ python
>  > import readline
> 
> If this fails, it’s not cloudmonkey but a dependency that is not available on
> your machine. If you get issues, please report the errors.
> 
>> On 03-Nov-2014, at 4:18 pm, Nux!  wrote:
>>
>> Rohit,
>>
>> I've deleted ~/.cloudmonkey/cache and ran sync again, but still no go, no
>> autocompletion. This is my CentOS 7 workstation, yesterday on my laptop it 
>> was
>> working fine (also CentOS 7).
>> Perhaps I'm missing some python module? Any one in particular I should watch 
>> out
>> for?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Rohit Yadav" 
>>> To: d...@cloudstack.apache.org
>>> Cc: users@cloudstack.apache.org
>>> Sent: Monday, 3 November, 2014 10:28:00
>>> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)
>>
>>> Hi Lucian,
>>>
>>> Can you start by removing ~/.cloudmonkey/cache or run sync again? Old caches
>>> (5.2.0 and before) don’t have cached keys that are used to autocomplete 
>>> filter=
>>> arg on an API.
>>>
>>> If you can reproduce the issue, can you share where you are using this,
>>> Windows/Mac/Linux, error logs etc.? I’ve only tested it on OSX and Ubuntu.
>>>
>>>> On 03-Nov-2014, at 3:25 pm, Nux!  wrote:
>>>>
>>>> Hi Rohit,
>>>>
>>>> Is it me or autocompletion is broken in this one?
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>> - Original Message -
>>>>> From: "Rohit Yadav" 
>>>>> To: "dev" 
>>>>> Cc: users@cloudstack.apache.org
>>>>> Sent: Monday, 3 November, 2014 06:46:03
>>>>> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)
>>>>
>>>>> Hi All,
>>>>>
>>>>> I've created a 5.3.0 release of CloudMonkey, with the following artifacts 
>>>>> up for
>>>>> a vote:
>>>>>
>>>>> Git Branch and Commit SH:
>>>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
>>>>> Commit: eae19737f99d4236aa925744d41b605aa103ac38
>>>>>
>>>>> List of changes:
>>>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>>>>>
>>>>> Source release (checksums and signatures are available at the same
>>>>> location):
>>>>> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>>>>>
>>>>> PGP release keys (signed using 0EE3D884):
>>>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>>>>
>>>>> Testing procedure:
>>>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
>>>>>
>>>>> This release aims to provide better parameter and filter completion, error
>>>>> handling and utf8/unicode support in CloudMonkey and therefore needs 
>>>>> testing
>>>>> efforts in these areas. UTF-8 encoded string parameters usage needs to be
>>>>> tested in API calls, shell and piped calls, for example:
>>>>>
>>>>> $ create user account=admin username=रोहित lastname=यादव firstname=रोहित

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

2014-11-03 Thread Nux!
Rohit,

I've deleted ~/.cloudmonkey/cache and ran sync again, but still no go, no 
autocompletion. This is my CentOS 7 workstation, yesterday on my laptop it was 
working fine (also CentOS 7).
Perhaps I'm missing some python module? Any one in particular I should watch 
out for?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Sent: Monday, 3 November, 2014 10:28:00
> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

> Hi Lucian,
> 
> Can you start by removing ~/.cloudmonkey/cache or run sync again? Old caches
> (5.2.0 and before) don’t have cached keys that are used to autocomplete 
> filter=
> arg on an API.
> 
> If you can reproduce the issue, can you share where you are using this,
> Windows/Mac/Linux, error logs etc.? I’ve only tested it on OSX and Ubuntu.
> 
>> On 03-Nov-2014, at 3:25 pm, Nux!  wrote:
>>
>> Hi Rohit,
>>
>> Is it me or autocompletion is broken in this one?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Rohit Yadav" 
>>> To: "dev" 
>>> Cc: users@cloudstack.apache.org
>>> Sent: Monday, 3 November, 2014 06:46:03
>>> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)
>>
>>> Hi All,
>>>
>>> I've created a 5.3.0 release of CloudMonkey, with the following artifacts 
>>> up for
>>> a vote:
>>>
>>> Git Branch and Commit SH:
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
>>> Commit: eae19737f99d4236aa925744d41b605aa103ac38
>>>
>>> List of changes:
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>>>
>>> Source release (checksums and signatures are available at the same
>>> location):
>>> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>>>
>>> PGP release keys (signed using 0EE3D884):
>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>>
>>> Testing procedure:
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
>>>
>>> This release aims to provide better parameter and filter completion, error
>>> handling and utf8/unicode support in CloudMonkey and therefore needs testing
>>> efforts in these areas. UTF-8 encoded string parameters usage needs to be
>>> tested in API calls, shell and piped calls, for example:
>>>
>>> $ create user account=admin username=रोहित lastname=यादव firstname=रोहित
>>> email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
>>> $ list users | grep रोहित
>>>
>>> The vote will be open till Wednesday (72 hours). Please test this release 
>>> and
>>> give your vote. Thanks.
>>>
>>> For sanity in tallying the vote, can PMC members please be sure to indicate
>>> "(binding)" with their vote?
>>>
>>> [ ] +1  approve
>>> [ ] +0  no opinion
>>> [ ] -1  disapprove (and reason why)
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related services
>>>
>>> IaaS Cloud Design & 
>>> Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>>> CloudStack Infrastructure
>>> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>>> CloudStack Bootcamp Training 
>>> Courses<http://shapeblue.com/cloudstack-training/>
>>>
>>> This email and any attachments to it may be confidential and are intended 
>>> solely
>>> for the use of the individual to whom it is addressed. Any views or opinions
>>> expressed are solely those of the author and do not necessarily represent 
>>> those
>>> of Shape Blue Ltd or related companies. If you are not the intended 
>>> recipient
>>> of this email, you must neither take any

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

2014-11-03 Thread Nux!
Hi Rohit,

Is it me or autocompletion is broken in this one?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: "dev" 
> Cc: users@cloudstack.apache.org
> Sent: Monday, 3 November, 2014 06:46:03
> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

> Hi All,
> 
> I've created a 5.3.0 release of CloudMonkey, with the following artifacts up 
> for
> a vote:
> 
> Git Branch and Commit SH:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
> Commit: eae19737f99d4236aa925744d41b605aa103ac38
> 
> List of changes:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
> 
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
> 
> PGP release keys (signed using 0EE3D884):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> 
> Testing procedure:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
> 
> This release aims to provide better parameter and filter completion, error
> handling and utf8/unicode support in CloudMonkey and therefore needs testing
> efforts in these areas. UTF-8 encoded string parameters usage needs to be
> tested in API calls, shell and piped calls, for example:
> 
> $ create user account=admin username=रोहित lastname=यादव firstname=रोहित
> email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
> $ list users | grep रोहित
> 
> The vote will be open till Wednesday (72 hours). Please test this release and
> give your vote. Thanks.
> 
> For sanity in tallying the vote, can PMC members please be sure to indicate
> "(binding)" with their vote?
> 
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: How to Upgrade Virtual Router from 4.3 to 4.4.1

2014-11-02 Thread Nux!
Hi,

More agent and management logs please, make sure they are in DEBUG[1] mode.

[1] - https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Adam" 
> To: users@cloudstack.apache.org
> Sent: Sunday, 2 November, 2014 23:33:22
> Subject: How to Upgrade Virtual Router from 4.3 to 4.4.1

> I've performed a complete upgrade from 4.3 to 4.4.1 and followed the
> instructions perfectly, but my Virtual Router will not start, nor am I able
> to "upgrade" it.
> 
> I tried destroying the Virtual Router, starting any VM Instance, and
> allowing CS to recreate the VR. However that didn't help. The VR still did
> not start and it was still saying that it required to be upgraded.
> 
> [image: Inline image 1]
> [image: Inline image 2]
> [image: Inline image 3]
> 
> I know there are manual steps to finalize the systemvm upgrade, but I did
> those steps:
> 
> http://cloudstack-release-notes.readthedocs.org/en/latest/upgrade/upgrade-4.3.html#manual-hofix
> 
> [root@cs-east-prod1 cloudstack-logs]# mysql -u root -p
> Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 174
> Server version: 5.1.73-log Source distribution
> 
> Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
> 
> Oracle is a registered trademark of Oracle Corporation and/or its
> affiliates. Other names may be trademarks of their respective
> owners.
> 
> Type 'help;' or '\h' for help. Type '\c' to clear the current input
> statement.
> 
> mysql> select id,name from cloud.vm_template where name =
> 'systemvm-kvm-4.4';
> +-+--+
>| id  | name |
> +-+--+
>| 274 | systemvm-kvm-4.4 |
> +-+--+
> 1 row in set (0.00 sec)
> 
> mysql> select type from cloud.vm_template where id='274';
> ++
>| type   |
> ++
>| SYSTEM |
> ++
> 1 row in set (0.00 sec)
> 
> mysql> select distinct(vm_template_id) from cloud.vm_instance where
> type='ConsoleProxy' and hypervisor_type = 'KVM';
> ++
>| vm_template_id |
> ++
>|274 |
> ++
> 1 row in set (0.00 sec)
> 
> mysql> select distinct(vm_template_id) from cloud.vm_instance where
> type='SecondaryStorageVm' and hypervisor_type = 'KVM';
> ++
>| vm_template_id |
> ++
>|274 |
> ++
> 1 row in set (0.03 sec)
> 
> mysql> select value from cloud.configuration where name =
> 'router.template.kvm';
> +--+
>| value|
> +--+
>| systemvm-kvm-4.4 |
> +--+
> 1 row in set (0.00 sec)
> 
> mysql>
> 
> * PLEASE HELP !  *
> 
> Best Regards,
> 
> Adam Scarcella


Running Xenserver on top of KVM or another HV

2014-11-02 Thread Nux!
Hello,

I tried running Xenserver on top of KVM with the VMX flag allocated to its VM, 
but it still complains that it can't run "HVM" guests.
Anyone knows a trick around it or what precisely flags it needs to do HVM?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: XenServer

2014-10-31 Thread Nux!
I meant to push the developers to do it. :)

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Andrija Panic" 
> To: users@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 15:35:20
> Subject: Re: XenServer

> Nux, I agree that we need to push that - but since I'm not a develoepr, no
> reall use of me :) If I need to push somewhere, just let me know.
> Anyway, user want a single click SNAPSHOT - and an option for revert -
> talking about public cloud
> 
> Cheers
> 
> On 31 October 2014 16:18, Nux!  wrote:
> 
>> Andrija,
>>
>> AFAIK you can't snapshot all the volumes in the exact same moment, but I
>> am not sure if it really needed in your case.
>> VM snapshot it's what you would need, only supported for Xenserver and
>> VMware; we need to push for VM snapshot for KVM as well, I know it's
>> possible as I have done it manually with "virsh".
>>
>> There are different ways around a problem though, if you are running mysql
>> with innodb for example you could just do a mysqldump (with
>> --single-transaction to avoid locking the tables).
>>
>> HTH
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Andrija Panic" 
>> > To: users@cloudstack.apache.org
>> > Sent: Friday, 31 October, 2014 15:10:26
>> > Subject: Re: XenServer
>>
>> > Nux,
>> >
>> > I understand this - but a question for you - you have i.e. 3 volumes
>> > attached to a VM - how do you snapshot those and make sure they are
>> > snapshoted in the EXACT same moment, to preserve data integrity of the
>> data
>> > inside VM - you have i.e. database files on 1 volume, database logs on
>> > another.
>> >
>> > This is a reall question, not kidding ? What I know, you can turnoff VM,
>> > and then snapshot one by one - but this is not the goal of the
>> > snapshotting...
>> > ?
>> >
>> > Thanks
>> >
>> >
>> >
>> > On 31 October 2014 16:06, Nux!  wrote:
>> >
>> >> Andrija,
>> >>
>> >> You can still do volume snapshotting with KVM, works fine.
>> >>
>> >>
>> http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html
>> >>
>> >> All we need is a way to quickly restore the volume, some guys at
>> leaseweb
>> >> were working on something like this, hope to see this feature in future
>> >> versions.
>> >>
>> >> --
>> >> Sent from the Delta quadrant using Borg technology!
>> >>
>> >> Nux!
>> >> www.nux.ro
>> >>
>> >> - Original Message -
>> >> > From: "Andrija Panic" 
>> >> > To: users@cloudstack.apache.org
>> >> > Sent: Friday, 31 October, 2014 09:37:49
>> >> > Subject: Re: XenServer
>> >>
>> >> > My vote also for KVM snapshooting - having all the nice fetaures, but
>> >> > without basic virtualization stuff like snapshotting - it simply
>> drives
>> >> me
>> >> > and our client nuts...
>> >> >
>> >> > On 31 October 2014 10:03, Andrei Mikhailovsky 
>> wrote:
>> >> >
>> >> >> Is there a feature request for this support or should we open one? I
>> >> would
>> >> >> like to see this implemented for KVM.
>> >> >>
>> >> >> Andrei
>> >> >> - Original Message -
>> >> >>
>> >> >> > From: "Nux!" 
>> >> >> > To: users@cloudstack.apache.org
>> >> >> > Sent: Thursday, 30 October, 2014 11:25:10 PM
>> >> >> > Subject: Re: XenServer
>> >> >>
>> >> >> > Andrei, I am hopeful the next incarnation of XenServer will be much
>> >> >> > better/modern, with support for CEPH, GlusterFS etc.
>> >> >>
>> >> >> > Re KVM snapshotting, KVM can do live snapshots of the
>> volumes+memory
>> >> >> > (you can do it with "virsh"), but ACS doesn't support it; forgot
>> >> >> > why.
>> >> >>
>> >> >> > Lucian
>> >> >&g

Re: XenServer

2014-10-31 Thread Nux!
Andrija,

AFAIK you can't snapshot all the volumes in the exact same moment, but I am not 
sure if it really needed in your case.
VM snapshot it's what you would need, only supported for Xenserver and VMware; 
we need to push for VM snapshot for KVM as well, I know it's possible as I have 
done it manually with "virsh".

There are different ways around a problem though, if you are running mysql with 
innodb for example you could just do a mysqldump (with --single-transaction to 
avoid locking the tables).

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Andrija Panic" 
> To: users@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 15:10:26
> Subject: Re: XenServer

> Nux,
> 
> I understand this - but a question for you - you have i.e. 3 volumes
> attached to a VM - how do you snapshot those and make sure they are
> snapshoted in the EXACT same moment, to preserve data integrity of the data
> inside VM - you have i.e. database files on 1 volume, database logs on
> another.
> 
> This is a reall question, not kidding ? What I know, you can turnoff VM,
> and then snapshot one by one - but this is not the goal of the
> snapshotting...
> ?
> 
> Thanks
> 
> 
> 
> On 31 October 2014 16:06, Nux!  wrote:
> 
>> Andrija,
>>
>> You can still do volume snapshotting with KVM, works fine.
>>
>> http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html
>>
>> All we need is a way to quickly restore the volume, some guys at leaseweb
>> were working on something like this, hope to see this feature in future
>> versions.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Andrija Panic" 
>> > To: users@cloudstack.apache.org
>> > Sent: Friday, 31 October, 2014 09:37:49
>> > Subject: Re: XenServer
>>
>> > My vote also for KVM snapshooting - having all the nice fetaures, but
>> > without basic virtualization stuff like snapshotting - it simply drives
>> me
>> > and our client nuts...
>> >
>> > On 31 October 2014 10:03, Andrei Mikhailovsky  wrote:
>> >
>> >> Is there a feature request for this support or should we open one? I
>> would
>> >> like to see this implemented for KVM.
>> >>
>> >> Andrei
>> >> - Original Message -
>> >>
>> >> > From: "Nux!" 
>> >> > To: users@cloudstack.apache.org
>> >> > Sent: Thursday, 30 October, 2014 11:25:10 PM
>> >> > Subject: Re: XenServer
>> >>
>> >> > Andrei, I am hopeful the next incarnation of XenServer will be much
>> >> > better/modern, with support for CEPH, GlusterFS etc.
>> >>
>> >> > Re KVM snapshotting, KVM can do live snapshots of the volumes+memory
>> >> > (you can do it with "virsh"), but ACS doesn't support it; forgot
>> >> > why.
>> >>
>> >> > Lucian
>> >>
>> >> > --
>> >> > Sent from the Delta quadrant using Borg technology!
>> >>
>> >> > Nux!
>> >> > www.nux.ro
>> >>
>> >> > - Original Message -
>> >> > > From: "Andrei Mikhailovsky" 
>> >> > > To: users@cloudstack.apache.org
>> >> > > Sent: Thursday, 30 October, 2014 21:24:06
>> >> > > Subject: Re: XenServer
>> >>
>> >> > > I would happily switch to XenServer once they will have ceph
>> >> > > support. I do
>> >> > > prefer XenServer and the feature list of ACS + XenServer is a bit
>> >> > > better.
>> >> > >
>> >> > > It sucks not having proper snapshotting in KVM where one can create
>> >> > > the whole vm
>> >> > > snapshot (volumes + memory) very quickly without the need to bother
>> >> > > snapshotting every volume and wait for ages.
>> >> > >
>> >> > > Andrei
>> >> > > - Original Message -
>> >> > >
>> >> > >> From: "motty cruz" 
>> >> > >> To: users@cloudstack.apache.org
>> >> > >> Sent: Thursday, 30 October, 2014 8:43:32 PM
>> >> > >> Subject: Re: XenServer
>> >

Re: XenServer

2014-10-31 Thread Nux!
Andrija,

You can still do volume snapshotting with KVM, works fine.
http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html

All we need is a way to quickly restore the volume, some guys at leaseweb were 
working on something like this, hope to see this feature in future versions.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Andrija Panic" 
> To: users@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 09:37:49
> Subject: Re: XenServer

> My vote also for KVM snapshooting - having all the nice fetaures, but
> without basic virtualization stuff like snapshotting - it simply drives me
> and our client nuts...
> 
> On 31 October 2014 10:03, Andrei Mikhailovsky  wrote:
> 
>> Is there a feature request for this support or should we open one? I would
>> like to see this implemented for KVM.
>>
>> Andrei
>> - Original Message -
>>
>> > From: "Nux!" 
>> > To: users@cloudstack.apache.org
>> > Sent: Thursday, 30 October, 2014 11:25:10 PM
>> > Subject: Re: XenServer
>>
>> > Andrei, I am hopeful the next incarnation of XenServer will be much
>> > better/modern, with support for CEPH, GlusterFS etc.
>>
>> > Re KVM snapshotting, KVM can do live snapshots of the volumes+memory
>> > (you can do it with "virsh"), but ACS doesn't support it; forgot
>> > why.
>>
>> > Lucian
>>
>> > --
>> > Sent from the Delta quadrant using Borg technology!
>>
>> > Nux!
>> > www.nux.ro
>>
>> > - Original Message -
>> > > From: "Andrei Mikhailovsky" 
>> > > To: users@cloudstack.apache.org
>> > > Sent: Thursday, 30 October, 2014 21:24:06
>> > > Subject: Re: XenServer
>>
>> > > I would happily switch to XenServer once they will have ceph
>> > > support. I do
>> > > prefer XenServer and the feature list of ACS + XenServer is a bit
>> > > better.
>> > >
>> > > It sucks not having proper snapshotting in KVM where one can create
>> > > the whole vm
>> > > snapshot (volumes + memory) very quickly without the need to bother
>> > > snapshotting every volume and wait for ages.
>> > >
>> > > Andrei
>> > > - Original Message -
>> > >
>> > >> From: "motty cruz" 
>> > >> To: users@cloudstack.apache.org
>> > >> Sent: Thursday, 30 October, 2014 8:43:32 PM
>> > >> Subject: Re: XenServer
>> > >
>> > >> I am no expert by any means but my personal opinion, I really like
>> > >> XenServer a lot better. I have a cluster of about 5 machines
>> > >> running
>> > >> KVM,
>> > >> ACS 4.3. I unable to do snapshot, migrating VMs from one host to
>> > >> another
>> > >> takes a long time. I had a very bad experience with "Balloon
>> > >> driver",
>> > >> I am
>> > >> traumatize using KVM.
>> > >
>> > >> XenServer don't need to install cloudstack agent is already
>> > >> integrated. I
>> > >> am very happy with XenServer. I still need to work out a few
>> > >> lingering
>> > >> issues but thus far am a happy person.
>> > >
>> > >> Thanks,
>> > >> -Motty
>> > >
>> > >> On Thu, Oct 30, 2014 at 1:15 PM, Andrei Mikhailovsky
>> > >> 
>> > >> wrote:
>> > >
>> > >> > I wold love to see the ability to do proper snapshotting on KVM.
>> > >> > XenServer
>> > >> > does it so much better!
>> > >> >
>> > >> > - Original Message -
>> > >> >
>> > >> > > From: "Vladimir Melnik" 
>> > >> > > To: users@cloudstack.apache.org
>> > >> > > Sent: Thursday, 30 October, 2014 8:09:17 PM
>> > >> > > Subject: RE: XenServer
>> > >> >
>> > >> > > Oh, thank you so much, folks, for your replies on this topic!
>> > >> > > Now
>> > >> > > I
>> > >> > > understand that I shouldn't migrate to XenServer, as I already
>> > >> > > have
>> > >> > > a bunch of hosts running KVM and it really won't be a good
>> > >> > > idea
>> > >> > > to
>> > >> > > bread such a zoo.
>> > >> >
>> > >> > > The only thing that makes me feel envy is an ability to change
>> > >> > > configuration of a virtual machine without restarting it. As I
>> > >> > > know,
>> > >> > > KVM doesn't support it yet, am I right? Other XenServer
>> > >> > > features
>> > >> > > don't seem to be so exciting to me :)
>> > >> >
>> > >> > > One more time - thanks to all who have helped me to decide not
>> > >> > > to
>> > >> > > do
>> > >> > > something that I would regret.
>> > >> >
>> > >> > > Best regards,
>> > >> > > V.
>> > >> >
>> > >
>> > >> --
>> > >> Thanks for your support,
>> > > > Motty
>>
> 
> 
> 
> --
> 
> Andrija Panić
> --
>  http://admintweets.com
> --


Re: XenServer

2014-10-30 Thread Nux!
Andrei, I am hopeful the next incarnation of XenServer will be much 
better/modern, with support for CEPH, GlusterFS etc.

Re KVM snapshotting, KVM can do live snapshots of the volumes+memory (you can 
do it with "virsh"), but ACS doesn't support it; forgot why.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Andrei Mikhailovsky" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 30 October, 2014 21:24:06
> Subject: Re: XenServer

> I would happily switch to XenServer once they will have ceph support. I do
> prefer XenServer and the feature list of ACS + XenServer is a bit better.
> 
> It sucks not having proper snapshotting in KVM where one can create the whole 
> vm
> snapshot (volumes + memory) very quickly without the need to bother
> snapshotting every volume and wait for ages.
> 
> Andrei
> - Original Message -
> 
>> From: "motty cruz" 
>> To: users@cloudstack.apache.org
>> Sent: Thursday, 30 October, 2014 8:43:32 PM
>> Subject: Re: XenServer
> 
>> I am no expert by any means but my personal opinion, I really like
>> XenServer a lot better. I have a cluster of about 5 machines running
>> KVM,
>> ACS 4.3. I unable to do snapshot, migrating VMs from one host to
>> another
>> takes a long time. I had a very bad experience with "Balloon driver",
>> I am
>> traumatize using KVM.
> 
>> XenServer don't need to install cloudstack agent is already
>> integrated. I
>> am very happy with XenServer. I still need to work out a few
>> lingering
>> issues but thus far am a happy person.
> 
>> Thanks,
>> -Motty
> 
>> On Thu, Oct 30, 2014 at 1:15 PM, Andrei Mikhailovsky
>> 
>> wrote:
> 
>> > I wold love to see the ability to do proper snapshotting on KVM.
>> > XenServer
>> > does it so much better!
>> >
>> > - Original Message -
>> >
>> > > From: "Vladimir Melnik" 
>> > > To: users@cloudstack.apache.org
>> > > Sent: Thursday, 30 October, 2014 8:09:17 PM
>> > > Subject: RE: XenServer
>> >
>> > > Oh, thank you so much, folks, for your replies on this topic! Now
>> > > I
>> > > understand that I shouldn't migrate to XenServer, as I already
>> > > have
>> > > a bunch of hosts running KVM and it really won't be a good idea
>> > > to
>> > > bread such a zoo.
>> >
>> > > The only thing that makes me feel envy is an ability to change
>> > > configuration of a virtual machine without restarting it. As I
>> > > know,
>> > > KVM doesn't support it yet, am I right? Other XenServer features
>> > > don't seem to be so exciting to me :)
>> >
>> > > One more time - thanks to all who have helped me to decide not to
>> > > do
>> > > something that I would regret.
>> >
>> > > Best regards,
>> > > V.
>> >
> 
>> --
>> Thanks for your support,
> > Motty


Re: XenServer

2014-10-30 Thread Nux!
Hi,

Performance between xs and kvm is similar, imho it should not be a reason to 
change, this goes for most other hypervisors. You will just make your setup 
even more complex and harder to maintain and troubleshoot.
Don't do it.

Just make sure in all cases you use paravirtual drivers in your guests and 
they'll run just fine (it's called virtio for KVM, most OSes support it - linux 
and the BSDs out of the box, windows requires drivers installed).

If I were to migrate to xs I'd do it for the feature set, like VM snapshot and 
live migration (without the need of shared storage that is); on the other hand 
you will lose the power of having a proper OS as your hypervisor with all that 
entails; hence you will also lose the ability to use 
GFS/CePH/Glusterfs/CLVM/anysharedmountpoint/etc, the same goes for memory 
deduplication (KSM).

My philosophy is pick one hypervisor and stick with it, test the hell out of it 
until your setup is solid and you can control it.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Vladimir Melnik" 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 29 October, 2014 10:43:50
> Subject: XenServer

> Dear colleagues,
> 
> We're using KVM as a hypervisor in our cloud, but now I'm considering to
> create one more cluster based on XenServer, because I've heard it has much
> better performance than KVM. So, I'd like to ask a couple of questions and
> your answers will be really appreciated.
> 
> 1. Does XenServer really shows better performance than KVM?
> 2. Are there other benefits that XenServer provides comparing to KVM?
> 3. I'm using shared mountpoint to GFS2 (accessible by iSCSI) as a storage,
> what is better to use with XenServer?
> 
> Thank you so much.
> 
> V.


Re: Snapshotting broken on Centos 6.5

2014-10-30 Thread Nux!
Hi,

I haven't heard anything about any fixes, but I don't think it's worth spending 
too much time over it, there is a simple workaround.

http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html

CentOS 7 will not be affected by it whenever ACS will support it.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Andrija Panic" 
> To: users@cloudstack.apache.org, d...@cloudstack.apache.org
> Sent: Thursday, 30 October, 2014 10:14:11
> Subject: Snapshotting broken on Centos 6.5

> Hi guys,
> 
> snapshoting is broken on CentOS 6.5 - because RedHat removed the "-s" flag
> within qemu-img tool in the 6.5 binaries - and this "-s" flag is still
> being used in latest ACS 4.4.1.
> 
> Is this going to be fixed any time soon, or what are the plan's for this ?
> 
> --
> 
> Andrija Panić


Re: CloudStack repos

2014-10-28 Thread Nux!
That's great, Rohit. I love the "good ACS citizens" bit. This is how it should 
be done.
I know there are big clouds out there running ACS which haven't given back much 
(if at all).

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: d...@cloudstack.apache.org
> Cc: market...@cloudstack.apache.org, users@cloudstack.apache.org
> Sent: Tuesday, 28 October, 2014 13:55:58
> Subject: Re: CloudStack repos

> I’ll soon blog on how we build/test and package; I’ve a staging repository 
> here:
> packages.bhaisaab.org that gets builds from Jenkins
> (packages.bhaisaab.org:8080). To build ShapeBlue’s patch/main repo, we have a
> https://github.com/shapeblue/cloudstack repository that is public as well. We
> try to develop in the upstream as much as possible, avoid forking CloudStack
> and be good ACS citizens. After validation/testing is put on the
> packages.shapeblue.com repository after signing the packages using a GPG key
> that is already in my web of trust and since many of the other contributors
> have signed my GPG public key in previous key signing party, it’s in the 2nd
> degree of web of trust and verifiable. Gist used for building signed repo from
> Jenkins built debs/rpms: https://gist.github.com/bhaisaab/e19463222663a2201aed



Re: CloudStack repos

2014-10-28 Thread Nux!
Rohit,

Thanks for that. I'll use lftp for now. You're mirrored here 
http://mirrors.coreix.net/packages.shapeblue.com/
(is there anything else besides those 2 directories cloudstack and 
systemvmtemplate?)

Really glad to see this happening, too bad we can't do it through Apache, but 
still, this is why we have communities for, I guess. ;-)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: market...@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org, users@cloudstack.apache.org
> Sent: Tuesday, 28 October, 2014 10:43:24
> Subject: Re: CloudStack repos

> Hi Lucian,
> 
>> On 28-Oct-2014, at 3:49 pm, Nux!  wrote:
>>
>> Two questions:
>> 1 - would you guys be willing to publish this via rsync as well so people can
>> easily create mirrors?
> 
> Sure, at the moment the repository is served as a directory using apache
> webserver. So you can use something like rsync. If you need anything specific,
> drop an email I can help. One can easily mirror using something like wget as
> well, for example: wget -m / -nH --cut-dirs=2 -np -L -P 
> 
>> 2 - what can we expect in http://packages.shapeblue.com/cloudstack/testing/? 
>> I'd
>> love to have "beta" releases in there, especially during RC testing periods,
>> perhaps with incremental version numbers so "yum update" will do the right
>> thing.
> 
> Currently there is no release/builds, in future we’ll put 4.5.0 builds and
> others releases which are in pipeline and need testing. This would be useful 
> at
> the time of testing an upcoming CloudStack release and during voting.
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: CloudStack repos

2014-10-28 Thread Nux!
Great!

Two questions:
1 - would you guys be willing to publish this via rsync as well so people can 
easily create mirrors?
2 - what can we expect in http://packages.shapeblue.com/cloudstack/testing/? 
I'd love to have "beta" releases in there, especially during RC testing 
periods, perhaps with incremental version numbers so "yum update" will do the 
right thing.

Good job!

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Giles Sirett" 
> To: d...@cloudstack.apache.org, users@cloudstack.apache.org, 
> market...@cloudstack.apache.org
> Sent: Tuesday, 28 October, 2014 09:59:10
> Subject: CloudStack repos

> Hi All
> 
> 
> 
> ShapeBlue is now publicly hosting CloudStack APT/YUM repositories and SystemVM
> templates for everyone. To know more about why we did this please read our 
> blog
> post: http://shapeblue.com/apache-cloudstack/cloudstack-packages-repository/ ‎
> 
> 
> 
> We have committed to doing this going forwards for the project. The underlying
> infrastructure is kindly provided by BT Cloud Compute
> 
> 
> 
> ShapeBlue’s CloudStack packages hosting aims to deliver a reliable and trusted
> source of getting Apache CloudStack 4.2.0 and above builds that are GPG signed
> with information on releases such as release notes, install and admin
> documentation, api docs etc all at one place. We also provide a choice of
> repositories such as upstream (built out of voted/tagged Apache CloudStack
> release), main (built out of official CloudStack releases with any patch/fixes
> by ShapeBlue with separate release notes if the build differs official
> CloudStack release) and testing (unstable/untested nightly builds). All 
> APT/YUM
> repository packages are noredist builds that means you get all the components
> and features CloudStack has to offer.
> 
> 
> 
> For more details on using ShapeBlue CloudStack packages hosting please visit:
> http://shapeblue.com/packages
> 
> 
> 
> 
> Kind Regards
> Giles
> 
> Giles Sirett
> CEO
> 
> [Description: Mail Logo Bottom Align]
> 
> D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055
> 
> giles.sir...@shapeblue.com<mailto:giles.sir...@shapeblue.com> |
> www.shapeblue.com<http://www.shapeblue.com/> |
> Twitter:@shapeBlue<https://twitter.com/#!/shapeblue>
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training 
> Courses<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: Status: update from 4.4.0 -> 4.4.1 still broken ?

2014-10-27 Thread Nux!
Motty,

Please provide DEBUG logs from management server and hypervisors.
It's possible you may be hitting this (as I remember similar symptoms) 
https://issues.apache.org/jira/browse/CLOUDSTACK-7781

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Monday, 27 October, 2014 20:39:54
> Subject: Re: Status: update from 4.4.0 -> 4.4.1 still broken ?

> Hello Vadim,
> did you find the solution?
> 
> I am having similar issue. I am running CentOS 6.5
> "nohup: ignoring input
> 
> 
> 
> Stopping and starting 1 secondary storage vm(s)...
> 
> curl: (56) Failure when receiving data from the peer
> 
> ERROR: Failed to stop secondary storage vm with id 14
> 
> 
> 
> Done stopping and starting secondary storage vm(s)
> 
> 
> 
> Stopping and starting 1 console proxy vm(s)...
> 
> curl: (7) couldn't connect to host
> 
> ERROR: Failed to stop console proxy vm with id 13
> 
> 
> 
> Done stopping and starting console proxy vm(s) .
> 
> 
> 
> Stopping and starting 1 running routing vm(s)...
> 
> curl: (7) couldn't connect to host
> 
> 2
> 
> Done restarting router(s)."
> 
> 
> Thanks,
> 
> Motty
> 
> 
> 
> On Mon, Oct 27, 2014 at 8:52 AM, Rohit Yadav 
> wrote:
> 
>> Hi Vadim,
>>
>> See my reply in-line;
>>
>> > On 27-Oct-2014, at 8:46 pm, Vadim Kimlaychuk 
>> wrote:
>> >
>> > Yes, I did follow this guide.  APT does not have pre-compiled packages
>> so I have compiled them by myself. This is the only difference.
>> >
>> > cloudstack-sysvmadm  script that is mentioned in the last step has the
>> first line as follows:
>> >
>> > . /etc/rc.d/init.d/functions
>> >
>> > But there is no /etc/rc.d/  folder at my Ubuntu server. Script failed at
>> the very beginning so I haven't waited until VMs are going to migrate.
>>
>> You’re correct. This is supposed to be CentOS/RHEL/Fedora specific. I
>> think your upgrade went fine it’s just this script that may need to be
>> fixed. Can you create a ticket on CloudStack’s JIRA? As a workaround you
>> may try to remove this line in the script, make sure “curl" is installed on
>> Ubuntu and try again.
>>
>> > I have downgraded back to 4.4.0 until DEB packages will be released.
>> Problem may be there though I have no errors building CS from the source.
>>
>> I think you should be able to upgrade; until sysvmadm script is fixed so
>> that it works on Debian based distro, after the upgrade you may reboot or
>> kill the existing/old 4.4.0 based systemvms using something like a custom
>> bash/python script or a tool like CloudMonkey or manually if the deploy
>> size is small.
>>
>> Regards.
>>
>> >
>> > Vadim.
>> >
>> > -Original Message-
>> > From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com]
>> > Sent: Monday, October 27, 2014 5:00 PM
>> > To: users@cloudstack.apache.org
>> > Subject: Re: Status: update from 4.4.0 -> 4.4.1 still broken ?
>> >
>> > Hi Vadim,
>> >
>> > Did you follow the upgrade instructions (especially the systemvm
>> upgrading):
>> >
>> http://cloudstack-release-notes.readthedocs.org/en/4.4.1/upgrade/upgrade-4.4.html
>> >
>> > If consoles are not coming up, please upgrade systemvms to 4.4.1 ones
>> and delete existing console proxy VM(s) and retry.
>> >
>> > Any error log would help as well.
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the a

Re: Gluster volume & system vms not starting

2014-10-27 Thread Nux!
Please send us logs from the mgmt and HVs and make sure to enable DEBUG mode in 
the loggers, e.g. "sed -i 's/INFO/DEBUG/g' 
/etc/cloudstack/agent/log4j-cloud.xml" and restart..

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Brent Hartzell" 
> To: users@cloudstack.apache.org
> Sent: Sunday, 26 October, 2014 22:12:47
> Subject: Gluster volume & system vms not starting

> Hello,
> 
> 
> 
> We are currently testing out CloudStack and continue to run into issues.
> 
> 
> 
> We have a physical server with CS management running on it & two hosts using
> 1 drive as an OS and the remaining 3 drives per host as a Gluster volume.
> 
> 
> 
> If we run the install of CloudStack per the guide, and use basic NFS for
> storage, everything works. As soon as we try to use Gluster, CS will see the
> storage, report it correctly, but nothing works - system vm's go into a loop
> of starting-stopped and no vm's can be provisioned.
> 
> 
> 
> The log keeps showing "Primary secondary storage is not even started" - not
> really anything else that makes any sense in the logs though..
> 
> 
> 
> We've tried this with using both a shared mount point on the hosts as well
> as using the Gluster option in primary storage setup. Both report the
> correct amount of storage, but it's basically unusable since these system
> VM's can't start.
> 
> 
> 
> That said, it seems like these system vm's are a single point of failure -
> we had a handful of VM's running for testing on NFS on the management server
> - if anything gets jacked up on those system vm's, it appears to essentially
> take all of the VM's offline. Unless we had something configured wrong. Is
> there any documentation on correctly using Gluster with CS?


Re: Broken update from 4.4 to 4.4.1

2014-10-26 Thread Nux!
Not sure what to advise. I would take those errors to the dev mailing list, it 
will probably ring a bell to someone.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Matthew Midgett" 
> To: users@cloudstack.apache.org
> Sent: Sunday, 26 October, 2014 00:09:35
> Subject: RE: Broken update from 4.4 to 4.4.1

> Oh snap Nux! I read that announcement wrong :(.. Well I am not sure how to
> enable debugging on xenserver and I did a google and either I'm not searching
> correctly or no one has wrote about it. In which file did you see a problem
> with ssl? I'm not running any ssl at all. I have a cluster of HAProxy doing 
> ssl
> termination in front so I'm not sure where I'm using SSL at.
> 
> 
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: Saturday, October 25, 2014 5:33 PM
> To: users@cloudstack.apache.org
> Subject: Re: Broken update from 4.4 to 4.4.1
> 
> Hello Matthew,
> 
> AFAIK the root resize feature applies only to KVM hypervisors for now, so if 
> you
> are after that one feature, don't rush.
> 
> Having said that, though the errors do not make much sense for me, is there 
> any
> possibility you can enable DEBUG logging in the agent/HV? It looks like
> something related to SSL.
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Matthew Midgett" 
>> To: users@cloudstack.apache.org
>> Sent: Saturday, 25 October, 2014 20:38:09
>> Subject: RE: Broken update from 4.4 to 4.4.1
> 
>> I tried again to update from 4.4.0 to 4.4.1 with centos management
>> server and xenserver 6.2. Here is the logs from the management server
>> and the catalina.out
>> 
>> http://pastebin.com/mS0wjug7
>> 
>> http://pastebin.com/gwVCitvb
>> 
>> I have to down grade and restore the db to get things working again. I
>> would really like to try out the root disk resize option.
>> 
>> I did fresh install with a single vm witg the db and management server
>> on the same host just installed just fine.
>> 
> > What should I do next ?


Re: Broken update from 4.4 to 4.4.1

2014-10-25 Thread Nux!
Hello Matthew,

AFAIK the root resize feature applies only to KVM hypervisors for now, so if 
you are after that one feature, don't rush.

Having said that, though the errors do not make much sense for me, is there any 
possibility you can enable DEBUG logging in the agent/HV? It looks like 
something related to SSL.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Matthew Midgett" 
> To: users@cloudstack.apache.org
> Sent: Saturday, 25 October, 2014 20:38:09
> Subject: RE: Broken update from 4.4 to 4.4.1

> I tried again to update from 4.4.0 to 4.4.1 with centos management server and
> xenserver 6.2. Here is the logs from the management server and the 
> catalina.out
> 
> http://pastebin.com/mS0wjug7
> 
> http://pastebin.com/gwVCitvb
> 
> I have to down grade and restore the db to get things working again. I would
> really like to try out the root disk resize option.
> 
> I did fresh install with a single vm witg the db and management server on the
> same host just installed just fine.
> 
> What should I do next ?


Re: which version is more stable one to deploy ACS in production:

2014-10-17 Thread Nux!
Hello,

You can get it from here:
http://cloudstack.apt-get.eu/systemvm/4.3/

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Anil Kumar Lakineni" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 16 October, 2014 18:03:54
> Subject: RE: which version is more stable one to deploy ACS in production:

> Hi All,
> 
> Good Morning, I have configured ACS 4.3.1 and now I want to download SYSTEM
> VM TEMPLATE to secondary storage. So can anyone provide me the link to
> download ACS 4.3.1 system vm template..??  I'm Using  xenserver hypervisor.
> 
> if use ACS 4.3.0 system vm template download link, do I get any issues in
> future..???
> 
> Looking forward for your suggestions.
> 
> Thank you,
> Anil.
> 
> -Original Message-
> From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
> Sent: Tuesday, October 07, 2014 10:18 PM
> To: users@cloudstack.apache.org
> Subject: Re: which version is more stable one to deploy ACS in production:
> 
> I run 4.3.1 and my environments are very large. I plan to stay on it for
> a while.
> 
> Depending on the size if you go into 100 hypervisors, you may want to
> tweak java heap.
> 
> On 10/6/14, 1:11 AM, AnilKumar Lakineni wrote:
>> Hi All,
>>
>> Good Morning,
>>
>> I want to deploy ACS for production. So can anybody suggest  me which
> version should I take into production with more advanced features.
>>
>> Looking forward for your valuable suggestions.
>>
>>
>> Thank you,
>> Anil.
>>
> 
> 
> ---
> This email is free from viruses and malware because avast! Antivirus 
> protection
> is active.
> http://www.avast.com


Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-09 Thread Nux!
Motty,

Also, 4.4.1 was not yet released AFAIK, wait until it is.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 16:11:12
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> Erik, I did not change anything before or after upgrading
> Cloudstack-management 4.4.0. I followed the steps below to the exact words.
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.1/upgrade/upgrade-4.4.html
> 
> now I believe it was an issue with the Database, maybe the scheme was not
> upgraded? I am running database on a different server. Any ideas? I really
> would like to upgrade to latest package to be able to use Windows
> templates. at this moment I can't create instances from windows templates.
> 
> Thanks
> Motty
> 
> On Thu, Oct 9, 2014 at 8:06 AM, Erik Weber  wrote:
> 
>> I generally experience this if there is a wrong configuration setting.
>>
>> Did you change anything before upgrading?
>>
>> Erik
>> 9. okt. 2014 00:49 skrev "motty cruz"  følgende:
>>
>> > Hi ilya,
>> > here is the management-server.log as you suggest, I waited 10 minutes
>> > http://pastebin.com/raw.php?i=AiYXmxSU
>> >
>> > my umask 002
>> > cat /etc/profile
>> >
>> > Thank you very much.
>> >
>> > On Wed, Oct 8, 2014 at 3:32 PM, ilya musayev <
>> ilya.mailing.li...@gmail.com
>> > >
>> > wrote:
>> >
>> > > Motty,
>> > >
>> > > The error you see about not being able to connect to a host on port
>> 9090
>> > > is normal when the management server is starting. There must be another
>> > > error or warning somewhere.
>> > >
>> > > Please try the steps below to shrink the log file to manageable size
>> and
>> > > upload the file to some file sharing site if paste bin restricts you.
>> > >
>> > > service cloudstack-management stop
>> > > cat /dev/null > /var/log/cloudstack/management/management-server.log
>> > > service cloudstack-management start
>> > >
>> > > wait 10 minutes
>> > > upload the whole file or contents of it to google drive or something
>> > > similar.
>> > >
>> > > What is your umask is set to?
>> > >
>> > > Regards
>> > > ilya
>> > >
>> > > On 10/8/14, 1:04 PM, motty cruz wrote:
>> > >
>> > >> Hello ilya,
>> > >> I was not able to post the entire log file is too big,
>> > >>
>> > >> here is the error msg I see at 6:21 am.
>> > >> http://pastebin.com/raw.php?i=dWxDmR91
>> > >>
>> > >>
>> > >> Thanks,
>> > >> Motty
>> > >> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> > >> ilya.mailing.li...@gmail.com>
>> > >> wrote:
>> > >>
>> > >>  Management server log is missing ERROR statements in what you've
>> > posted.
>> > >>> Please include the full log file.
>> > >>>
>> > >>> On 10/8/14, 12:23 PM, motty cruz wrote:
>> > >>>
>> > >>>  I am looking in the logs but I can't see to find exactly the error
>> > >>>> causing
>> > >>>> this issue.
>> > >>>> I still getting this error:
>> > >>>> HTTP Status 404 -
>> > >>>> --
>> > >>>>
>> > >>>> *type* Status report
>> > >>>>
>> > >>>> *message*
>> > >>>>
>> > >>>> *description* *The requested resource () is not available.*
>> > >>>> --
>> > >>>> Apache Tomcat/6.0.24
>> > >>>>
>> > >>>> On Wed, Oct 8, 2014 at 12:09 PM, Andrei Mikhailovsky <
>> > and...@arhont.com
>> > >>>> >
>> > >>>> wrote:
>> > >>>>
>> > >>>>   I've had a similar issue when upgrading, but I can't remember
>> > exactly
>> > >>>> how
>> > >>>>
>> > >>>>> I solved it. I think everything should be in the logs, it was
>> prett

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-09 Thread Nux!
Motty,

Sorry, Xenserver is a bit out of my territory as I have none to test on. 
Perhaps some other people can chip in.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 16:43:55
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> Nux,
> 
> I am using XenServer 6.2, everything seem to be working fine except Windows
> Server 2012 templates. I have a testing cluster made up of personal PC,
> XenServer 6.2 ACS 4.40 using NFS as primary and secondary storage and
> windows server 2012 templates work like a charm, that is the reason I
> decided to upgrade.
> 
> Thanks,
> Motty
> 
> 
> On Thu, Oct 9, 2014 at 8:36 AM, Nux!  wrote:
> 
>> Motty,
>>
>> On which hypervisor are you on? I've never had problems with Windows
>> templates (on kvm).
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "motty cruz" 
>> > To: users@cloudstack.apache.org
>> > Sent: Thursday, 9 October, 2014 16:11:12
>> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1
>>
>> > Erik, I did not change anything before or after upgrading
>> > Cloudstack-management 4.4.0. I followed the steps below to the exact
>> words.
>> >
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.1/upgrade/upgrade-4.4.html
>> >
>> > now I believe it was an issue with the Database, maybe the scheme was not
>> > upgraded? I am running database on a different server. Any ideas? I
>> really
>> > would like to upgrade to latest package to be able to use Windows
>> > templates. at this moment I can't create instances from windows
>> templates.
>> >
>> > Thanks
>> > Motty
>> >
>> > On Thu, Oct 9, 2014 at 8:06 AM, Erik Weber  wrote:
>> >
>> >> I generally experience this if there is a wrong configuration setting.
>> >>
>> >> Did you change anything before upgrading?
>> >>
>> >> Erik
>> >> 9. okt. 2014 00:49 skrev "motty cruz"  følgende:
>> >>
>> >> > Hi ilya,
>> >> > here is the management-server.log as you suggest, I waited 10 minutes
>> >> > http://pastebin.com/raw.php?i=AiYXmxSU
>> >> >
>> >> > my umask 002
>> >> > cat /etc/profile
>> >> >
>> >> > Thank you very much.
>> >> >
>> >> > On Wed, Oct 8, 2014 at 3:32 PM, ilya musayev <
>> >> ilya.mailing.li...@gmail.com
>> >> > >
>> >> > wrote:
>> >> >
>> >> > > Motty,
>> >> > >
>> >> > > The error you see about not being able to connect to a host on port
>> >> 9090
>> >> > > is normal when the management server is starting. There must be
>> another
>> >> > > error or warning somewhere.
>> >> > >
>> >> > > Please try the steps below to shrink the log file to manageable size
>> >> and
>> >> > > upload the file to some file sharing site if paste bin restricts
>> you.
>> >> > >
>> >> > > service cloudstack-management stop
>> >> > > cat /dev/null > /var/log/cloudstack/management/management-server.log
>> >> > > service cloudstack-management start
>> >> > >
>> >> > > wait 10 minutes
>> >> > > upload the whole file or contents of it to google drive or something
>> >> > > similar.
>> >> > >
>> >> > > What is your umask is set to?
>> >> > >
>> >> > > Regards
>> >> > > ilya
>> >> > >
>> >> > > On 10/8/14, 1:04 PM, motty cruz wrote:
>> >> > >
>> >> > >> Hello ilya,
>> >> > >> I was not able to post the entire log file is too big,
>> >> > >>
>> >> > >> here is the error msg I see at 6:21 am.
>> >> > >> http://pastebin.com/raw.php?i=dWxDmR91
>> >> > >>
>> >> > >>
>> >> > >> Thanks,
>> >> > >> Motty
>> >> > >> On Wed, Oct 8, 2014 at 1

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-09 Thread Nux!
Motty,

On which hypervisor are you on? I've never had problems with Windows templates 
(on kvm).

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 16:11:12
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> Erik, I did not change anything before or after upgrading
> Cloudstack-management 4.4.0. I followed the steps below to the exact words.
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.1/upgrade/upgrade-4.4.html
> 
> now I believe it was an issue with the Database, maybe the scheme was not
> upgraded? I am running database on a different server. Any ideas? I really
> would like to upgrade to latest package to be able to use Windows
> templates. at this moment I can't create instances from windows templates.
> 
> Thanks
> Motty
> 
> On Thu, Oct 9, 2014 at 8:06 AM, Erik Weber  wrote:
> 
>> I generally experience this if there is a wrong configuration setting.
>>
>> Did you change anything before upgrading?
>>
>> Erik
>> 9. okt. 2014 00:49 skrev "motty cruz"  følgende:
>>
>> > Hi ilya,
>> > here is the management-server.log as you suggest, I waited 10 minutes
>> > http://pastebin.com/raw.php?i=AiYXmxSU
>> >
>> > my umask 002
>> > cat /etc/profile
>> >
>> > Thank you very much.
>> >
>> > On Wed, Oct 8, 2014 at 3:32 PM, ilya musayev <
>> ilya.mailing.li...@gmail.com
>> > >
>> > wrote:
>> >
>> > > Motty,
>> > >
>> > > The error you see about not being able to connect to a host on port
>> 9090
>> > > is normal when the management server is starting. There must be another
>> > > error or warning somewhere.
>> > >
>> > > Please try the steps below to shrink the log file to manageable size
>> and
>> > > upload the file to some file sharing site if paste bin restricts you.
>> > >
>> > > service cloudstack-management stop
>> > > cat /dev/null > /var/log/cloudstack/management/management-server.log
>> > > service cloudstack-management start
>> > >
>> > > wait 10 minutes
>> > > upload the whole file or contents of it to google drive or something
>> > > similar.
>> > >
>> > > What is your umask is set to?
>> > >
>> > > Regards
>> > > ilya
>> > >
>> > > On 10/8/14, 1:04 PM, motty cruz wrote:
>> > >
>> > >> Hello ilya,
>> > >> I was not able to post the entire log file is too big,
>> > >>
>> > >> here is the error msg I see at 6:21 am.
>> > >> http://pastebin.com/raw.php?i=dWxDmR91
>> > >>
>> > >>
>> > >> Thanks,
>> > >> Motty
>> > >> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> > >> ilya.mailing.li...@gmail.com>
>> > >> wrote:
>> > >>
>> > >>  Management server log is missing ERROR statements in what you've
>> > posted.
>> > >>> Please include the full log file.
>> > >>>
>> > >>> On 10/8/14, 12:23 PM, motty cruz wrote:
>> > >>>
>> > >>>  I am looking in the logs but I can't see to find exactly the error
>> > >>>> causing
>> > >>>> this issue.
>> > >>>> I still getting this error:
>> > >>>> HTTP Status 404 -
>> > >>>> --
>> > >>>>
>> > >>>> *type* Status report
>> > >>>>
>> > >>>> *message*
>> > >>>>
>> > >>>> *description* *The requested resource () is not available.*
>> > >>>> --
>> > >>>> Apache Tomcat/6.0.24
>> > >>>>
>> > >>>> On Wed, Oct 8, 2014 at 12:09 PM, Andrei Mikhailovsky <
>> > and...@arhont.com
>> > >>>> >
>> > >>>> wrote:
>> > >>>>
>> > >>>>   I've had a similar issue when upgrading, but I can't remember
>> > exactly
>> > >>>> how
>> > >>>>
>> > >>>>> I solved it. I think

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-09 Thread Nux!
What I would do next is to restore /etc/cloudstack on the management server 
from the backups and also the DB. To be 100% sure you are using the old one, 
just drop the DBs and restore from backups.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 15:46:50
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> Thanks that worked! I was able to downgrade packages to
> cloudstack-management-4.4.0 but I still getting same error message.
> 
> I am going to loose my sense,
> 
> HTTP Status 404 -
> --
> 
> *type* Status report
> 
> *message*
> 
> *description* *The requested resource () is not available.*
> --
> Apache Tomcat/6.0.24
> 
> Please help!
> 
> On Thu, Oct 9, 2014 at 7:08 AM, Nux!  wrote:
> 
>> Try:
>>
>> yum downgrade cloudstack-\*
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "motty cruz" 
>> > To: users@cloudstack.apache.org
>> > Sent: Thursday, 9 October, 2014 14:53:07
>> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1
>>
>> > I tried to downgrade, here is the command that I used: yum downgrade
>> > cloudstack-management now I'm getting this errors:
>> > ---> Package cloudstack-management.x86_64 0:4.4.1-NONOSS_1.el6 will be
>> > erased
>> > --> Finished Dependency Resolution
>> > Error: Package: cloudstack-awsapi-4.4.1-NONOSS_1.el6.x86_64 (@cloudstack)
>> >   Requires: cloudstack-management = 4.4.1
>> >   Removing: cloudstack-management-4.4.1-NONOSS_1.el6.x86_64
>> > (@cloudstack)
>> >   cloudstack-management = 4.4.1-NONOSS_1.el6
>> >   Downgraded By: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
>> > (cloudstack)
>> >   cloudstack-management = 4.4.0-NONOSS_3.el6
>> > Error: Package: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
>> (cloudstack)
>> >   Requires: cloudstack-awsapi = 4.4.0
>> >   Installed: cloudstack-awsapi-4.4.1-NONOSS_1.el6.x86_64
>> > (@cloudstack)
>> >   cloudstack-awsapi = 4.4.1-NONOSS_1.el6
>> >   Available: cloudstack-awsapi-4.4.0-NONOSS_3.el6.x86_64
>> > (cloudstack)
>> >   cloudstack-awsapi = 4.4.0-NONOSS_3.el6
>> > Error: Package: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
>> (cloudstack)
>> >   Requires: cloudstack-common = 4.4.0
>> >   Installed: cloudstack-common-4.4.1-NONOSS_1.el6.x86_64
>> > (@cloudstack)
>> >   cloudstack-common = 4.4.1-NONOSS_1.el6
>> >   Available: cloudstack-common-4.4.0-NONOSS_3.el6.x86_64
>> > (cloudstack)
>> >   cloudstack-common = 4.4.0-NONOSS_3.el6
>> > You could try using --skip-broken to work around the problem
>> > You could try running: rpm -Va --nofiles --nodigest
>> > [root@blaze home]#
>> >
>> > please help!
>> >
>> > On Wed, Oct 8, 2014 at 3:35 PM, Nux!  wrote:
>> >
>> >> Motty,
>> >>
>> >> Here's a repo that still has 4.4.0
>> >> http://cloudstack.apt-get.eu/rhel/4.4/
>> >>
>> >> You could try to yum downgrade to 4.4.0 and restore your DB.
>> >>
>> >> Do take backups before you do that..
>> >>
>> >> --
>> >> Sent from the Delta quadrant using Borg technology!
>> >>
>> >> Nux!
>> >> www.nux.ro
>> >>
>> >> - Original Message -
>> >> > From: "motty cruz" 
>> >> > To: users@cloudstack.apache.org
>> >> > Sent: Wednesday, 8 October, 2014 23:31:00
>> >> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS
>> 4.4.1
>> >>
>> >> > Hi Nux,
>> >> > I follow this steps to upgrade
>> >> >
>> >> >
>> >>
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4/upgrade/upgrade-4.4.html
>> >> >
>> >> > here is my cloudstack.repo
>> >> >
>> >> > [cloudstack]
>> >> > name=cloudstack
>> >> > baseurl=http://cloudstack.apt-get

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-09 Thread Nux!
Try:

yum downgrade cloudstack-\*

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 14:53:07
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> I tried to downgrade, here is the command that I used: yum downgrade
> cloudstack-management now I'm getting this errors:
> ---> Package cloudstack-management.x86_64 0:4.4.1-NONOSS_1.el6 will be
> erased
> --> Finished Dependency Resolution
> Error: Package: cloudstack-awsapi-4.4.1-NONOSS_1.el6.x86_64 (@cloudstack)
>   Requires: cloudstack-management = 4.4.1
>   Removing: cloudstack-management-4.4.1-NONOSS_1.el6.x86_64
> (@cloudstack)
>   cloudstack-management = 4.4.1-NONOSS_1.el6
>   Downgraded By: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64
> (cloudstack)
>   cloudstack-management = 4.4.0-NONOSS_3.el6
> Error: Package: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64 (cloudstack)
>   Requires: cloudstack-awsapi = 4.4.0
>   Installed: cloudstack-awsapi-4.4.1-NONOSS_1.el6.x86_64
> (@cloudstack)
>   cloudstack-awsapi = 4.4.1-NONOSS_1.el6
>   Available: cloudstack-awsapi-4.4.0-NONOSS_3.el6.x86_64
> (cloudstack)
>   cloudstack-awsapi = 4.4.0-NONOSS_3.el6
> Error: Package: cloudstack-management-4.4.0-NONOSS_3.el6.x86_64 (cloudstack)
>   Requires: cloudstack-common = 4.4.0
>   Installed: cloudstack-common-4.4.1-NONOSS_1.el6.x86_64
> (@cloudstack)
>   cloudstack-common = 4.4.1-NONOSS_1.el6
>   Available: cloudstack-common-4.4.0-NONOSS_3.el6.x86_64
> (cloudstack)
>   cloudstack-common = 4.4.0-NONOSS_3.el6
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest
> [root@blaze home]#
> 
> please help!
> 
> On Wed, Oct 8, 2014 at 3:35 PM, Nux!  wrote:
> 
>> Motty,
>>
>> Here's a repo that still has 4.4.0
>> http://cloudstack.apt-get.eu/rhel/4.4/
>>
>> You could try to yum downgrade to 4.4.0 and restore your DB.
>>
>> Do take backups before you do that..
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "motty cruz" 
>> > To: users@cloudstack.apache.org
>> > Sent: Wednesday, 8 October, 2014 23:31:00
>> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1
>>
>> > Hi Nux,
>> > I follow this steps to upgrade
>> >
>> >
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4/upgrade/upgrade-4.4.html
>> >
>> > here is my cloudstack.repo
>> >
>> > [cloudstack]
>> > name=cloudstack
>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.4/
>> > enabled=1
>> > gpgcheck=0
>> > cloudstack.repo (END)
>> >
>> > Thanks for your help!
>> >
>> >
>> > On Wed, Oct 8, 2014 at 2:40 PM, Nux!  wrote:
>> >
>> >> How did you upgrade exactly?
>> >>
>> >> --
>> >> Sent from the Delta quadrant using Borg technology!
>> >>
>> >> Nux!
>> >> www.nux.ro
>> >>
>> >> - Original Message -
>> >> > From: "motty cruz" 
>> >> > To: users@cloudstack.apache.org
>> >> > Sent: Wednesday, 8 October, 2014 22:31:57
>> >> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS
>> 4.4.1
>> >>
>> >> > can I run "cloudstack-setup-management" would this help? I try to find
>> >> the
>> >> > meaning of this command,
>> >> >
>> >> > On Wed, Oct 8, 2014 at 1:04 PM, motty cruz 
>> wrote:
>> >> >
>> >> >> Hello ilya,
>> >> >> I was not able to post the entire log file is too big,
>> >> >>
>> >> >> here is the error msg I see at 6:21 am.
>> >> >> http://pastebin.com/raw.php?i=dWxDmR91
>> >> >>
>> >> >>
>> >> >> Thanks,
>> >> >> Motty
>> >> >>
>> >> >> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> >> >> ilya.mailing.li...@gmail.com> wrote:
>> >> >>
>> >> >>> Management server log is m

Re: Custom logos :)

2014-10-09 Thread Nux!
Ok, so I'll assume public domain. Cheers :)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Erdősi Péter" 
> To: users@cloudstack.apache.org
> Sent: Thursday, 9 October, 2014 07:53:25
> Subject: Re: Custom logos :)

> 2014.10.08. 20:46 keltezéssel, Nux! írta:
>> Nice, are they under a certain licence?
> Nope.. You can download it as transparent png, with relative big size,
> so if somebody may want to use it, just do it ;-)
> 
> 
> Regards,
>   Peter


Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-08 Thread Nux!
Motty,

Roughly it's like this:
mysql -ucsuser -pcspass csdb < csdb.sql, the same for cloud_usage and 
cloudbridge (though these are less critical)

PhpMyAdmin or Webmin can be helpful it you are not good with the command line. 
It's also possible you will have to drop those databases or the tables within 
altogether to make sure your backup is used and nothing extra.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 8 October, 2014 23:38:34
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> very grateful, for your help,
> 
> I did a backup of database, I apologize for the this but I can't think of
> the command to restore MySQL backup.
> 
> Thank you very much.
> 
> On Wed, Oct 8, 2014 at 3:35 PM, Nux!  wrote:
> 
>> Motty,
>>
>> Here's a repo that still has 4.4.0
>> http://cloudstack.apt-get.eu/rhel/4.4/
>>
>> You could try to yum downgrade to 4.4.0 and restore your DB.
>>
>> Do take backups before you do that..
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "motty cruz" 
>> > To: users@cloudstack.apache.org
>> > Sent: Wednesday, 8 October, 2014 23:31:00
>> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1
>>
>> > Hi Nux,
>> > I follow this steps to upgrade
>> >
>> >
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4/upgrade/upgrade-4.4.html
>> >
>> > here is my cloudstack.repo
>> >
>> > [cloudstack]
>> > name=cloudstack
>> > baseurl=http://cloudstack.apt-get.eu/rhel/4.4/
>> > enabled=1
>> > gpgcheck=0
>> > cloudstack.repo (END)
>> >
>> > Thanks for your help!
>> >
>> >
>> > On Wed, Oct 8, 2014 at 2:40 PM, Nux!  wrote:
>> >
>> >> How did you upgrade exactly?
>> >>
>> >> --
>> >> Sent from the Delta quadrant using Borg technology!
>> >>
>> >> Nux!
>> >> www.nux.ro
>> >>
>> >> - Original Message -
>> >> > From: "motty cruz" 
>> >> > To: users@cloudstack.apache.org
>> >> > Sent: Wednesday, 8 October, 2014 22:31:57
>> >> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS
>> 4.4.1
>> >>
>> >> > can I run "cloudstack-setup-management" would this help? I try to find
>> >> the
>> >> > meaning of this command,
>> >> >
>> >> > On Wed, Oct 8, 2014 at 1:04 PM, motty cruz 
>> wrote:
>> >> >
>> >> >> Hello ilya,
>> >> >> I was not able to post the entire log file is too big,
>> >> >>
>> >> >> here is the error msg I see at 6:21 am.
>> >> >> http://pastebin.com/raw.php?i=dWxDmR91
>> >> >>
>> >> >>
>> >> >> Thanks,
>> >> >> Motty
>> >> >>
>> >> >> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> >> >> ilya.mailing.li...@gmail.com> wrote:
>> >> >>
>> >> >>> Management server log is missing ERROR statements in what you've
>> >> posted.
>> >> >>> Please include the full log file.
>> >> >>>
>> >> >>> On 10/8/14, 12:23 PM, motty cruz wrote:
>> >> >>>
>> >> >>>> I am looking in the logs but I can't see to find exactly the error
>> >> >>>> causing
>> >> >>>> this issue.
>> >> >>>> I still getting this error:
>> >> >>>> HTTP Status 404 -
>> >> >>>> --
>> >> >>>>
>> >> >>>> *type* Status report
>> >> >>>>
>> >> >>>> *message*
>> >> >>>>
>> >> >>>> *description* *The requested resource () is not available.*
>> >> >>>> --
>> >> >>>> Apache Tomcat/6.0.24
>> >> >>>>
>> >> >>>> On Wed, Oct 8, 2014 at 12:09 PM, Andrei 

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-08 Thread Nux!
Motty,

Here's a repo that still has 4.4.0 
http://cloudstack.apt-get.eu/rhel/4.4/

You could try to yum downgrade to 4.4.0 and restore your DB.

Do take backups before you do that..

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 8 October, 2014 23:31:00
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> Hi Nux,
> I follow this steps to upgrade
> 
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4/upgrade/upgrade-4.4.html
> 
> here is my cloudstack.repo
> 
> [cloudstack]
> name=cloudstack
> baseurl=http://cloudstack.apt-get.eu/rhel/4.4/
> enabled=1
> gpgcheck=0
> cloudstack.repo (END)
> 
> Thanks for your help!
> 
> 
> On Wed, Oct 8, 2014 at 2:40 PM, Nux!  wrote:
> 
>> How did you upgrade exactly?
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "motty cruz" 
>> > To: users@cloudstack.apache.org
>> > Sent: Wednesday, 8 October, 2014 22:31:57
>> > Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1
>>
>> > can I run "cloudstack-setup-management" would this help? I try to find
>> the
>> > meaning of this command,
>> >
>> > On Wed, Oct 8, 2014 at 1:04 PM, motty cruz  wrote:
>> >
>> >> Hello ilya,
>> >> I was not able to post the entire log file is too big,
>> >>
>> >> here is the error msg I see at 6:21 am.
>> >> http://pastebin.com/raw.php?i=dWxDmR91
>> >>
>> >>
>> >> Thanks,
>> >> Motty
>> >>
>> >> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> >> ilya.mailing.li...@gmail.com> wrote:
>> >>
>> >>> Management server log is missing ERROR statements in what you've
>> posted.
>> >>> Please include the full log file.
>> >>>
>> >>> On 10/8/14, 12:23 PM, motty cruz wrote:
>> >>>
>> >>>> I am looking in the logs but I can't see to find exactly the error
>> >>>> causing
>> >>>> this issue.
>> >>>> I still getting this error:
>> >>>> HTTP Status 404 -
>> >>>> --
>> >>>>
>> >>>> *type* Status report
>> >>>>
>> >>>> *message*
>> >>>>
>> >>>> *description* *The requested resource () is not available.*
>> >>>> --
>> >>>> Apache Tomcat/6.0.24
>> >>>>
>> >>>> On Wed, Oct 8, 2014 at 12:09 PM, Andrei Mikhailovsky <
>> and...@arhont.com>
>> >>>> wrote:
>> >>>>
>> >>>>  I've had a similar issue when upgrading, but I can't remember exactly
>> >>>>> how
>> >>>>> I solved it. I think everything should be in the logs, it was pretty
>> >>>>> straightforward and quick as far as I remember.
>> >>>>>
>> >>>>> Andrei
>> >>>>>
>> >>>>> P.S. to revert back you simply stop acs and usage server, restore
>> your
>> >>>>> database from backups and install the previous acs version. If you've
>> >>>>> updated any clients, make sure you revert them back as well.
>> >>>>>
>> >>>>> - Original Message -
>> >>>>>
>> >>>>>  From: "motty cruz" 
>> >>>>>> To: users@cloudstack.apache.org
>> >>>>>> Sent: Wednesday, 8 October, 2014 6:34:29 PM
>> >>>>>> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS
>> >>>>>> 4.4.1
>> >>>>>> Thanks Erik,
>> >>>>>> here is the output of netstat -anlp
>> >>>>>> http://pastebin.com/raw.php?i=CJn9i9ci
>> >>>>>> ps aux
>> >>>>>> http://pastebin.com/raw.php?i=uSDJJUDH
>> >>>>>> management-server.log
>> >>>>>> http://pastebin.com/raw.php?i=sSs63jRi
>> >>>>>> Thanks for your support
>> >>>>>&g

Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

2014-10-08 Thread Nux!
How did you upgrade exactly?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "motty cruz" 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 8 October, 2014 22:31:57
> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS 4.4.1

> can I run "cloudstack-setup-management" would this help? I try to find the
> meaning of this command,
> 
> On Wed, Oct 8, 2014 at 1:04 PM, motty cruz  wrote:
> 
>> Hello ilya,
>> I was not able to post the entire log file is too big,
>>
>> here is the error msg I see at 6:21 am.
>> http://pastebin.com/raw.php?i=dWxDmR91
>>
>>
>> Thanks,
>> Motty
>>
>> On Wed, Oct 8, 2014 at 12:34 PM, ilya musayev <
>> ilya.mailing.li...@gmail.com> wrote:
>>
>>> Management server log is missing ERROR statements in what you've posted.
>>> Please include the full log file.
>>>
>>> On 10/8/14, 12:23 PM, motty cruz wrote:
>>>
>>>> I am looking in the logs but I can't see to find exactly the error
>>>> causing
>>>> this issue.
>>>> I still getting this error:
>>>> HTTP Status 404 -
>>>> --
>>>>
>>>> *type* Status report
>>>>
>>>> *message*
>>>>
>>>> *description* *The requested resource () is not available.*
>>>> --
>>>> Apache Tomcat/6.0.24
>>>>
>>>> On Wed, Oct 8, 2014 at 12:09 PM, Andrei Mikhailovsky 
>>>> wrote:
>>>>
>>>>  I've had a similar issue when upgrading, but I can't remember exactly
>>>>> how
>>>>> I solved it. I think everything should be in the logs, it was pretty
>>>>> straightforward and quick as far as I remember.
>>>>>
>>>>> Andrei
>>>>>
>>>>> P.S. to revert back you simply stop acs and usage server, restore your
>>>>> database from backups and install the previous acs version. If you've
>>>>> updated any clients, make sure you revert them back as well.
>>>>>
>>>>> - Original Message -
>>>>>
>>>>>  From: "motty cruz" 
>>>>>> To: users@cloudstack.apache.org
>>>>>> Sent: Wednesday, 8 October, 2014 6:34:29 PM
>>>>>> Subject: Re: HTTP Status 404 - just upgraded from ACS 4.4.0 to ACS
>>>>>> 4.4.1
>>>>>> Thanks Erik,
>>>>>> here is the output of netstat -anlp
>>>>>> http://pastebin.com/raw.php?i=CJn9i9ci
>>>>>> ps aux
>>>>>> http://pastebin.com/raw.php?i=uSDJJUDH
>>>>>> management-server.log
>>>>>> http://pastebin.com/raw.php?i=sSs63jRi
>>>>>> Thanks for your support
>>>>>> Motty
>>>>>> On Wed, Oct 8, 2014 at 10:00 AM, Erik Weber 
>>>>>> wrote:
>>>>>>
>>>>>>> Post the log on pastebin, also post the output of
>>>>>>>
>>>>>>> netstat -anlp
>>>>>>> ps aux
>>>>>>>
>>>>>>> Erik
>>>>>>> 8. okt. 2014 18:30 skrev "motty cruz" 
>>>>>>> følgende:
>>>>>>>
>>>>>>>  Hi Erik,
>>>>>>>>
>>>>>>>> I did as you suggested :
>>>>>>>> [root@blaze home]# pkill java
>>>>>>>> [root@blaze home]# service cloudstack-management status
>>>>>>>> cloudstack-management dead but pid file exists
>>>>>>>> The pid file locates at /var/run/cloudstack-management.pid and
>>>>>>>> lock file
>>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>>> /var/lock/subsys/cloudstack-management.
>>>>>>>> Starting cloudstack-management will take care of them or you can
>>>>>>>> manually clean up.
>>>>>>>> [root@blaze home]# service cloudstack-management stop
>>>>>>>> Stopping cloudstack-management: [ OK ]
>>>>>>>> [root@blaze home]# service cloudstack-management start
>>>>>>>> Starting cloudstack-management: [ OK ]
>>>>>>>> [root@blaze home]# service cloudstack-management stat

Re: Custom logos :)

2014-10-08 Thread Nux!
Nice, are they under a certain licence? :-)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Erdősi Péter" 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 8 October, 2014 19:17:22
> Subject: Custom logos :)

> Hello,
> 
> Two of my colleagues made 4 custom logo to CS. :-)
> If intrested, you can see the logos here: http://fazy.info/CSLogo/
> 
> Regards,
>   Peter


Updated and new Cloudstack templates

2014-10-08 Thread Nux!
Hello,

I've updated the existing CentOS templates and added some new ones - FreeBSD 
and Ubuntu.
The Ubuntu template is actually their own cloud image with the cloudstack data 
source defined in cloud-init and the password script added.
Let me know if you have any comments etc.

http://dl.openvm.eu/cloudstack/

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: About sharepoint mode in CloudStack

2014-08-30 Thread Nux!
Giles, you should have saved this one for the 1st of April. :-))

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Giles Sirett" 
> To: users@cloudstack.apache.org
> Sent: Friday, 29 August, 2014 1:01:36 PM
> Subject: RE: Re: About sharepoint mode in CloudStack
> 
> Yes, Cloudstack uses an MS SQL server for data, we've created our own message
> bus with MS Exchange and the interface is going to be accessed through a MS
> Word add-in going forwards :-)
> 
> 
> Kind Regards
> Giles
> 
> D: +44 20 3603 0541 | M: +44 796 111 2055
> giles.sir...@shapeblue.com
> 
> 
> 
> 
> -Original Message-
> From: Dave Dunaway [mailto:dave.duna...@gmail.com]
> Sent: 28 August 2014 10:29
> To: users@cloudstack.apache.org
> Subject: Re: Re: About sharepoint mode in CloudStack
> 
> OMG...it has to be since it's too early where I am, but I almost puked
> thinking somehow Cloudplatform was using MS Sharepoint to store docs in some
> sick twisted disgusting joke.
> Thankfully it's just auto-correct being a dick :)
> 
> /me runs away arms flailing about anyways!
> 
> 
> On Thu, Aug 28, 2014 at 5:12 AM, ro...@cywee.com  wrote:
> 
> > Kirks,
> > thanks a lot.
> > By the wa y, I use  OCFS2/iSCSI as the  clumster filesystem under
> > Shared Mountpoint mode.
> > I have a problem right now.
> > There are two hosts running ocfs2 and connecting to a signle storage
> > server with iSCSI. After I run about one day, one hosts hung up and
> > all the VM on this host stopped.
> > I suspected ocfs2 filesystem locked the host. I want to see the lock
> > status of ocfs2. How to do?
> >
> >
> >
> >
> > ro...@cywee.com
> >
> > From: Kirk Kosinski
> > Date: 2014-08-28 16:54
> > To: users
> > Subject: Re: About sharepoint mode in CloudStack Hi, Robin.  The NFS
> > option should be used for NFS shares that are not already mounted on
> > the hosts.  CloudStack will tell the hosts to mount the NFS share you
> > specify.
> >
> > The Shared Mount Point option would be for a primary storage that is
> > already mounted on the hosts by the system administrator.  Here is
> > what the docs [1] say about it:
> >
> > > KVM supports "Shared Mountpoint" storage. A shared mountpoint is a
> > > file system path local to each server in a given cluster. The path
> > > must be the same across all Hosts in the cluster, for example
> > > /mnt/primary1.
> > > This shared mountpoint is assumed to be a clustered filesystem such
> > > as OCFS2. In this case the CloudStack does not attempt to mount or
> > > unmount the storage as is done with NFS. The CloudStack requires
> > > that the administrator insure that the storage is available.
> >
> > Best regards,
> > Kirk
> >
> > [1]
> >
> > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
> > dmin_Guide/primary-storage.html#hypervisor-support-for-primarystorage
> >
> > On 08/27/2014 11:33 PM, ro...@cywee.com wrote:
> > > Hi,
> > > Can anyone help explain the difference of primary storage modes--
> > sharepoint and NFS?
> > > thanks,
> > >
> > >
> > >
> > >
> > > ro...@cywee.com
> > >
> >
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Infrastructure
> Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training
> Courses<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a
> company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> 


Re: http://cloudstack.org/dl/cloud-set-guest-password not working

2014-08-30 Thread Nux!
Hi,

CloudBaseInit will not work for Cloudstack, but could be easily modified I 
guess.
The developer seemed interested in getting Cloudstack to work but I guess I 
haven't stressed him enough. Anyone volunteers to get in touch with him? :-)

Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Ian Duffy" 
> To: users@cloudstack.apache.org
> Sent: Friday, 29 August, 2014 4:57:10 PM
> Subject: Re: http://cloudstack.org/dl/cloud-set-guest-password not working
> 
> Haven't used this before this might be of interest:
> http://www.cloudbase.it/cloud-init-for-windows-instances/
> 
> 
> On 29 August 2014 14:09, France  wrote:
> 
> > Tnx what about windows password change app?
> >
> > On 29 Aug 2014, at 13:08, Ian Duffy  wrote:
> >
> > > Hi France,
> > >
> > > One of the shapeblue guys has them uploaded to github:
> > > https://github.com/shankerbalan/cloudstack-scripts
> > >
> > > Hope this helps,
> > > ian
> > >
> > >
> > > On 29 August 2014 10:11, France  wrote:
> > >
> > >> We are still at 4.1.1 CS.
> > >> Using the documentation for 4.1.1. gives the link for password set
> > script
> > >> to:
> > >> http://cloudstack.org/dl/cloud-set-guest-password
> > >>
> > >> This is no longer valid. Where could i get the password script nowdays
> > >> from?
> > >>
> > >> Tnx.
> > >> F.
> >
> >
> 


Re: VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
Thanks Eric,

I'm on KVM right now, I have not yet tested VPC (as I do not need it).

I'll try to find some solution..

Cheers
Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Eric Neumann - AOD" 
> To: "dev" , "users@cloudstack.apache.org" 
> 
> Sent: Tuesday, 19 August, 2014 6:02:16 PM
> Subject: RE: VRouter sets the same public IP on 2 interfaces
> 
> Hi Nux,
> 
> I may have encountered the same issue when using 4.3.0.1 with VMware +
> distributed switching.
> If it's the same issue then you might find that while an isolated network
> will have this problem, a VPC router will work fine. I've also found this
> issue to not occur with standard vSwitches.
> 
> Hope this helps.
> 
> 
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: Tuesday, 19 August 2014 9:41 PM
> To: dev; users@cloudstack.apache.org
> Subject: Re: VRouter sets the same public IP on 2 interfaces
> 
> So the VR in the UI shows 3 NICs: isolated, control and public, but in SSH I
> see 4 NICs, of which eth2 and eth3 have the same IP settings and the SNAT is
> done on the wrong NIC (eth3 which doesn't seem to work, instead of eth2).
> 
> Any ideas? Where is this VR taking it's settings exactly?
> 
> 
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 
> - Original Message -
> > From: "Nux!" 
> > To: "dev" , users@cloudstack.apache.org
> > Sent: Tuesday, 19 August, 2014 2:36:52 PM
> > Subject: Re: VRouter sets the same public IP on 2 interfaces
> > 
> > I've added another zone and the problem is sadly very repeatable. :(
> > 
> > --
> > Sent from the Delta quadrant using Borg technology!
> > 
> > Nux!
> > www.nux.ro
> > 
> > 
> > - Original Message -
> > > From: "Nux!" 
> > > To: "dev" , users@cloudstack.apache.org
> > > Sent: Tuesday, 19 August, 2014 1:25:21 PM
> > > Subject: Re: VRouter sets the same public IP on 2 interfaces
> > > 
> > > Right, so the SNAT on the VR is done on eth3 instead of eth2, not
> > > sure why this is happening. Can't spot anything dodgy in the logs.
> > > Once I remove the SNAT and add it on the eth2 (which has the same
> > > IP) then all my egress rules start to work again.
> > > 
> > > I'll try to recreate the zone and hope this glitch goes away.
> > > 
> > > 
> > > 
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > > 
> > > Nux!
> > > www.nux.ro
> > > 
> > > 
> > > - Original Message -
> > > > From: "Nux!" 
> > > > To: "dev" , users@cloudstack.apache.org
> > > > Sent: Tuesday, 19 August, 2014 12:12:31 PM
> > > > Subject: VRouter sets the same public IP on 2 interfaces
> > > > 
> > > > Hi,
> > > > 
> > > > I have 4 networks defined (public, guest, storage and mgmt). It
> > > > looks like the VR sets up two internal NIcs (eth2 and eth3) for
> > > > connecting to the public network. It also sets the same IP address
> > > > on them.
> > > > Egress = Allow is also ignored and my VMs can't reach anything.
> > > > 
> > > > Has anyone seen this before? I'm on 4.3
> > > > 
> > > > Thanks
> > > > 
> > > > --
> > > > Sent from the Delta quadrant using Borg technology!
> > > > 
> > > > Nux!
> > > > www.nux.ro
> > > > 
> > > > 
> > > 
> > 
> 
> 


Re: VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
So the VR in the UI shows 3 NICs: isolated, control and public, but in SSH I 
see 4 NICs, of which eth2 and eth3 have the same IP settings and the SNAT is 
done on the wrong NIC (eth3 which doesn't seem to work, instead of eth2).

Any ideas? Where is this VR taking it's settings exactly?



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Nux!" 
> To: "dev" , users@cloudstack.apache.org
> Sent: Tuesday, 19 August, 2014 2:36:52 PM
> Subject: Re: VRouter sets the same public IP on 2 interfaces
> 
> I've added another zone and the problem is sadly very repeatable. :(
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 
> - Original Message -
> > From: "Nux!" 
> > To: "dev" , users@cloudstack.apache.org
> > Sent: Tuesday, 19 August, 2014 1:25:21 PM
> > Subject: Re: VRouter sets the same public IP on 2 interfaces
> > 
> > Right, so the SNAT on the VR is done on eth3 instead of eth2, not sure why
> > this is happening. Can't spot anything dodgy in the logs.
> > Once I remove the SNAT and add it on the eth2 (which has the same IP) then
> > all my egress rules start to work again.
> > 
> > I'll try to recreate the zone and hope this glitch goes away.
> > 
> > 
> > 
> > --
> > Sent from the Delta quadrant using Borg technology!
> > 
> > Nux!
> > www.nux.ro
> > 
> > 
> > - Original Message -
> > > From: "Nux!" 
> > > To: "dev" , users@cloudstack.apache.org
> > > Sent: Tuesday, 19 August, 2014 12:12:31 PM
> > > Subject: VRouter sets the same public IP on 2 interfaces
> > > 
> > > Hi,
> > > 
> > > I have 4 networks defined (public, guest, storage and mgmt). It looks
> > > like
> > > the VR sets up two internal NIcs (eth2 and eth3) for connecting to the
> > > public network. It also sets the same IP address on them.
> > > Egress = Allow is also ignored and my VMs can't reach anything.
> > > 
> > > Has anyone seen this before? I'm on 4.3
> > > 
> > > Thanks
> > > 
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > > 
> > > Nux!
> > > www.nux.ro
> > > 
> > > 
> > 
> 


Re: VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
I've added another zone and the problem is sadly very repeatable. :(

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Nux!" 
> To: "dev" , users@cloudstack.apache.org
> Sent: Tuesday, 19 August, 2014 1:25:21 PM
> Subject: Re: VRouter sets the same public IP on 2 interfaces
> 
> Right, so the SNAT on the VR is done on eth3 instead of eth2, not sure why
> this is happening. Can't spot anything dodgy in the logs.
> Once I remove the SNAT and add it on the eth2 (which has the same IP) then
> all my egress rules start to work again.
> 
> I'll try to recreate the zone and hope this glitch goes away.
> 
> 
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 
> - Original Message -
> > From: "Nux!" 
> > To: "dev" , users@cloudstack.apache.org
> > Sent: Tuesday, 19 August, 2014 12:12:31 PM
> > Subject: VRouter sets the same public IP on 2 interfaces
> > 
> > Hi,
> > 
> > I have 4 networks defined (public, guest, storage and mgmt). It looks like
> > the VR sets up two internal NIcs (eth2 and eth3) for connecting to the
> > public network. It also sets the same IP address on them.
> > Egress = Allow is also ignored and my VMs can't reach anything.
> > 
> > Has anyone seen this before? I'm on 4.3
> > 
> > Thanks
> > 
> > --
> > Sent from the Delta quadrant using Borg technology!
> > 
> > Nux!
> > www.nux.ro
> > 
> > 
> 


Re: VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
Hi,

No, they are entirely different ranges and physical links.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Ian Southam" 
> To: "dev" , users@cloudstack.apache.org
> Sent: Tuesday, 19 August, 2014 1:47:57 PM
> Subject: RE: VRouter sets the same public IP on 2 interfaces
> 
> Have you used the same address range for your public network as your
> management?
> 
> --
> Ian
> 
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: dinsdag 19 augustus 2014 14:25
> To: dev; users@cloudstack.apache.org
> Subject: Re: VRouter sets the same public IP on 2 interfaces
> 
> Right, so the SNAT on the VR is done on eth3 instead of eth2, not sure why
> this is happening. Can't spot anything dodgy in the logs.
> Once I remove the SNAT and add it on the eth2 (which has the same IP) then
> all my egress rules start to work again.
> 
> I'll try to recreate the zone and hope this glitch goes away.
> 
> 
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 
> - Original Message -
> > From: "Nux!" 
> > To: "dev" , users@cloudstack.apache.org
> > Sent: Tuesday, 19 August, 2014 12:12:31 PM
> > Subject: VRouter sets the same public IP on 2 interfaces
> > 
> > Hi,
> > 
> > I have 4 networks defined (public, guest, storage and mgmt). It looks
> > like the VR sets up two internal NIcs (eth2 and eth3) for connecting
> > to the public network. It also sets the same IP address on them.
> > Egress = Allow is also ignored and my VMs can't reach anything.
> > 
> > Has anyone seen this before? I'm on 4.3
> > 
> > Thanks
> > 
> > --
> > Sent from the Delta quadrant using Borg technology!
> > 
> > Nux!
> > www.nux.ro
> > 
> > 
> 


Re: VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
Right, so the SNAT on the VR is done on eth3 instead of eth2, not sure why this 
is happening. Can't spot anything dodgy in the logs.
Once I remove the SNAT and add it on the eth2 (which has the same IP) then all 
my egress rules start to work again.

I'll try to recreate the zone and hope this glitch goes away.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Nux!" 
> To: "dev" , users@cloudstack.apache.org
> Sent: Tuesday, 19 August, 2014 12:12:31 PM
> Subject: VRouter sets the same public IP on 2 interfaces
> 
> Hi,
> 
> I have 4 networks defined (public, guest, storage and mgmt). It looks like
> the VR sets up two internal NIcs (eth2 and eth3) for connecting to the
> public network. It also sets the same IP address on them.
> Egress = Allow is also ignored and my VMs can't reach anything.
> 
> Has anyone seen this before? I'm on 4.3
> 
> Thanks
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> 


VRouter sets the same public IP on 2 interfaces

2014-08-19 Thread Nux!
Hi,

I have 4 networks defined (public, guest, storage and mgmt). It looks like the 
VR sets up two internal NIcs (eth2 and eth3) for connecting to the public 
network. It also sets the same IP address on them.
Egress = Allow is also ignored and my VMs can't reach anything.

Has anyone seen this before? I'm on 4.3

Thanks

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Default cloud instance login - root or something else?

2014-08-18 Thread Nux!
Hello,

As you know I am working on www.openvm.eu and in the interest of making the 
templates as useful as possible, I'd like to know how the community uses the 
default login user.

As you may know, most templates offered by distributions default to a certain 
user, I think it's "ubuntu" for Ubuntu, "debian" for Debian, "centos" for 
CentOS and so on. They're all avoiding user "root" for "security" reasons or 
just to be consistent.

In my own deployment I'm not using this feature and use "root" instead as to 
not confuse my users; additionally this is also how I generate the templates at 
www.openvm.eu, but I don't see much tragedy involved in trying to follow the 
distributions' model.

So, what user are you using by default, what default login would you like to 
see by default?

Any other comments?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



CentOS 7 template

2014-07-12 Thread Nux!
Hello,

CentOS 7 has recently been announced, I built a template that can be used with 
CloudStack.
I'd appreciate any sort of feedback as I could only test the KVM images:
http://dl.openvm.eu/cloudstack/centos/vanilla/7/x86_64/

I have also updated the CentOS 6 ones, for those who need them:
http://dl.openvm.eu/cloudstack/centos/vanilla/6/x86_64/

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: how to create guest with /dev/vda ROOT volume?

2014-07-11 Thread Nux!
Hi,

What profile did you choose for the ISO? It should be CentOS/RHEL, that should 
give you virtio devices (vda).

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Yiping Zhang" 
> To: users@cloudstack.apache.org
> Sent: Friday, 11 July, 2014 6:57:09 PM
> Subject: how to create guest with /dev/vda ROOT volume?
> 
> Hi, All:
> 
> My CloudStack environment is 4.3.0 running on rhel 6.5 and kvm hypervisor
> also running rhel 6.5.
> 
> When I create my  first VM from an imported rhel 6.5 ISO image,  the root
> volume is identified as /dev/sda.  Is there a way to force the root volume
> to be identified as  /dev/vda device ? How do you create guest VM with
> /dev/vda root volume?
> 
> Thanks
> 
> Yiping
> 


Re: Windows Template Question

2014-07-10 Thread Nux!
Hi,

That is just normal behaviour with sysprepped Windows. You can't speed this 
process much. My templates exhibit the same issue.
If you don't sysprep the templates, you'll end up with other (more serious) 
problems.
Yes, Windows sucks. :-)

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: force to install template

2014-07-09 Thread Nux!
Hi,

Has rebooting the Secondary Storage VM accomplished anything?



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Hollman Enciso R." 
> To: users@cloudstack.apache.org
> Sent: Wednesday, 9 July, 2014 2:52:19 PM
> Subject: force to install template
> 
> Hello.
> 
> it's possible to force the installation of a template?
> 
> I recently installed and configure my zone. the template of centos started
> to download and finished ok.
> but on the CS manager in the templates menu (CentOS 5.6(64-bit) no GUI
> (XenServer)) show me the status message:
> 
> Template download is already in progress or already downloaded.
> 
> any idea to proceed wit the installation?
> 
> thanks
> 
> --
> Hollman Eduardo Enciso R.
> http://algolibre.com
> @hollman
> 


Re: experience's and issues with setting up cloudstack 4.3 and xenserver 6.2

2014-06-29 Thread Nux!
Hi,

We have both standalone XS and ACS. Off the top of my head, the best few 
reasons to use ACS:
- user management and resource limit enforcement as well as tracking (eg we 
always seem to "lose"/misplace IPs with standalone HVs) and statistics
- HV agnostic (almost), we use XS and KVM
- network management
- virtual router more advanced features (VPN, load balancer etc)
- powerful API that can be used to automate stuff dramatically

With just XS the biggest PITA is tracking and setting network related info. 
With ACS I just give it a few IP and VLAN ranges and tell it to just use them.
Additionally, ACS has the concept of (resource limited) "projects" which 
multiple users can participate in. Not to mention additional goodies like 
cloud-init which can help with automation quite a bit (ie running user scripts 
at boot, setting SSH keys, root passwords etc).

It will change the way you work and once you get it off the ground and running, 
it will save you significant time and stress.

BUT, before you start using ACS in production: TEST, TEST, TEST! I can't stress 
this enough. 
IMHO cloud is hard, the software is big and complex and there are rough edges 
here and there, so take your time, get to know it; to know its weaknesses and 
strengths and use them appropriately.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Ian Marshall" 
> To: users@cloudstack.apache.org
> Sent: Sunday, 29 June, 2014 12:33:28 PM
> Subject: experience's and issues with setting up cloudstack 4.3 and xenserver 
> 6.2
> 
> Hi All
> 
> Openstack is now dumped as the preferred route to a private cloud solution.
> Due to the issues with getting that installed, I need to get buy-in to
> consider redeployment using Cloudstack.
> 
> We have got xenserver 6.2 running with EQLX as shared storage, so no issues
> with these.
> 
> What I am struggling with is being able to list the benefits of CS over
> just XS deployment. So if anyone has migrated from XS to CS due to
> restrictions, plase advise what these were.
> 
> We need to be able to deploy across multiple sites and isolate 'projects'
> and future expectations is SaaS/PaaS requirements as we diversify our
> product ranges.
> 
> Regards
> Ian
> 


Re: Latest CloudSand 4.3.0.1 - supports VMware, NetScaler, Juniper SRX, etc...

2014-06-27 Thread Nux!
Thanks, Ilya! Handy.

Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "ilya musayev" 
> To: users@cloudstack.apache.org
> Sent: Friday, 27 June, 2014 8:51:18 AM
> Subject: Latest CloudSand 4.3.0.1 - supports VMware, NetScaler, Juniper SRX, 
> etc...
> 
> Since i've seen way too many questions regarding building cloudstack
> with non open source support - and even more people having difficulty,
> I've put together this build, for those who want to try it out quickly.
> 
> Please note this is not official CloudStack release, as it contains non
> open source packages to support VMware, NetScaler, etc  hence its
> called CloudSand.
> 
> This build was based on all the fixes that will be coming with Apache
> CloudStack 4.3.0.1 - which is hopefully to be released soon.
> 
> http://www.cloudsand.com/cloudstack-4.3.0-1.tgz
> 
> Regards
> ilya
> 
> 


Re: OpenVM.eu - repository of Cloudstack images and appliances

2014-06-26 Thread Nux!
Daan,

Yup, a link will do just fine for now. 
In addition to that I'll require also the kickstart file used to build it. The 
images will have to be rebuilt regularly so we don't ship vulnerable/obsolete 
stuff.

I'll have to write some sort of FAQ on this.


Lucian

- Original Message -
> From: "Daan Hoogland" 
> To: "dev" 
> Cc: "Sally Khudairi" , 
> market...@cloudstack.apache.org, users@cloudstack.apache.org
> Sent: Thursday, 26 June, 2014 8:05:14 AM
> Subject: Re: OpenVM.eu - repository of Cloudstack images and appliances
> 
> love it Lucian, How will the procedure for submissions look? (I'm
> thinking a mail to you with a download link)


OpenVM.eu - repository of Cloudstack images and appliances

2014-06-25 Thread Nux!
Hi,

I've been intending to do this for a while, but decided it has to happen this 
summer so here goes:

http://www.openvm.eu - A repository of Cloudstack images and appliances!

Do not be fooled by it's current façade, it will get better. 
It only has one template for now, but I expect this number to increase 
significantly in the coming weeks.
It is just what I managed to do in a very short time at $work today and thought 
it might be worth a mention at tomorrow's European meeting in London.

I'll add a lot more templates, with a focus on CentOS and Cloudstack, of 
course, as this is where my interests lie at the moment. 
In time I will add more OSes and platforms (Openstack and OpenNebula).

The templates are built on/for KVM, but should be able to boot on a variety of 
hypervisors (I think it will work on Xen/Xenserver, VMware, HyperV), although 
the file format is QCOW2.
I'll have to check my resources to see if I can afford the extra disk space and 
CPU time to offer VHD/RAW files as well.

All templates are 8 GB in size unless specified otherwise.

I'll keep the list updated.

Comments, questions, suggestions etc welcome!

Lucian



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: Unable to take Snapshot of KVM Host VM Volume

2014-06-25 Thread Nux!
It might also be a problem with your secondary storage, I recommend to run this 
diagnostics:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "Deepak Yadav" 
To: cloudstack-us...@incubator.apache.org
Sent: Wednesday, 25 June, 2014 11:51:59 AM
Subject: Unable to take Snapshot of KVM Host VM Volume

Hi


As I am using KVM host in Cloud-Stack 4.3 Infra where I want to take the
snapshot of the Volume  I am getting this error :-


2014-06-25 16:19:24,022 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(Job-Executor-2:ctx-5cf22366) Executing AsyncJobVO {id:303, userId: 2,
accountId: 2, instanceType: Snapshot, instanceId: 5, cmd:
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo:
{"id":"5","response":"json","sessionkey":"mbKYUkI2StsDE0H9nxPJb0Mt2sI\u003d","cmdEventType":"SNAPSHOT.CREATE","ctxUserId":"2","httpmethod":"GET","quiescevm":"false","_":"1403693363874","volumeid":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","ctxAccountId":"2","ctxStartEventId":"1270"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 117991000700, completeMsid: null, lastUpdated:
null, lastPolled: null, created: null}
2014-06-25 16:19:24,023 DEBUG [c.c.a.ApiServlet]
(catalina-exec-21:ctx-d78aba1d ctx-f4547449) ===END===  172.29.36.117 --
GET
command=createSnapshot&volumeid=e24d32a8-0449-4a25-b1f7-87c25f24ae14&quiescevm=false&response=json&sessionkey=mbKYUkI2StsDE0H9nxPJb0Mt2sI%3D&_=1403693363874
2014-06-25 16:19:24,056 INFO  [o.a.c.a.c.u.s.CreateSnapshotCmd]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) VOLSS: createSnapshotCmd
starts:1403693364056
2014-06-25 16:19:24,106 DEBUG [c.c.a.t.Request]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) Seq 1-1224409123: Sending  { Cmd
, MgmtId: 117991000700, via: 1(cloud01.mind.motherson.com), Ver: v1, Flags:
100011,
[{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4d1f1c05-829c-38ca-9b9a-b46960816189","id":1,"poolType":"NetworkFilesystem","host":"172.29.38.145","path":"/export/primary","port":2049,"url":"NetworkFilesystem://
172.29.38.145//export/primary/?ROLE=Primary&STOREUUID=4d1f1c05-829c-38ca-9b9a-b46960816189
"}},"name":"ROOT-73","size":5368709120,"path":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","volumeId":75,"vmName":"i-2-73-VM","accountId":2,"format":"QCOW2","id":75,"deviceId":0,"hypervisorType":"KVM"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4d1f1c05-829c-38ca-9b9a-b46960816189","id":1,"poolType":"NetworkFilesystem","host":"172.29.38.145","path":"/export/primary","port":2049,"url":"NetworkFilesystem://
172.29.38.145//export/primary/?ROLE=Primary&STOREUUID=4d1f1c05-829c-38ca-9b9a-b46960816189"}},"vmName":"i-2-73-VM","name":"Reset_ROOT-73_20140625104923","hypervisorType":"KVM","id":5,"quiescevm":false,"physicalSize":0}},"wait":0}}]
}
2014-06-25 16:19:24,241 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-14:null) Seq 1-1224409123: Processing:  { Ans: ,
MgmtId: 117991000700, via: 1, Ver: v1, Flags: 10,
[{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"/mnt/4d1f1c05-829c-38ca-9b9a-b46960816189/e24d32a8-0449-4a25-b1f7-87c25f24ae14/e819ee74-9ba8-4536-8a3e-e6f3ec0bc8dc","id":0,"quiescevm":false,"physicalSize":0}},"result":true,"wait":0}}]
}
2014-06-25 16:19:24,242 DEBUG [c.c.a.t.Request]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) Seq 1-1224409123: Received:  {
Ans: , MgmtId: 117991000700, via: 1, Ver: v1, Flags: 10, {
CreateObjectAnswer } }
2014-06-25 16:19:24,272 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) copyAsync inspecting src type
SNAPSHOT copyAsync in

Re: Unable to take Snapshot of KVM Host VM Volume

2014-06-25 Thread Nux!
Hi,

Check this out 
http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "Deepak Yadav" 
To: cloudstack-us...@incubator.apache.org
Sent: Wednesday, 25 June, 2014 11:51:59 AM
Subject: Unable to take Snapshot of KVM Host VM Volume

Hi


As I am using KVM host in Cloud-Stack 4.3 Infra where I want to take the
snapshot of the Volume  I am getting this error :-


2014-06-25 16:19:24,022 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(Job-Executor-2:ctx-5cf22366) Executing AsyncJobVO {id:303, userId: 2,
accountId: 2, instanceType: Snapshot, instanceId: 5, cmd:
org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd, cmdInfo:
{"id":"5","response":"json","sessionkey":"mbKYUkI2StsDE0H9nxPJb0Mt2sI\u003d","cmdEventType":"SNAPSHOT.CREATE","ctxUserId":"2","httpmethod":"GET","quiescevm":"false","_":"1403693363874","volumeid":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","ctxAccountId":"2","ctxStartEventId":"1270"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 117991000700, completeMsid: null, lastUpdated:
null, lastPolled: null, created: null}
2014-06-25 16:19:24,023 DEBUG [c.c.a.ApiServlet]
(catalina-exec-21:ctx-d78aba1d ctx-f4547449) ===END===  172.29.36.117 --
GET
command=createSnapshot&volumeid=e24d32a8-0449-4a25-b1f7-87c25f24ae14&quiescevm=false&response=json&sessionkey=mbKYUkI2StsDE0H9nxPJb0Mt2sI%3D&_=1403693363874
2014-06-25 16:19:24,056 INFO  [o.a.c.a.c.u.s.CreateSnapshotCmd]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) VOLSS: createSnapshotCmd
starts:1403693364056
2014-06-25 16:19:24,106 DEBUG [c.c.a.t.Request]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) Seq 1-1224409123: Sending  { Cmd
, MgmtId: 117991000700, via: 1(cloud01.mind.motherson.com), Ver: v1, Flags:
100011,
[{"org.apache.cloudstack.storage.command.CreateObjectCommand":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"volume":{"uuid":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4d1f1c05-829c-38ca-9b9a-b46960816189","id":1,"poolType":"NetworkFilesystem","host":"172.29.38.145","path":"/export/primary","port":2049,"url":"NetworkFilesystem://
172.29.38.145//export/primary/?ROLE=Primary&STOREUUID=4d1f1c05-829c-38ca-9b9a-b46960816189
"}},"name":"ROOT-73","size":5368709120,"path":"e24d32a8-0449-4a25-b1f7-87c25f24ae14","volumeId":75,"vmName":"i-2-73-VM","accountId":2,"format":"QCOW2","id":75,"deviceId":0,"hypervisorType":"KVM"},"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4d1f1c05-829c-38ca-9b9a-b46960816189","id":1,"poolType":"NetworkFilesystem","host":"172.29.38.145","path":"/export/primary","port":2049,"url":"NetworkFilesystem://
172.29.38.145//export/primary/?ROLE=Primary&STOREUUID=4d1f1c05-829c-38ca-9b9a-b46960816189"}},"vmName":"i-2-73-VM","name":"Reset_ROOT-73_20140625104923","hypervisorType":"KVM","id":5,"quiescevm":false,"physicalSize":0}},"wait":0}}]
}
2014-06-25 16:19:24,241 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-14:null) Seq 1-1224409123: Processing:  { Ans: ,
MgmtId: 117991000700, via: 1, Ver: v1, Flags: 10,
[{"org.apache.cloudstack.storage.command.CreateObjectAnswer":{"data":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"/mnt/4d1f1c05-829c-38ca-9b9a-b46960816189/e24d32a8-0449-4a25-b1f7-87c25f24ae14/e819ee74-9ba8-4536-8a3e-e6f3ec0bc8dc","id":0,"quiescevm":false,"physicalSize":0}},"result":true,"wait":0}}]
}
2014-06-25 16:19:24,242 DEBUG [c.c.a.t.Request]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) Seq 1-1224409123: Received:  {
Ans: , MgmtId: 117991000700, via: 1, Ver: v1, Flags: 10, {
CreateObjectAnswer } }
2014-06-25 16:19:24,272 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
(Job-Executor-2:ctx-5cf22366 ctx-f4547449) copyAsync inspecting src type
SNAPSHOT copyAsync inspecting dest type SNAPSHOT
2014-06-25 16:19:24,325 DEBUG [c.c.a.t

Re: Cloud Stack | Unable to add KVM host

2014-06-24 Thread Nux!
Hi,

Please check the agent.log on the hypervisor, it may contain useful clues as to 
why the operation has failed.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "Ali Ahsan" 
To: users@cloudstack.apache.org
Sent: Tuesday, 24 June, 2014 8:34:33 AM
Subject: Re: Cloud Stack | Unable to add KVM host

4.3

On 6/24/2014 12:32 PM, sebgoa wrote:
> On Jun 24, 2014, at 9:21 AM, Ali Ahsan  
> wrote:
>
>> Yes I did, I followed Centos Quick Installation guide.
>>
> Which version of cloudstack are you using ?
>
>> Ali
>>
>> On 6/24/2014 11:49 AM, Rajani Karuturi wrote:
>>> did you do agent install?
>>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent
>>>
>>>
>>> ~Rajani
>>>
>>>
>>>
>>> On 24-Jun-2014, at 11:32 am, Ali Ahsan 
>>> mailto:ali.ah...@northbaysolutions.net>> 
>>> wrote:
>>>
>>> Hi,
>>>
>>> I have configured Cloud stack but unable to add KVM host both mangment and 
>>> KVM hosted on Same VM (Vmwear ). Please see the log below.
>>>
>>>
>>> INFO  [c.c.a.ApiServer] (catalina-exec-19:ctx-5d9e0c4a ctx-17cfe177) Unable 
>>> to add the host
>>> INFO  [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 
>>> ctx-867ef602) Trying to add a new host at http://10.10.0.244 in data center 
>>> 1
>>> WARN  [c.c.r.ResourceManagerImpl] (catalina-exec-20:ctx-94e1f583 
>>> ctx-867ef602) Unable to find the server resources at http://10.10.0.244
>>> INFO  [c.c.u.e.CSExceptionErrorCode] (catalina-exec-20:ctx-94e1f583 
>>> ctx-867ef602) Could not find exception: 
>>> com.cloud.exception.DiscoveryException in error code list for exceptions
>>> WARN  [o.a.c.a.c.a.h.AddHostCmd] (catalina-exec-20:ctx-94e1f583 
>>> ctx-867ef602) Exception:
>>> com.cloud.exception.DiscoveryException: Unable to add the host
>>> at 
>>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:780)
>>> at 
>>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:575)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at 
>>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>>> at 
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>>> at 
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>>> at 
>>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>>> at 
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>>> at 
>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>> at com.sun.proxy.$Proxy145.discoverHosts(Unknown Source)
>>> at 
>>> org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
>>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531)
>>> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374)
>>> at 
>>> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:323)
>>> at com.cloud.api.ApiServlet.access$000(ApiServlet.java:53)
>>> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:115)
>>> at 
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>>> at 
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>>> at 
>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>>> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:112)
>>> at com.cloud.api.ApiServlet.doPost(ApiServlet.java:79)

Re: Debian + Cloud-Init

2014-06-23 Thread Nux!
Yes, the Cloudstack root password feature is (to my knowledge) totally 
unsupported by cloud-init.
So only ssh keys and user data works.
To work around it, I usually throw the cloudstack-set-root-password script in 
/var/lib/cloud/scripts/per-boot so cloud-init will execute it every time the VM 
boots.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "Ian Duffy" 
To: users@cloudstack.apache.org
Sent: Monday, 23 June, 2014 6:09:30 PM
Subject: Debian + Cloud-Init

Hi All,

In the past i've used the community supplied scripts over at
https://github.com/shankerbalan/cloudstack-scripts for doing injection of
password / ssh keys.

I'm trying to move to cloud-init to handle this for me however I am having
some issues.

I modified my /etc/cloud/cloud.cfg file to use CloudStack as a datasource:

datasource_list: ['CloudStack']

datasource:

  CloudStack: {}


I also set the following:

disable_root: False

user: root

ssh_pwauth: True

ssh_deletekeys: True

ssh_genkeytypes: ['rsa', 'dsa']

ssh_svcname: ssh


On booting up the machine I see the script run successfully and pull the
metadata down from the VR. The hostname is also set and new ssh keys are
generated.

On attempting to login as root with the password provided on the Cloudstack
UI I am unsuccessful. I'm unsure why.


Anybody got an idea where I'm going wrong?


Thanks,

Ian


Re: Performance degrades when I use the StaticNAT in Virtual Router. Is there a way to speed up?

2014-06-23 Thread Nux!
Depending on your circumstances, you could move to an Advanced Zone with 
Security Groups, this way traffic will bypass the Virtual Router and go 
directly to the VMs.

HTH
Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "giraffeg forestg" 
To: users@cloudstack.apache.org
Sent: Monday, 23 June, 2014 4:51:49 PM
Subject: Performance degrades when I use the StaticNAT in Virtual Router. Is 
there a way to speed up?

Hi All

Performance degrades when I use the StaticNAT in Virtual Router. Is there a
way to speed up?

Environment:
 Apache CloudStack 4.3.0
 SystemVM:systemvm64template-2014-01-14-master-xen.vhd
 HyperVisor:XenServer 6.2SP1
 Network:1Gbps (Catalyst3550-12G)

 System Offering:
  CPU:2000 MHz
  Memory:2048 MB
  Network Rate:1 MB

 Network Offering:
  Network Rate:1 MB


(Case-1, Direct Access) Good
PhysicalServer--->VM Instance1
# ./nuttcp 192.168.11.2
 1122.3928 MB /  10.07 sec =  935.0451 Mbps 4 %TX 59 %RX 0 retrans 0.93
msRTT


(Case-2, VirtualRouter SourceNAT) Good
VM Instance2--->VirtualRouter--->PhysicalServer
# ./nuttcp 192.168.11.248
 1123.1641 MB /  10.03 sec =  938.9331 Mbps 12 %TX 15 %RX 0 retrans 3.11
msRTT


(Case-3, VirtualRouter StaticNAT) Not Good
PhysicalServer--->VirtualRouter--->VM Instance2
# ./nuttcp 192.168.11.173
  738. MB /  10.01 sec =  618.6374 Mbps 2 %TX 48 %RX 0 retrans 2.84
msRTT


Thanks.

--
Satoru Nakaya


Re: Floating IP for use between 2 VMs

2014-06-18 Thread Nux!
Sounds like you are trying to use vrrp/keepalive, I am not sure how this will 
work.

What kind of environment do you have? In basic or advanced network with 
security groups will be tricky to get it working.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "Brent Clark" 
To: users@cloudstack.apache.org
Sent: Tuesday, 17 June, 2014 4:14:22 PM
Subject: Floating IP for use between 2 VMs

I have run into an issue that I need help in finding the proper solution.

CloudStack version 4.2.1, KVM

We have the need for 2 VMs to use the same IP. They wont be using it at the
same time. We have a tool that configures an IP on the interface of one VM
and when the other cannot detect it, it configures an interface on the
other for that same IP.

I tried assigning a secondary IP to the VMs and I was able to for one, but
the other wont let me because the other already has it assigned.

Is the secondary IP not the correct way to do what I am wanting? Is there a
better way or one that is supported?

Many Thanks!


-- 
Brent S. Clark
Senior Cloud & Infrastructure Systems Engineer

2580 55th St.  |  Boulder, Colorado 80301
www.tendrilinc.com  |  blog <http://www.tendrilinc.com/news-room/blog/>
<http://www.tendrilinc.com/>

 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender.
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the 
presence of viruses.
The company accepts no liability for any damage caused by any virus transmitted 
by this email.


Re: Cloudstack 4.3 KVM cpu overcommit

2014-06-17 Thread Nux!
Hi,

CPU overcommit is a bit weird as the primary count that ACS does is on 
"Megahertz" rather than on vCPU.
What I do in order to overcommit (and keep it simple) is just set the Mhz of 
the CPU the same number as the CPU/core count of the offering, this way it will 
take a very serious amount of instances to fill up a machine (ie the sum of all 
Mhz allocated to exceed total Mhz of the host as reported by libvirt).

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
From: "Harikrishna Patnala" 
To: users@cloudstack.apache.org
Sent: Tuesday, 17 June, 2014 2:03:53 PM
Subject: Re: Cloudstack 4.3 KVM cpu overcommit

Hi Ivan,
Please take a look at “capacity calculations on MS” section in the following 
wiki for better understanding.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CPU+and+RAM+Overcommit


Thanks
Harikrishna

On 17-Jun-2014, at 5:52 pm, Ivan Rodriguez  wrote:

> The vm is not the problem but rather cloudstack finding that almost all my
> CPU is being allocated
> 
>> api listCapacity type=1
> count = 1
> capacity:
> capacitytotal = 335112
> capacityused = 188000
> percentused = 56.1
> type = 1
> zoneid = 9e929a84-e93d-4233-9521-a93636c18bd9
> zonename = CS2-CHAS1-ZONE01
> 
> 56 % matches against the dashboard it seems that if I change the KVM Max
> Guest limit to any number it won't change the percentage usage
> 
> 
> 
> 
> 
> On Tue, Jun 17, 2014 at 10:18 PM, François Bousquet <
> francois.bousq...@radialpoint.com> wrote:
> 
>> By experience, you need to stop/start VM to see them use the over
>> provisioning factor.
>> 
>>> On Jun 17, 2014, at 8:02, "Ivan Rodriguez"  wrote:
>>> 
>>> Hi there,
>>> 
>>> I can confirm that my KVM hypervisor is overcommiting CPU correctly,
>>> but cloudstack seems unable to do so.
>>> 
>>> How does cloudstack calculates the usage per host ?
>>> 
>>> Cheers
>> ***
>> This e-mail and attachments are confidential, legally privileged, may be
>> subject to copyright and sent solely for the attention of the addressee(s).
>> Any unauthorized use or disclosure is prohibited. Statements and opinions
>> expressed in this e-mail may not represent those of Radialpoint.
>> ~~ Le contenu du présent
>> courriel est confidentiel, privilégié et peut être soumis à des droits
>> d'auteur. Il est envoyé à l'intention exclusive de son ou de ses
>> destinataires. Il est interdit de l'utiliser ou de le divulguer sans
>> autorisation. Les opinions exprimées dans le présent courriel peuvent
>> diverger de celles de Radialpoint.
>> 



Re: Unable to create a Template from ROOT Volume Snapshot

2014-06-13 Thread Nux!

Looks like there are problems with the secondary storage VM, try this
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
From: "Venkata Suneel Babu Mallela" 
To: users@cloudstack.apache.org
Sent: Friday, 13 June, 2014 8:11:01 AM
Subject: Unable to create a Template from ROOT Volume Snapshot

Hi All,



I tried to create a template from a ROOT volume snapshot and I got the 
following error



"Failed to create templatejava.io.FileNotFoundException: 
/mnt/SecStorage/*/template/tmpl/*/*/template.properties (No such file or 
directory)".



I'm using CloudStack 4.2.0 and XenServer 6.0.2.



Please help me to resolve this problem.



Thank you,

Suneel Mallela



Re: Possible to upload/download a VM?

2014-06-13 Thread Nux!
Hi,

You can either use the API directly (look at extractVolume) or through 
Cloudmonkey.
This is how I would use Cloudmonkey to retrieve a volume:

"extract volume id=fe81e6ff-a08f-4601-b2b3-2e02ce2b6588 
zoneid=19345de0-b40b-4cfa-83b6-6d821367afa8 mode=HTTP_DOWNLOAD" which will 
return:

accountid = 2c4c9cd2-ab73-11e3-b654-9660573836d5
cmd = org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd
created = 2014-06-13T11:24:24+0100
jobid = 69e6bf53-ab95-44ab-8efc-2f436dba9ecc
jobprocstatus = 0
jobresult:
volume:
name = ROOT-7
id = fe81e6ff-a08f-4601-b2b3-2e02ce2b6588
accountid = 2c4c9cd2-ab73-11e3-b654-9660573836d5
extractMode = HTTP_DOWNLOAD
state = DOWNLOAD_URL_CREATED
url = 
https://1-2-3-4.realhostip.com/userdata/32050352-899f-4f56-8e38-018110f8e973.qcow2
zoneid = 19345de0-b40b-4cfa-83b6-6d821367afa8
zonename = advsg
jobresultcode = 0
jobresulttype = object
jobstatus = 1
userid = 2c4cc626-ab73-11e3-b654-9660573836d5

It's the URL field that you are interested in, you can retrieve that freely. I 
do not know if there is an expiry time for it, there might be.
You can extract templates, snapshots of the volumes of stopped VMs.

HTH
Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "chris" 
To: users@cloudstack.apache.org
Sent: Friday, 13 June, 2014 12:19:47 AM
Subject: Possible to upload/download a VM?

I'm trying to figure out a way to programmatically upload and download VM
images, and I haven't yet found anything in the docs or playing around in
the UI that jumps out at me.

To download from OpenStack, the story I would follow is
1) Snapshot a VM. This would create an image (or set of images) that I
could easily download from glance (the image storage service)
2) Download the resulting image(s).

Uploading is just as straightforward:
1) Upload to glance
2) Create an instance.

I can see from what I've looked at so far that CloudStack does things a bit
differently. Is there a path to what I want to accomplish? Templates &
Volumes don't look to have quite what I want, but I could be wrong. Looking
at the UI, I couldn't even figure out how to upload local files, only files
being served up via HTTP or FTP.

I'm currently using the .NET SDK and CloudStack 4.2.1. I've got to say, as
SDKs go, this one has been pretty great to work with. I'm just stumped by
this task.

Thanks,
Chris


Re: CloudStack 4.2 KVM - backup VM

2014-06-12 Thread Nux!
Hi,

Filesystem snapshots could be handy, if you use LVM for your HV filesystems you 
can take snapshots of them and back them up.
If you are after a commercial solution, Idera comes to mind, they can also do 
snapshots and enable bare metal recovery.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
From: "motty cruz" 
To: users@cloudstack.apache.org
Sent: Thursday, 12 June, 2014 4:11:53 PM
Subject: CloudStack 4.2 KVM - backup VM

Hello,
my question is kind of generic,  what would be the best why to backup a VM?
if server gets corrupted or unable to book I can restore to previous
backup?

Thanks,


Re: Minor Windows Sysprep Autounattend.xml issue. Anyone else seen this?

2014-06-10 Thread Nux!

On 10.06.2014 17:59, Todd Pigram wrote:

Background

I have 3 different Autounattend files for w2012r2, w2012 and w2k8r2. 
If I
create templates from these files on XS 6.2 Sp1, vSphere 5.5u1 or add 
the

templates to vCloud, everything thing is fine and there is no user
interaction. I can even use then as part of Veewee to create my 
personal

base boxes for Chef testing.

Issue

Whether I upload the XS 6.2 templates to with ACS4.3 or CCP4.3, or if 
I
build from ISO and sys prep with the same Autounattend.xml, I am 
always
prompted to accept the EULA even though it is set to false in the 
XMLs.

Its just a check box, next, next , but I am wondering why?

Has anyone else seen this?

The templates are bare bone with some patches, latest Chef client 
installed
along with client.rb and validation.pem. Once the instances are up, 
run a

quick chef-client and Chef handles the rest

Thanks


I have not seen this. We also prepare Windows templates and configure 
no EULA in the unattent.xml as well. The sysprep is run (if memory 
serves) as: /shutdown /oobe /generalize


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: install usage server

2014-06-09 Thread Nux!

On 09.06.2014 15:41, dimas yoga pratama wrote:

Hi all,

I want to monitor every VMs in my apache cloudstack, how I can install
cloudstack-usage in my management server?
Because my cloud_usage database is empty, apparently it need
cloudstack-usage that has been installed in my MS.
I'm using basic networking in my apache cloudstack.  I trid to follow 
the

instruction in
http://cloudstack-installation.readthedocs.org/en/latest/optional_installation.html#installing-the-usage-server-optional
but it shows that the ./install is not valid,
Can someone show me the correct way to install it?

Thanks, looking forward for your answer.
Dimas.


You should use the provided packages[1] and also be aware of the 
following gotcha, the usage server will not have access to all the 
libraries it requires for a DB connection, so you need to do:
ln -s /usr/share/java/mysql-connector-java.jar 
/usr/share/cloudstack-usage/lib/mysql-connector-java.jar


[1] - http://cloudstack.apt-get.eu/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: KVM + VMware (and ceph)

2014-06-09 Thread Nux!

On 09.06.2014 16:17, Gerolamo Valcamonica wrote:

Hi Everybody,

i have a production environment of cloudstack 4.3 based on KVM hosts
and CEPH storage

It's a good solution for me and i have good performance on both
compute and storage side

But now i have an explicit customer request for VMware environment so
I'm investigating about it.

Here my questions:
- Can i have a mixed environment KVM + VMware vSphere Essentials Plus
Kit under Cloudstack?
- Can I have a mixed networking environment , so that i can, as
example, have a frontend VMs on KVM and a backend VMs on VMware, on
the same customere?
(- Third, but off topic, question: can i have VMware hosts and CEPH 
storage?)


Is there someone with similar enviroment that can give me suggestion 
about this?


Hello,

You can add Vmware hosts in a different/new cluster and let your user 
access it, sounds pretty simple and AFAIK it well within ACS's 
capabilities.
Regarding Vmware and CEPH, it's not impossible, but I've never heard 
about this.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: How to auto start VMs after a crash?

2014-06-07 Thread Nux!

On 07.06.2014 10:31, ronald higgins wrote:
Perhaps I'm not fully awake yet and in need of some java, but is this 
not

achieved with the HA option inside the Service Offering?
Once the host and components return the VM's return to their last 
known

state?


Yes, that would work, but only in certain scenarios, i.e. HA and shared 
storage AFAIK. #
In my case I'm just running with local storage; after a HV reboot all 
the VMs remain stopped.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


How to auto start VMs after a crash?

2014-06-07 Thread Nux!

Hello,

After a (simulated) server crash of a all-in-one 4.3 with local storage 
I noticed that no VMs are started back.
Is there any option similar to Openstack's "start_guests_on_host_boot" 
that I am missing?


The closest thing I found is this script:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Auto-start+all+VMs+on+a+host+using+local+storage+after+reboot

Is there anything in ACS itself that can provide this functionality?

What bothers me most is how do I determine which VMs were running 
before the crash and which were not? Some customers may have stopped VMs 
to reduce cost or for some technical reason.


Any thoughts?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: VPN acces to VPC

2014-06-06 Thread Nux!

On 06.06.2014 12:01, Jonathan Gowar wrote:

Hi,

  I'm still working at getting IPsec VPN access, using Arch Linux.

I've installed the following packages:-

openswan 2.6.41-1
networkmanager-openswan 0.9.8.4-1

I've 2 questions really, what would the VPN group name be?  Apparently
this group has a password too.  The only authentication I know of is 
the

PSK that ACS creates, and the user I've added.

If anyone can help with these fields I'd be gratefull:-

Group name
Group password
Phase1 Algorithms
Phase2 Algorithms

Regards,
Jon


You need xl2tpd as well, the VPN is l2tp over IPSEC afaik (also known 
as "sodomy" :> ).


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: VPN acces to VPC

2014-06-05 Thread Nux!

On 05.06.2014 17:40, Jonathan Gowar wrote:

On Wed, 2014-06-04 at 09:35 +0200, Andrija Panic wrote:


http://kezhong.wordpress.com/2014/03/10/cloudstack-
configure-fedora-20-for-vpn-access/
https://portal.redbridge.se/faq/getting-started/accessing-
your-instance-from-the-outside/

Though in fairness I'm on RHEL 7 and have had problems connecting to 
ACS

VPN, but the blame is with lack of software on my side.


I'm having issuse connecting too, also my side of the bargin, this 
time

with Arch.

Is it possible to connect with OpenVPN instead of IPSec?


Not AFAIK, implementing VPN was probably not a small feat, replacing 
this will not happen any time soon.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: KVM snapshot process

2014-06-04 Thread Nux!

On 04.06.2014 08:32, Ivan Rodriguez wrote:

What is the purpose of doing this

qemu-img convert -f qcow2 -O qcow2 -s

KVM is using qcow2 this is the bit that is slowing this whole process


This is required to take the disk snapshot, additionally your backing 
file might not always be QCOW2, it could be RAW (iSCSI/CLVM), CEPH etc, 
but the target file needs to be a (qcow) file so it can be stored easily 
on the NFS share.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: VPN acces to VPC

2014-06-03 Thread Nux!

On 03.06.2014 16:40, Jonathan Gowar wrote:

On Tue, 2014-06-03 at 16:19 +0100, Nux! wrote:

On 29.05.2014 23:34, Jonathan Gowar wrote:

Hi,

  I've just configured a public VR with advanced networking and 
would

like to connect to it via a VPN enabled in CS, from my laptop.

The tutorials are a bit thing in on this subject.

Regards,
Jon


https://support.getcloudservices.com/entries/22001616-CloudStack-Configure-Windows-7-for-VPN-Access
that tutorial for example worked for me earlier today




No Linux users out there? ;)


http://kezhong.wordpress.com/2014/03/10/cloudstack-configure-fedora-20-for-vpn-access/
https://portal.redbridge.se/faq/getting-started/accessing-your-instance-from-the-outside/

Though in fairness I'm on RHEL 7 and have had problems connecting to 
ACS VPN, but the blame is with lack of software on my side.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: VPN acces to VPC

2014-06-03 Thread Nux!

On 29.05.2014 23:34, Jonathan Gowar wrote:

Hi,

  I've just configured a public VR with advanced networking and would
like to connect to it via a VPN enabled in CS, from my laptop.

The tutorials are a bit thing in on this subject.

Regards,
Jon


https://support.getcloudservices.com/entries/22001616-CloudStack-Configure-Windows-7-for-VPN-Access
that tutorial for example worked for me earlier today


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: CloudStack and IPv6

2014-06-03 Thread Nux!

On 02.06.2014 14:48, Dean Kamali wrote:

Hello everyone

Soon I'm going to get /64 IPv6 block and I'm wondering if anyone has 
any

experience dealing with IPv6 .

I would like to use IPv6 for my public traffic, however I would like 
to

maintain IPv4 for internal / private networks.

Can this be achieved with IPv6?


As far as I know IPv6 is (sadly) at experimental stage AFAIK. People on 
the development list might know more about it so I recommend you point 
your questions that way.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: using ACS vpn connection as default gateway

2014-06-03 Thread Nux!

On 17.03.2014 12:12, Andrei Mikhailovsky wrote:

Hello guys,

I was wondering if you can use the vpn connection (roadwarrior and
not site-to-site) as a default gateway for a client? By default it
does not route traffic outside of the guest network range. I've looked
at the Global Settings and I can't see anything relating to this.

Many thanks

Andrei


This could be handy, might be worth requesting it as a feature.
I for one am running a separate OpenVPN server in a VM for road-warrior 
functionality.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: XMPP Server on CloudStack Management Server

2014-06-01 Thread Nux!

On 01.06.2014 10:21, hossein zabolzadeh wrote:

@David
AMQP is not instance messaging. Does the cloudstack use AMPQ for its
message passing mechanism?


http://www.chipchilders.com/blog/2013/7/16/tapping-into-apache-cloudstack-events-via-amqp.html

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Nux!

On 31.05.2014 14:43, hossein zabolzadeh wrote:
If I want to execute custom commands on the virtual machine(e.g. 
apt-get
update), there are no ways to push the command and execute by the 
guest OS.

Is it?


Only at creation time, if you install cloud-utils in the VM, otherwise 
your means of controlling the VMs must be outside ACS, maybe 
configuration management (ansible, puppet etc).


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Is there any in-guest agent need to be installed on CloudStack Instances?

2014-05-31 Thread Nux!

On 31.05.2014 13:24, hossein zabolzadeh wrote:

Dear Andrija.
What about the agent on KVM machine? Check the page 27 of the 
following

presentation.
http://www.slideshare.net/cloudstack/cloudstack-architecture


That "agent" is the software installed on the HV, aka cloudstack-agent. 
No software is needed in the virtual machine.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack:: cloud_usage table empty

2014-05-26 Thread Nux!

On 22.05.2014 23:19, Fabrice Brazier wrote:

Hi Saulo,

There was an issue with mysql connector. Starting 4.3 mysql connector 
is no

longer bundled with ACS.
I created a symbolic link to make it available to usage server:
ln -s /usr/share/java/mysql-connector-java.jar
/usr/share/cloudstack-usage/lib/mysql-connector-java.jar

This issue is being added to 4.3 release docs.


Thanks for that, just realised my usage server was having the same 
problem... :-)


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: X on CentOS instance

2014-05-26 Thread Nux!

On 26.05.2014 18:14, Hollman Enciso R. wrote:
Hello, I am trying to install a centos with graphical environment but 
has

not been possible.

When uploading the iso to CloudStack I choose CentOS 6.4 64-bit, Other
CentOS 64-bits, but it's not working for me :(

the install process work with graphicall enviorement but then i 
restart the

OS and the X not works

any idea?

thanks


Hi,

What is your hypervisor? CentOS should work at least with the Vesa 
driver. If you are after graphical UI then I recommend you use 
FreeNX/OpenNX, it's way smoother and doesn't require you run the VM in 
level 5.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: How to sysprep a Linux VM

2014-05-26 Thread Nux!

On 26.05.2014 10:11, Tan Yi Meng wrote:

Hi all,



Is there any way to sysprep an existing Linux based VM just like the 
sysprep

did in Windows?



Regards,

Tan


You can also check virt-sysprep (from the libguestfs suite). I've used 
it successfully in the past with CentOS.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Unable to resolve releases.ubuntu.com or connection refused

2014-05-02 Thread Nux!

On 01.05.2014 18:10, sandeep khandekar wrote:
Thanks Nux My template download started. I just added one of the DNS 
server

IP in my ssvm and it started
cat >>/etc/resolv.conf
nameserver 103.XX.XX.XX

Health check I run it  successfully without any errors.

Thankyou very much!!!



If the SSVM didnt have a goof resolver than this is something to be 
looked into. The SSVM will use the nameservers you specified during Zone 
creation.
Do note that once rebooted, SSVM will exhibit the same problen unless 
you update your settings with working resolvers.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



Re: Unable to resolve releases.ubuntu.com or connection refused

2014-05-01 Thread Nux!

On 01.05.2014 11:28, sandeep khandekar wrote:

Dear All,


Hello



Why do I get the following error in Register ISO "Unable to resolve
releases.ubuntu.com" how to solve these.


It looks like there is a DNS resolution problem. Try to log in via SSH 
on to your secondary storage VM and see if you can ping/access 
releases.ubuntu.com from there.




My settings
secstorage.allowedinternal sites is set to 10.4.6.17
system.vm.use.localstorage is set to true


If you are trying to register the ISO as Admin then the allowedinternal 
setting doesn't really matter in my experience.




Previously I was able to upload, am I missing any iptable 
configuration or

???
Which log file to refer for errors?


You need to do more troubleshooting, please go through:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

Are you able to register other ISOs or templates at all?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack ceph primary storage

2014-04-30 Thread Nux!

On 30.04.2014 09:09, Ignazio Cassano wrote:

Many many thanks .
Do you know anythings about integration also with glustuer block 
device

(libgfapi) ?


It works with 4.3 but you need to patch it manually, proper support is 
coming in v4.4.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: KVM - Migration of CLVM volumes to another primary storage fail

2014-04-29 Thread Nux!

On 28.04.2014 23:58, Salvatore Sciacco wrote:

Hello Lucian,

did you have any chance to try to reproduce my setup? :-)

Best,


Sorry Salvatore, have not had the time to do it, I'll try to make some 
time today and test.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Custom realHost app

2014-04-28 Thread Nux!

On 28.04.2014 17:59, Rafael Weingartner wrote:

Hi folks,
I am trying to create my own "realHost" DNS server.

I followed the instructions from here:
http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html

thanks NUX ;)

The app is up and running, however, I am struggling to make it work 
with my

DNS server that is ran by the VR.
How could I add it to be a nameserver to DNSMASQ in the VR, in toder 
to

answer the queries X-X-X-X.realhost.internal?
I mean, the DNSMASQ will forward any request that it receives to the 
first
nameserver, I could make my "realHost" as the first one, but it just 
solves

the internal names.
Is there any way to force DNSMASQ to try to solve the name with the
following nameserver from its config when the name is not found on the
nameserver that it tried first?


Or you can forward realhost.internal to the "app", see for example
http://pyther.net/2010/12/dns-conditional-forwarding-dnsmasq/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Custom realHost app

2014-04-28 Thread Nux!

On 28.04.2014 17:59, Rafael Weingartner wrote:

Hi folks,
I am trying to create my own "realHost" DNS server.

I followed the instructions from here:
http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html

thanks NUX ;)

The app is up and running, however, I am struggling to make it work 
with my

DNS server that is ran by the VR.
How could I add it to be a nameserver to DNSMASQ in the VR, in toder 
to

answer the queries X-X-X-X.realhost.internal?
I mean, the DNSMASQ will forward any request that it receives to the 
first
nameserver, I could make my "realHost" as the first one, but it just 
solves

the internal names.
Is there any way to force DNSMASQ to try to solve the name with the
following nameserver from its config when the name is not found on the
nameserver that it tried first?


I think dnsmasq will read and serve contents from /etc/hosts (check the 
config), so if you add all your records there dnsmasq should "resolve" 
them.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack with iscsi storage

2014-04-25 Thread Nux!

On 25.04.2014 17:59, rammohan ganapavarapu wrote:
Do i have to create gfs or extfs on that lvm or i can just present 
logical

vol itself (/dev/mapper/vg01_vol01)?



You need to configure CLVM, check for tutorials on the web.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack with iscsi storage

2014-04-25 Thread Nux!

On 25.04.2014 01:11, rammohan ganapavarapu wrote:

Nux,

Thanks for the explanation, in case of clvm, what will be the ip field 
of

primary storage? Same as kvm host up?


In case of CLVM you will not input any IP. You must configure CLVM 
manually on the hosts, then add Primary Storage in Cloudstack which will 
ask for a LVM Volume Group which you will need to create in advance.


HTH

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack with iscsi storage

2014-04-24 Thread Nux!

On 25.04.2014 00:40, rammohan ganapavarapu wrote:
One more question, if i have a  NAS and i have presented raw LUN to 
all my

kvm hosts using iscsi, do i still need to setup clvm or can i just use
iscsi target and cloudstack will use it as primary storage?

I am getting confused with this clvm/shared mount, in cloudstack 4.3 
for
kvm hyperviser do i really need to setup clvm or shared mount? instead 
can

i directly give storage device ip for primary storage configuration of
course all my kvm hosts can talk to storage and can see iscsi LUN?


Hello,

CLVM is a way of using a network block device (eg iSCSI LUN) in a 
cluster-aware manner so you don't end up having multiple nodes using the 
same LVM volumes or updating LVM metadata and corrupting it. What it 
does is makes all nodes aware of the fact that the volume group on top 
of that LUN is used on multiple machines and the cluster software must 
be consulted before using it to make sure it's not used elsewhere.


Shared Mount is a powerful option that enables you to use a filesystem 
that can be shared between nodes, e.g. you can take the above LUN and 
instead of "formatting" as CLVM you can put OCFS2 or GFS2 on top of it 
and use it like a clustered filesystem. Be advised this will probably be 
more complex to set up than CLVM and also less performant.
Another example of using Shared Mount is mounting a GlusterFS volume as 
data stor, or CephFS, or XtreemFS or pretty much any network/cluster 
filesystem out there, if KVM can run off a qcow2 file off it then it's 
good enough for Cloudstack.


How you would do it in practice is very simple:
- on all hypervisors mount the desired filesystem/mounpoint in a path, 
e.g. /mnt/glusterfs, make sure it's writable etc
- add the Primary Storage as Shared Mount point and when asked about 
the path input "/mnt/glusterfs"


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: KVM - Migration of CLVM volumes to another primary storage fail

2014-04-20 Thread Nux!

On 20.04.2014 13:24, Salvatore Sciacco wrote:

2014-04-20 12:31 GMT+02:00 Nux! :

It looks like a bug, "qemu-img convert" should be used instead of "cp 
-f",

among others.



I suppose that some code was added to do a simple copy when format is 
the

same, this wasn't the case with 4.1.1 version.






Do you mind opening an issue in https://issues.apache.org/jira ?




Already did :-)

https://issues.apache.org/jira/browse/CLOUDSTACK-6462

Thanks

S.


Cool, I'll try to find out after the holidays if the problem exists in 
4.3 as well and if yes, bug some people about it.


Happy Easter :-)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: KVM - Migration of CLVM volumes to another primary storage fail

2014-04-20 Thread Nux!

On 20.04.2014 10:57, Salvatore Sciacco wrote:

ACS version: 4.2.1
Hypervisors: KVM
Storage pool type: CLVM

Since we upgraded from 4.1 to 4.2.1 moving volumes to a different 
primary
storage pool fail. I've enabled debug on the agents side and I think 
there

is a problem with the format  type conversion

Volume on database has format QCOW2

these are the parameters for the first step (CLVM -> NFS):

"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"655d6965-b3f3-4118-a970-d50cf6afc365","id":211,"poolType":"CLVM","host":"localhost","path":"/FC10KY1","port":0}},"name":"ROOT-4450","size":5368709120,"path":"39a25daf-23a1-4b65-99ac-fb98469ac197","volumeId":5937,"vmName":"i-402-4450-VM","accountId":402,"format":"QCOW2","id":5937,"hypervisorType":"KVM"}}

"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cda46430-52d7-4bf0-b0c2-adfc78dd011c","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
192.168.11.6/home/a1iwstack
","_role":"Image"}},"name":"ROOT-4450","size":5368709120,"path":"volumes/402/5937","volumeId":5937,"vmName":"i-402-4450-VM","accountId":402,"format":"QCOW2","id":5937,"hypervisorType":"KVM"}}


Those commads are translated into the agent:
DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing:
qemu-img info /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197
DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is
successful.
DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: 
*/bin/bash

-c cp -f /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197
/mnt/b8311c72-fe75-3832-98fc-975445028a12/5c713376-c418-478c-8a31-89c4181cb48e.qcow2*


With the result that the output file isn't a qcow2 file but a raw
partition, which in turn make the next step fail.
(NFS -> CLVM)


It looks like a bug, "qemu-img convert" should be used instead of "cp 
-f", among others.

Do you mind opening an issue in https://issues.apache.org/jira ?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent

2014-04-19 Thread Nux!

On 19.04.2014 15:24, Giri Prasad wrote:



# grep listen_ /etc/libvirt/libvirtd.conf
listen_tls=0
listen_tcp=1
#listen_addr = "192.XX.XX.X"
listen_addr = "0.0.0.0"

#
/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl
-n v-1-VM -p
%template=domP%type=consoleproxy%host=192.XXX.XX.5%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=192.XXX.XX.173%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.0.173%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.166%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.
ERROR: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent -
Connection refused


Do you have "-l" or "--listen" as LIBVIRTD_ARGS in 
/etc/sysconfig/libvirtd?


(kind of stabbing in the dark)

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent

2014-04-19 Thread Nux!

On 19.04.2014 14:40, Giri Prasad wrote:

  I am trying to trying to setup cloudstack 4.3 on centos 6.5. After



all the installation steps are over, and upon pressing the 
button in the cloudstack gui, the following error comes out
repeatedly. Any comments as to why is this happening?



Hi,



Is Selinux off or in permissive mode?



Also, what does "virsh dumpxml v-1-VM | grep agent" say?


Hi,

 Thanks for your comment.

virsh dumpxml v-1-VM | grep agent
  
SELINUX=permissive


One thing that caught me by surprise - though the error does not 
indicate anything like this - is missing openssh-clients package 
installed. Can you make sure you have that installed?


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent

2014-04-19 Thread Nux!

On 19.04.2014 13:12, Giri Prasad wrote:

Hello All,


 I am trying to trying to setup cloudstack 4.3 on centos 6.5. After
all the installation steps are over, and upon pressing the 
button in the cloudstack gui, the following error comes out
repeatedly. Any comments as to why is this happening?


Hi,

Is Selinux off or in permissive mode?

Also, what does "virsh dumpxml v-1-VM | grep agent" say?



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Live migration failed to newly provisioned KVM host

2014-04-18 Thread Nux!

On 18.04.2014 19:45, Indra Pramana wrote:

Unable to migrate due to internal error Process exited while reading
console log output: Supported machines are:
pc Standard PC (alias of pc-1.0)
pc-1.0 Standard PC (default)
pc-0.14Standard PC
pc-0.13Standard PC
pc-0.12Standard PC
pc-0.11Standard PC, qemu 0.11
pc-0.10Standard PC, qemu 0.10
isapc  ISA-only PC


What OS versions are you running and also what KVM versions, do you 
have anything extra enabled in the agent (eg a specific CPU type vs the 
generic KVM cpu)?
Additionally do check 
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Live_migration_and_RHEL_compatibility.html#Live_Migration_Compatibility


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: virtio-balloon on Cloudstack 4.2

2014-04-18 Thread Nux!

On 18.04.2014 05:29, motty cruz wrote:

I apologize for not being specific, Instances in CS boot with
virtio-balloon but it does not work because VM only sees 2gb, when 8gb 
was

assigned, so i manually disable virtio-balloon


Sounds like you have memory over-provisioning enabled, you shouldn't 
need to disable virtio-balloon. That can be done, but as it's quite ugly 
(well, if you wipe virtio-balloon.ko from the template and from the 
template's initrd it should work).
The best would be to disable memory over-provisioning or to upgrade to 
4.3 and enable "vm.memballoon.disable".


See https://issues.apache.org/jira/browse/CLOUDSTACK-5968 and 
http://markmail.org/thread/5qgul6tsphrpeufz for some history.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: virtio-balloon on Cloudstack 4.2

2014-04-17 Thread Nux!

On 17.04.2014 23:21, motty cruz wrote:

hello,
I am still having issue with overprivision vritio-balloon is not 
working,
the work around is to disabled virtio-balloon, how would i do so at 
boot:


[root@doop01 ~]# ssh root@10.3.2.135
root@10.3.2.135's password:
Last login: Thu Apr 17 15:19:08 2014 from doop01.sscsinc.com
[root@doop02 ~]# lsmod
Module  Size  Used by
autofs426513  3
ipv6  317340  46
microcode 112685  0
virtio_balloon  4798  0


Thanks,


I'm probably missing some information, but what exactly is the problem?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Cloudstack with iscsi storage

2014-04-17 Thread Nux!

On 18.04.2014 00:33, rammohan ganapavarapu wrote:

Ilya,

I am planning to use KVM as my hypervisor and CentOS6.4 please advice 
me.


Ram


Then you want to use CLVM. See 
http://www.slideshare.net/MarcusLSorensen/cloud-stack-clvm


And upgrade to CentOS 6.5.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Unable to ping System VMs

2014-04-17 Thread Nux!

On 17.04.2014 22:30, Ana Paula de Sousa wrote:

Hello,

As I can't ping to the System VMs I also can't ssh to them. When I try 
this

troubleshooting I receive the message:

"ssh: connect to host 169.254.0.** port 3922: No route to host"


Can you send the output of "iptables-save" and "ebtables-save"? Maybe 
put it in some pastebin.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: CloudStack-BIND dns integration

2014-04-16 Thread Nux!

On 16.04.2014 17:05, Ihor Kravchuk wrote:

Hi ,

I made a small python program that  solves DNS integration issues 
between

CloudStack VR's DNS service and BIND DNS.
This program assumes that you are using one sub-domain per 
network(each

network has own sub-domain) (IMHO the best way fro naming instances in
CloudStack)
How it works:
This program runs on CloudStack management server and listen for the 
new vm

deployment using CloudStack catalina.out log.
On event (new host deployed) program calls CloudStack API and gets 
list of

Networks and list of VM. Using theses lists and preconfigured domain
settings it creates the zone file for BIND, push it to server and 
refresh

BIND
The source code for the event driven version on GitHub:
 https://github.com/IhorKravchuk/cloudstack_ingvar/
All parameters load from dns_builder.conf file and local and remote 
(from

CloudStack mgmt server prospective) BIND DNS servers supported.
Igor


Pretty neat, but have you looked at this?
https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html

It sounds like you are not using that facility which to me (non-dev) 
seems more elegant.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Ubuntu instances + cloud-init

2014-04-16 Thread Nux!

On 15.04.2014 22:02, Rafael Weingartner wrote:

If that one does not work, I can show you mine. I use Ubuntu 12.04
templates ;)


Do show anyhow, don't be shy. :)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Ubuntu instances + cloud-init

2014-04-15 Thread Nux!

On 15.04.2014 19:43, Carlos Reátegui wrote:

Hi Nux,
You can have a look at the patch that I created to fix the default
cloud-init version on 12.04:

https://github.com/creategui/CloudStackImageScripts

The file you are looking for is DataSourceCloudStack.patch


Thanks Carlos, I'll give that a go soon!

Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Ubuntu instances + cloud-init

2014-04-15 Thread Nux!

On 15.04.2014 17:25, Rafael Weingartner wrote:
what script are you talking about ? the one to enable password 
changes?


Yes, that one.
Ideally I'd hook it into cloud-init like I do with CentOS[1].


[1] - 
http://li.nux.ro/download/cloudstack/ks/CentOS6_64bit_password_sshkey.ks


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Ubuntu instances + cloud-init

2014-04-15 Thread Nux!

Hello,

Those who are running Ubuntu instances, do you use cloud-init or the 
Cloudstack scripts?
I'm trying to build some templates with 12.04 but can't find the right 
version of cloud-init for it (0.7.4); their "cloud images" comes with 
0.6.3 who can't use Cloudstack as data source.


Hints?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: local storage ?

2014-04-15 Thread Nux!

On 15.04.2014 14:03, Shanker Balan wrote:

Comments inline.

On 07-Apr-2014, at 10:38 pm, Zack Payton  wrote:


Damn, was hoping for JBOD.
Additionally, I don't have a raid controller.

Thanks anyhow.




Zack, you can use Linux software RAID to create your RAID10 stripe
and mount the volume under /var/lib/libvirt.

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html


Yes, good, also LVM over the disks would work, too.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


<    3   4   5   6   7   8   9   10   >