Change host password??

2013-07-31 Thread Kirk Jantzer
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html

This document says to update the password column, which doesn't exist in
the host table. Is this a document bug?

-- 
Regards,

Kirk Jantzer
http://about.met/kirkjantzer


Change host password

2014-01-06 Thread Carlos Miranda Molina (Mstaaravin)
Hello!
Someone know how change host password in Cloudstack..?

With cloudmonkey does not work

> update hostpassword clusterid=de88338c-9ed4-4e84-9659-c6ef477de40b
hostid=106e381f-7d21-44a3-b897-b8b1a7474133 username=root
password='PASSWORD'
: This operation is not supported for this hypervisor type

(i'm using KVM as a hypervisor)


I find in table host_details

mysql> select * from host_details where host_id=73;
++-++--+
| id | host_id | name   |
value|
++-++--+
| 225405 |  73 | com.cloud.network.Networks.RouterPrivateIpStrategy |
HostLocal|
| 225403 |  73 | Host.OS|
CentOS   |
| 225402 |  73 | Host.OS.Kernel.Version |
2.6.32-431.1.2.0.1.el6.x86_64|
| 225404 |  73 | Host.OS.Version|
6.5  |
| 225411 |  73 | password   |
w4Ou/etXfInGh+1T3mVj/W+fE4QG5Ock |
| 225408 |  73 | username   |
root |
++-++--+
6 rows in set (0.00 sec)

Counting password characters i think is encrypted with MD5 but is not.

Can anyone help me please...?

Regards

-- 
"La Voluntad es el único motor de nuestros logros"
http://blog.ngen.com.ar/


RE: Change host password??

2013-07-31 Thread Prashant Sreedharan
Yes, the documentation needs to be updated... , but 

Host passwd can be updated easily using Cloudmonkey , I just updated 30 
xenserver hosts using cloudmonkey 

1. setup cloudmonkey
2. get the hostid and clusterid and then update the host passwd .. for ex 

update hostpassword clusterid= < cluster id >hostid=   
password=xx username=root


> list hosts
count = 6
host:
id = 0c9b4c8f-69d5-42b3-b02f-fd987da670ed
name = cld-test-pod1-xen6.
capabilities = xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , 
hvm-3.0-x86_32p , hvm-3.0-x86_64
clusterid = 793a4b28-070d-4f31-982b-3c973608bdb1
clustername = pod1-cluster1


> update hostpassword clusterid=ec483b01-2387-xxx-94e487fbe4e9   
> hostid=bcfba758- password=xx username=root

More information on cloudmonkey is below 

https://cwiki.apache.org/CLOUDSTACK/cloudstack-cloudmonkey-cli.html




Prashant Sreedharan

Cloudstack & XenServer Administrator , Ops
T: +1 805 690 3486 | M: +1 805 453 9105 
prashant.sreedha...@citrix.com



Powering mobile workstyles and cloud services



-Original Message-
From: Kirk Jantzer [mailto:kirk.jant...@gmail.com] 
Sent: Wednesday, July 31, 2013 4:17 PM
To: Cloudstack users mailing list
Subject: Change host password??

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html

This document says to update the password column, which doesn't exist in the 
host table. Is this a document bug?

--
Regards,

Kirk Jantzer
http://about.met/kirkjantzer


RE: Change host password??

2013-07-31 Thread Jessica Tomechak
Sounds like a document bug to me. Please file it in the bugbase!

Jessica T.

From: Kirk Jantzer [kirk.jant...@gmail.com]
Sent: Wednesday, July 31, 2013 4:17 PM
To: Cloudstack users mailing list
Subject: Change host password??

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html

This document says to update the password column, which doesn't exist in
the host table. Is this a document bug?

--
Regards,

Kirk Jantzer
http://about.met/kirkjantzer


Re: Change host password??

2013-07-31 Thread Kirk Jantzer
Thanks Prashant.

Will do Jessica.


On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
jessica.tomec...@citrix.com> wrote:

> Sounds like a document bug to me. Please file it in the bugbase!
>
> Jessica T.
> 
> From: Kirk Jantzer [kirk.jant...@gmail.com]
> Sent: Wednesday, July 31, 2013 4:17 PM
> To: Cloudstack users mailing list
> Subject: Change host password??
>
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html
>
> This document says to update the password column, which doesn't exist in
> the host table. Is this a document bug?
>
> --
> Regards,
>
> Kirk Jantzer
> http://about.met/kirkjantzer
>



-- 
Regards,

Kirk Jantzer
c: (678) 561-5475
http://about.met/kirkjantzer


Re: Change host password??

2013-07-31 Thread Kirk Jantzer
https://issues.apache.org/jira/browse/CLOUDSTACK-3990


On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer wrote:

> Thanks Prashant.
>
> Will do Jessica.
>
>
> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
> jessica.tomec...@citrix.com> wrote:
>
>> Sounds like a document bug to me. Please file it in the bugbase!
>>
>> Jessica T.
>> 
>> From: Kirk Jantzer [kirk.jant...@gmail.com]
>> Sent: Wednesday, July 31, 2013 4:17 PM
>> To: Cloudstack users mailing list
>> Subject: Change host password??
>>
>>
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html
>>
>> This document says to update the password column, which doesn't exist in
>> the host table. Is this a document bug?
>>
>> --
>> Regards,
>>
>> Kirk Jantzer
>> http://about.met/kirkjantzer
>>
>
>
>
> --
> Regards,
>
> Kirk Jantzer
> c: (678) 561-5475
> http://about.met/kirkjantzer
>



-- 
Regards,

Kirk Jantzer
c: (678) 561-5475
http://about.met/kirkjantzer


Re: Change host password??

2013-08-01 Thread Kirk Kosinski
Hi, I updated the bug with more details.  The document is close but not
quite correct, and there is some info that should be added.

1. It should be the "host_details" table, not the "host" table.
2. For vSphere, in addition to updating host_details, you also need to
update the cluster_details table.
3. For XenServer you should use the updateHostPassword API (AFAIK this
command doesn't work for other hypervisors yet).

Best regards,
Kirk

On 07/31/2013 05:32 PM, Kirk Jantzer wrote:
> https://issues.apache.org/jira/browse/CLOUDSTACK-3990
> 
> 
> On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer wrote:
> 
>> Thanks Prashant.
>>
>> Will do Jessica.
>>
>>
>> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
>> jessica.tomec...@citrix.com> wrote:
>>
>>> Sounds like a document bug to me. Please file it in the bugbase!
>>>
>>> Jessica T.
>>> 
>>> From: Kirk Jantzer [kirk.jant...@gmail.com]
>>> Sent: Wednesday, July 31, 2013 4:17 PM
>>> To: Cloudstack users mailing list
>>> Subject: Change host password??
>>>
>>>
>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html
>>>
>>> This document says to update the password column, which doesn't exist in
>>> the host table. Is this a document bug?
>>>
>>> --
>>> Regards,
>>>
>>> Kirk Jantzer
>>> http://about.met/kirkjantzer
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Kirk Jantzer
>> c: (678) 561-5475
>> http://about.met/kirkjantzer
>>
> 
> 
> 


RE: Change host password??

2013-08-01 Thread Jessica Tomechak
Thanks for the details. Now all we need is for someone to pick up and fix the 
bug!

Jessica T.

From: Kirk Kosinski [kirkkosin...@gmail.com]
Sent: Thursday, August 01, 2013 2:53 PM
To: users@cloudstack.apache.org
Cc: Kirk Jantzer
Subject: Re: Change host password??

Hi, I updated the bug with more details.  The document is close but not
quite correct, and there is some info that should be added.

1. It should be the "host_details" table, not the "host" table.
2. For vSphere, in addition to updating host_details, you also need to
update the cluster_details table.
3. For XenServer you should use the updateHostPassword API (AFAIK this
command doesn't work for other hypervisors yet).

Best regards,
Kirk

On 07/31/2013 05:32 PM, Kirk Jantzer wrote:
> https://issues.apache.org/jira/browse/CLOUDSTACK-3990
>
>
> On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer wrote:
>
>> Thanks Prashant.
>>
>> Will do Jessica.
>>
>>
>> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
>> jessica.tomec...@citrix.com> wrote:
>>
>>> Sounds like a document bug to me. Please file it in the bugbase!
>>>
>>> Jessica T.
>>> 
>>> From: Kirk Jantzer [kirk.jant...@gmail.com]
>>> Sent: Wednesday, July 31, 2013 4:17 PM
>>> To: Cloudstack users mailing list
>>> Subject: Change host password??
>>>
>>>
>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html
>>>
>>> This document says to update the password column, which doesn't exist in
>>> the host table. Is this a document bug?
>>>
>>> --
>>> Regards,
>>>
>>> Kirk Jantzer
>>> http://about.met/kirkjantzer
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Kirk Jantzer
>> c: (678) 561-5475
>> http://about.met/kirkjantzer
>>
>
>
>


Re: Change host password??

2013-08-06 Thread Kirk Jantzer
Kirk/All - using the API didn't work. I changed the password via XenCenter
and made sure it took by reconnecting with the new credentials. Then, I ran
and received the following via cloudmonkey:
cloudmonkey> update hostpassword clusterid=clusterid hostid=hostid
password=newpass username=root
success = true

Thoughts??



On Thu, Aug 1, 2013 at 6:10 PM, Jessica Tomechak <
jessica.tomec...@citrix.com> wrote:

> Thanks for the details. Now all we need is for someone to pick up and fix
> the bug!
>
> Jessica T.
> 
> From: Kirk Kosinski [kirkkosin...@gmail.com]
> Sent: Thursday, August 01, 2013 2:53 PM
> To: users@cloudstack.apache.org
> Cc: Kirk Jantzer
> Subject: Re: Change host password??
>
> Hi, I updated the bug with more details.  The document is close but not
> quite correct, and there is some info that should be added.
>
> 1. It should be the "host_details" table, not the "host" table.
> 2. For vSphere, in addition to updating host_details, you also need to
> update the cluster_details table.
> 3. For XenServer you should use the updateHostPassword API (AFAIK this
> command doesn't work for other hypervisors yet).
>
> Best regards,
> Kirk
>
> On 07/31/2013 05:32 PM, Kirk Jantzer wrote:
> > https://issues.apache.org/jira/browse/CLOUDSTACK-3990
> >
> >
> > On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer  >wrote:
> >
> >> Thanks Prashant.
> >>
> >> Will do Jessica.
> >>
> >>
> >> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
> >> jessica.tomec...@citrix.com> wrote:
> >>
> >>> Sounds like a document bug to me. Please file it in the bugbase!
> >>>
> >>> Jessica T.
> >>> 
> >>> From: Kirk Jantzer [kirk.jant...@gmail.com]
> >>> Sent: Wednesday, July 31, 2013 4:17 PM
> >>> To: Cloudstack users mailing list
> >>> Subject: Change host password??
> >>>
> >>>
> >>>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/change-host-password.html
> >>>
> >>> This document says to update the password column, which doesn't exist
> in
> >>> the host table. Is this a document bug?
> >>>
> >>> --
> >>> Regards,
> >>>
> >>> Kirk Jantzer
> >>> http://about.met/kirkjantzer
> >>>
> >>
> >>
> >>
> >> --
> >> Regards,
> >>
> >> Kirk Jantzer
> >> c: (678) 561-5475
> >> http://about.met/kirkjantzer
> >>
> >
> >
> >
>



-- 
Regards,

Kirk Jantzer
c: (678) 561-5475
http://about.met/kirkjantzer


Re: Change host password

2014-01-06 Thread Kirk Kosinski
Hi, the API command only supports XenServer hosts.  For KVM and vSphere
hosts you need to modify the database directly.  It is partially
documented and this bug has the needed details:

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

Best regards,
Kirk

On 01/06/2014 07:15 AM, Carlos Miranda Molina (Mstaaravin) wrote:
> Hello!
> Someone know how change host password in Cloudstack..?
> 
> With cloudmonkey does not work
> 
>> update hostpassword clusterid=de88338c-9ed4-4e84-9659-c6ef477de40b
> hostid=106e381f-7d21-44a3-b897-b8b1a7474133 username=root
> password='PASSWORD'
> : This operation is not supported for this hypervisor type
> 
> (i'm using KVM as a hypervisor)
> 
> 
> I find in table host_details
> 
> mysql> select * from host_details where host_id=73;
> ++-++--+
> | id | host_id | name   |
> value|
> ++-++--+
> | 225405 |  73 | com.cloud.network.Networks.RouterPrivateIpStrategy |
> HostLocal|
> | 225403 |  73 | Host.OS|
> CentOS   |
> | 225402 |  73 | Host.OS.Kernel.Version |
> 2.6.32-431.1.2.0.1.el6.x86_64|
> | 225404 |  73 | Host.OS.Version|
> 6.5  |
> | 225411 |  73 | password   |
> w4Ou/etXfInGh+1T3mVj/W+fE4QG5Ock |
> | 225408 |  73 | username   |
> root |
> ++-++--+
> 6 rows in set (0.00 sec)
> 
> Counting password characters i think is encrypted with MD5 but is not.
> 
> Can anyone help me please...?
> 
> Regards
> 


Re: Change host password

2014-01-08 Thread Fernando Guillén Camba

Hi.
Maybe this mail helps you:
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201309.mbox/%3C522753C9.8030400%40usc.es%3E




El 07/01/14 06:21, Kirk Kosinski escribió:

Hi, the API command only supports XenServer hosts.  For KVM and vSphere
hosts you need to modify the database directly.  It is partially
documented and this bug has the needed details:

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

Best regards,
Kirk

On 01/06/2014 07:15 AM, Carlos Miranda Molina (Mstaaravin) wrote:

Hello!
Someone know how change host password in Cloudstack..?

With cloudmonkey does not work


update hostpassword clusterid=de88338c-9ed4-4e84-9659-c6ef477de40b

hostid=106e381f-7d21-44a3-b897-b8b1a7474133 username=root
password='PASSWORD'
: This operation is not supported for this hypervisor type

(i'm using KVM as a hypervisor)


I find in table host_details

mysql> select * from host_details where host_id=73;
++-++--+
| id | host_id | name   |
value|
++-++--+
| 225405 |  73 | com.cloud.network.Networks.RouterPrivateIpStrategy |
HostLocal|
| 225403 |  73 | Host.OS|
CentOS   |
| 225402 |  73 | Host.OS.Kernel.Version |
2.6.32-431.1.2.0.1.el6.x86_64|
| 225404 |  73 | Host.OS.Version|
6.5  |
| 225411 |  73 | password   |
w4Ou/etXfInGh+1T3mVj/W+fE4QG5Ock |
| 225408 |  73 | username   |
root |
++-++--+
6 rows in set (0.00 sec)

Counting password characters i think is encrypted with MD5 but is not.

Can anyone help me please...?

Regards




--
Fernando Guillén Camba
Unidade de Xestión de Infraestruturas TIC
Centro de Investigación en Tecnoloxías da Información (CITIUS)
Teléfono: 8818 16409
Correo: citius@usc.es