You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Kirk Jantzer <ki...@gmail.com> on 2013/08/01 01:17:00 UTC

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??

Posted by Prashant Sreedharan <Pr...@citrix.com>.
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= <hostid>  password=xxxxxxxxxx username=root


> list hosts
count = 6
host:
id = 0c9b4c8f-69d5-42b3-b02f-fd987da670ed
name = cld-test-pod1-xen6.xxxxxxxxxxxx
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-xxxxxxxxxxx-94e487fbe4e9   hostid=bcfba758-xxxxxxxxxxxx password=xxxxxxxxxx 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.sreedharan@citrix.com



Powering mobile workstyles and cloud services



-----Original Message-----
From: Kirk Jantzer [mailto:kirk.jantzer@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??

Posted by Kirk Jantzer <ki...@gmail.com>.
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.Tomechak@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 [kirkkosinski@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 <kirk.jantzer@gmail.com
> >wrote:
> >
> >> Thanks Prashant.
> >>
> >> Will do Jessica.
> >>
> >>
> >> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
> >> Jessica.Tomechak@citrix.com> wrote:
> >>
> >>> Sounds like a document bug to me. Please file it in the bugbase!
> >>>
> >>> Jessica T.
> >>> ________________________________________
> >>> From: Kirk Jantzer [kirk.jantzer@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??

Posted by Jessica Tomechak <Je...@citrix.com>.
Thanks for the details. Now all we need is for someone to pick up and fix the bug!

Jessica T.
________________________________________
From: Kirk Kosinski [kirkkosinski@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 <ki...@gmail.com>wrote:
>
>> Thanks Prashant.
>>
>> Will do Jessica.
>>
>>
>> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
>> Jessica.Tomechak@citrix.com> wrote:
>>
>>> Sounds like a document bug to me. Please file it in the bugbase!
>>>
>>> Jessica T.
>>> ________________________________________
>>> From: Kirk Jantzer [kirk.jantzer@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??

Posted by Kirk Kosinski <ki...@gmail.com>.
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 <ki...@gmail.com>wrote:
> 
>> Thanks Prashant.
>>
>> Will do Jessica.
>>
>>
>> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
>> Jessica.Tomechak@citrix.com> wrote:
>>
>>> Sounds like a document bug to me. Please file it in the bugbase!
>>>
>>> Jessica T.
>>> ________________________________________
>>> From: Kirk Jantzer [kirk.jantzer@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??

Posted by Kirk Jantzer <ki...@gmail.com>.
https://issues.apache.org/jira/browse/CLOUDSTACK-3990


On Wed, Jul 31, 2013 at 7:30 PM, Kirk Jantzer <ki...@gmail.com>wrote:

> Thanks Prashant.
>
> Will do Jessica.
>
>
> On Wed, Jul 31, 2013 at 7:27 PM, Jessica Tomechak <
> Jessica.Tomechak@citrix.com> wrote:
>
>> Sounds like a document bug to me. Please file it in the bugbase!
>>
>> Jessica T.
>> ________________________________________
>> From: Kirk Jantzer [kirk.jantzer@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??

Posted by Kirk Jantzer <ki...@gmail.com>.
Thanks Prashant.

Will do Jessica.


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

> Sounds like a document bug to me. Please file it in the bugbase!
>
> Jessica T.
> ________________________________________
> From: Kirk Jantzer [kirk.jantzer@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??

Posted by Jessica Tomechak <Je...@citrix.com>.
Sounds like a document bug to me. Please file it in the bugbase!

Jessica T.
________________________________________
From: Kirk Jantzer [kirk.jantzer@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