Skip to content

CLOUDSTACK-8820: Support for VMware vCenter 6 data center - #806

Merged
asfgit merged 2 commits into
apache:masterfrom
sureshanaparti:CLOUDSTACK-8820
Sep 16, 2015
Merged

asfgit merged 2 commits into
apache:masterfrom
sureshanaparti:CLOUDSTACK-8820

Conversation

@sureshanaparti

Copy link
Copy Markdown
Contributor

CLOUDSTACK-8820: Showing error when try to add advance zone using VMware ESXi 6.0 host

Summary: In vCenter 6.0, response headers need to be fetched after service login for server cookie unlike previous versions of vCenter.

…are ESXi 6.0 host

Summary: In vCenter 6.0, response headers need to be fetched after service login for server cookie unlike previous versions of vCenter.
@yadvr

yadvr commented Sep 11, 2015

Copy link
Copy Markdown
Member

Great PR @sureshanaparti I was going to work on supporting this as ESXi6 works well on top of KVM; I can test this for you next week; LGTM on code change (not tested though)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why suppress? please add a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to suppress the warnings for the unchecked cast from Object to Map<String,List> on extracting the http response headers from the response context. This is also set on vmware sample programs.

@DaanHoogland

Copy link
Copy Markdown
Contributor

change makes sense but I have some comments on the coding style.

@asfbot

asfbot commented Sep 11, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #575 ABORTED

@asfbot

asfbot commented Sep 11, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #511 ABORTED

@remibergsma

Copy link
Copy Markdown
Contributor

@sureshanaparti Nice work! The PR title confused me a bit though. What about:
CLOUDSTACK-8820: Support for VMware vCenter 6 data center

@bhaisaab Would appreciate it if you could test this. Thanks! Nice feature to go with ACS 4.6 :-)

@yadvr

yadvr commented Sep 14, 2015

Copy link
Copy Markdown
Member

@remibergsma sure, but can do this next week (lack infra right now)

@sureshanaparti

Copy link
Copy Markdown
Contributor Author

@remibergsma That sounds good.

@sureshanaparti sureshanaparti changed the title CLOUDSTACK-8820: Showing error when try to add vCenter 6 CLOUDSTACK-8820: Support for VMware vCenter 6 data center Sep 14, 2015
@DaanHoogland

Copy link
Copy Markdown
Contributor

FWIW LGTM

@asfbot

asfbot commented Sep 14, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #532 ABORTED

@asfbot

asfbot commented Sep 14, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #596 ABORTED

@sateesh-chodapuneedi

Copy link
Copy Markdown
Member

@sureshanaparti code LGTM.
I will test this patch today in my lab and will get back.

@yadvr

yadvr commented Sep 16, 2015

Copy link
Copy Markdown
Member

Alright, let's wait for lab tests to confirm the patch and only then we should merge it.

Thanks for helping test it @sateesh-chodapuneedi

@sateesh-chodapuneedi

Copy link
Copy Markdown
Member

Tested adding ESXi 6.0 host to advanced ACS zone successfully.
Session logic is working fine.

@bhaisaab you might want to go ahead merge it. Thanks.

@asfgit
asfgit merged commit 1d73418 into apache:master Sep 16, 2015
asfgit pushed a commit that referenced this pull request Sep 16, 2015
CLOUDSTACK-8820: Support for VMware vCenter 6 data centerCLOUDSTACK-8820: Showing error when try to add advance zone using VMware ESXi 6.0 host

Summary: In vCenter 6.0, response headers need to be fetched after service login for server cookie unlike previous versions of vCenter.

* pr/806:
  CLOUDSTACK-8820: Updated the code for vCenter6 data center support.
  CLOUDSTACK-8820: Showing error when try to add advance zone using VMWare ESXi 6.0 host Summary: In vCenter 6.0, response headers need to be fetched after service login for server cookie unlike previous versions of vCenter.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants