cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-8334) Reset password fails in VPC
Date Thu, 19 Mar 2015 09:41:38 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohit Yadav closed CLOUDSTACK-8334.
-----------------------------------

Was not a problem but an environment issue.

> Reset password fails in VPC
> ---------------------------
>
>                 Key: CLOUDSTACK-8334
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8334
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.5.1
>            Reporter: Abhinandan Prateek
>            Assignee: Rohit Yadav
>            Priority: Blocker
>             Fix For: 4.5.1
>
>
> The set password for a VPC VM fails to update the password:
> From MS logs:
> The relevant logs in VR are:
> Mar 18 12:23:41 r-8-VM cloud: VR config: execution success
> Mar 18 12:25:57 r-8-VM cloud: serve_password called to service a request for 172.16.2.102.
> Mar 18 12:25:57 r-8-VM cloud: serve_password sent bad_request to 172.16.2.102.
> Mar 18 12:26:25 r-8-VM cloud: edithosts: releasing 172.16.2.102
> Mar 18 12:26:25 r-8-VM cloud: edithosts: released 172.16.2.102
> Mar 18 12:26:25 r-8-VM cloud: edithosts: update 02:00:65:3f:00:01 172.16.2.102  Batman-VPC-VM-002
to hosts
> Mar 18 12:26:40 r-8-VM cloud: serve_password called to service a request for 172.16.2.102.
> Mar 18 12:26:40 r-8-VM cloud: serve_password sent bad_request to 172.16.2.102.
> From logs on the user VM:
> :Password server at 172.16.2.1 did not have any password for the VM
> : Failed to get password from any server
> From MS logs:
> 2015-03-16 01:09:21,638 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118) Executing AsyncJobVO {id:118, userId: 2, accountId: 2, instanceType: VirtualMachine,
instanceId: 10, cmd: org.apache.cloudstack.api.command.admin.vm.ResetVMPasswordCmdByAdmin,
cmdInfo: {"id":"8bcc5d62-778b-4924-bcce-269d95d2bb6b","response":"json","sessionkey":"awLcJnoXy0Q452VulWereQJJ49M\u003d","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":\"8bcc5d62-778b-4924-bcce-269d95d2bb6b\"}","cmdEventType":"VM.RESETPASSWORD","ctxUserId":"2","httpmethod":"GET","_":"1426681566976","uuid":"8bcc5d62-778b-4924-bcce-269d95d2bb6b","ctxAccountId":"2","ctxStartEventId":"355"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
345043735628, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2015-03-16 01:09:21,638 DEBUG [c.c.a.ApiServlet] (1682268284@qtp-1789746428-5:ctx-1902899d
ctx-00d3d69e) ===END===  192.168.100.4 -- GET  command=resetPasswordForVirtualMachine&id=8bcc5d62-778b-4924-bcce-269d95d2bb6b&response=json&sessionkey=awLcJnoXy0Q452VulWereQJJ49M%3D&_=1426681566976
> 2015-03-16 01:09:21,676 DEBUG [c.c.n.NetworkModelImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Service SecurityGroup is not supported in the network id=207
> 2015-03-16 01:09:21,691 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Applying save password entry in network Ntwk[207|Guest|12]
> 2015-03-16 01:09:21,704 DEBUG [c.c.a.t.Request] (API-Job-Executor-4:ctx-3de18f94 job-118
ctx-a8b42a44) Seq 4-7146931133660266530: Sending  { Cmd , MgmtId: 345043735628, via: 4(xen652),
Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.SavePasswordCommand":{,"vmIpAddress":"172.16.2.102","vmName":"Batman-VPC-VM-002","executeInSequence":false,"accessDetails":{"zone.network.type":"Advanced","router.name":"r-8-VM","router.ip":"169.254.2.228","router.guest.ip":"172.16.2.1"},"wait":0}}]
}
> 2015-03-16 01:09:21,705 DEBUG [c.c.a.t.Request] (API-Job-Executor-4:ctx-3de18f94 job-118
ctx-a8b42a44) Seq 4-7146931133660266530: Executing:  { Cmd , MgmtId: 345043735628, via: 4(xen652),
Ver: v1, Flags: 100011, [{"com.cloud.agent.api.routing.SavePasswordCommand":{,"vmIpAddress":"172.16.2.102","vmName":"Batman-VPC-VM-002","executeInSequence":false,"accessDetails":{"zone.network.type":"Advanced","router.name":"r-8-VM","router.ip":"169.254.2.228","router.guest.ip":"172.16.2.1"},"wait":0}}]
}
> 2015-03-16 01:09:21,705 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-8:ctx-5044c489)
Seq 4-7146931133660266530: Executing request
> 2015-03-16 01:09:21,705 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-8:ctx-5044c489)
Executing command in VR: /opt/cloud/bin/router_proxy.sh savepassword.sh 169.254.2.228 -v 172.16.2.102
-p zE9qfj
> 2015-03-16 01:09:21,921 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-8:ctx-5044c489)
Seq 4-7146931133660266530: Response Received:
> 2015-03-16 01:09:21,922 DEBUG [c.c.a.t.Request] (DirectAgent-8:ctx-5044c489) Seq 4-7146931133660266530:
Processing:  { Ans: , MgmtId: 345043735628, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"details":"","wait":0}}]
}
> 2015-03-16 01:09:21,922 DEBUG [c.c.a.t.Request] (API-Job-Executor-4:ctx-3de18f94 job-118
ctx-a8b42a44) Seq 4-7146931133660266530: Received:  { Ans: , MgmtId: 345043735628, via: 4,
Ver: v1, Flags: 10, { Answer } }
> 2015-03-16 01:09:21,923 DEBUG [c.c.v.UserVmManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Vm VM[User|i-6-10-VM] is stopped, not rebooting it as a part of password
reset
> 2015-03-16 01:09:21,935 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Complete async job-118, jobStatus: SUCCEEDED, resultCode: 0, result:
org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"8bcc5d62-778b-4924-bcce-269d95d2bb6b","name":"Batman-VPC-VM-002","displayname":"Batman
VPC VM 002","account":"batman","domainid":"5c7fac8c-b5f3-475f-85ba-b49e38a0189d","domain":"Wayne","created":"2015-03-15T23:04:41+0530","state":"Stopped","haenable":true,"zoneid":"c514431a-e04e-4154-b9f7-780da0df5304","zonename":"Bootcamp","templateid":"94210805-3ffe-4b7c-aebf-a7f37bdb2cab","templatename":"macchinina","templatedisplaytext":"macchinina","passwordenabled":true,"serviceofferingid":"95c7af30-230e-4a45-a401-003fab554b07","serviceofferingname":"Ultra
Tiny","cpunumber":1,"cpuspeed":500,"memory":128,"cpuused":"0.2%","networkkbsread":0,"networkkbswrite":0,"diskkbsread":2,"diskkbswrite":0,"diskioread":0,"diskiowrite":0,"guestosid":"1c9d68f4-ca74-11e4-827d-00505635944c","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"password":"zE9qfj","nic":[{"id":"538bbe55-e242-4ac5-85fc-8fb778852338","networkid":"92abe9c3-e0fc-416b-9721-8d21ce357d3c","networkname":"batman-tier-2","netmask":"255.255.255.0","gateway":"172.16.2.1","ipaddress":"172.16.2.102","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:65:3f:00:01"}],"hypervisor":"XenServer","instancename":"i-6-10-VM","tags":[],"details":{"hypervisortoolsversion":"xenserver56"},"affinitygroup":[],"displayvm":true,"isdynamicallyscalable":false,"ostypeid":99,"jobid":"ab83acf8-4cc3-408b-9f0b-c4d54a95a110","jobstatus":0}
> 2015-03-16 01:09:21,937 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Publish async job-118 complete on message bus
> 2015-03-16 01:09:21,937 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Wake up jobs related to job-118
> 2015-03-16 01:09:21,937 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Update db status for job-118
> 2015-03-16 01:09:21,938 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118 ctx-a8b42a44) Wake up jobs joined with job-118 and disjoin all subjobs created from
job- 118
> 2015-03-16 01:09:21,940 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-3de18f94
job-118) Done executing org.apache.cloudstack.api.command.admin.vm.ResetVMPasswordCmdByAdmin
for job-118



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message