Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate approach to include and configure Lightwave in VIC-OVA #3906

Closed
lcastellano opened this issue Feb 10, 2017 · 6 comments
Closed
Assignees
Labels
component/infrastructure Infrastructure related to building and testing kind/investigation A scoped effort to learn the answers to a set of questions which may include prototyping priority/p2
Milestone

Comments

@lcastellano
Copy link
Contributor

User statement: Lightwave should be part of the VIC-OVA. Investigate best approach to include and configure LW for usage by other components.

Detail: To achieve this goal we need to coordinate with the team in charge of creating and testing the VIC-OVA. In the previous project we have developed a set of Ansible scripts to install, configure and customize LW when deployed in GCE. Hopefully some of the code will be re-usable for installation and configuration inside VIC-OVA.

Acceptance criteria:
A note that describe the approach to include/configure/customize LW inside the VIC-OVA.

@lcastellano lcastellano added component/infrastructure Infrastructure related to building and testing kind/investigation A scoped effort to learn the answers to a set of questions which may include prototyping Spike labels Feb 10, 2017
@mdubya66 mdubya66 removed the Spike label Feb 13, 2017
@hmahmood hmahmood modified the milestone: Sprint 3 Feb 23, 2017
@mdubya66
Copy link
Contributor

@lubronzhan why not just pull your summary into this issue so we have it all in one place?

@lubronzhan
Copy link
Contributor

@mdubya66 Sure.

Lightwave and Harbor both binds port 443. To deploy Lightwave and Harbor in single VM, I need to find way to bind Lightwave to other ports. Here are the steps I tried.

  1. I first tried binding Lightwave port 443 to other another port (e.g. 2525) when starting the Lightwave container. However, since the Lightwave container includes many services and they communicate with each other through "localhost:443" , this resulted in various Lightwave errors (e.g. it doesn't pass Health Check)

  2. I tried asking the Lightwave team if there is a configuration parameter to change its binding port. They suggested to change a parameter in the Catalina configuration file. I tried to build LW container based on their codes. However, there are bugs in dev branch and master branch which prevent a correct build. I was able to finish a container build (from the master branch) by splitting up some of the commands in the Lightwave Docker file, however when deployed the container runs for about 10 minutes and then it hits an out of memory error condition.

  3. Finally I investigated an alternative way to put LW and Harbor in single VM. It is to put them under bridge network, so they could both use 443, but need a Ngnix in front as reverse proxy to forward requests to LW and Harbor. The tricky part is to assign both LW and Harbor with a hostname, in addition the remote machine should point those hostnames to the VM. The specific steps are in following document. [1]

Summary, need to help from Lightwave team to help build from their code on v1.0 branch.

[1]https://onevmw-my.sharepoint.com/personal/lzhan_vmware_com/_layouts/15/guestaccess.aspx?guestaccesstoken=1pzh4fybta222OZgpjT7svW1F0uXb7gOJkimm7gDg3I%3d&docid=2_1ef755db3a95d4a50b720a553734b8d8

@mdubya66
Copy link
Contributor

mdubya66 commented Mar 1, 2017

should we open an issue against lightwave to get these resolved? @mlh78750 @lcastellano

@lcastellano
Copy link
Contributor Author

We have more details now, this activity should be replaced by 4102, 4079. We consider this one finished.

@mhagen-vmware
Copy link
Contributor

Should this be in Sprint 4 milestone?

@mhagen-vmware mhagen-vmware added this to the Sprint 4 milestone Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/infrastructure Infrastructure related to building and testing kind/investigation A scoped effort to learn the answers to a set of questions which may include prototyping priority/p2
Projects
None yet
Development

No branches or pull requests

5 participants