You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/11/09 00:11:39 UTC
[GitHub] JBevillC opened a new pull request #3005: Fix optional vnc container
JBevillC opened a new pull request #3005: Fix optional vnc container
URL: https://github.com/apache/trafficcontrol/pull/3005
#### What does this PR do?
This PR fixes a number of problems with the existing vnc `testclient` container:
1) rename the container to `vnc` since that is it's purpose
2) add `vnc.infra.ciab.test` hostname entry into the static dns server configuration.
3) move the vnc container under the `optional` containers directory for better organization
4) updates the shared volume required to get access to shared CA x509 SSL certificate
5) fixes to allow firefox to start up in a container without dbus or systemd
6) default vnc password is now random by default. Override via environment at runtime.
7) Port changed to 5909 to avoid port collision
New proposed directory structure for optional containers:
```
cdn-in-a-box/optional
cdn-in-a-box/optional/docker-compose.$NAME.yml
cdn-in-a-box/optional/$NAME/
```
#### Which TC components are affected by this PR?
- [ ] Documentation
- [ ] Grove
- [ ] Traffic Analytics
- [ ] Traffic Monitor
- [ ] Traffic Ops
- [ ] Traffic Ops ORT
- [ ] Traffic Portal
- [ ] Traffic Router
- [ ] Traffic Stats
- [ ] Traffic Vault
- [ ] Other _________
#### What is the best way to verify this PR?
1) Add VNC_PASSWD with 6 digit password to variables.env
2) Start up the CIAB stack using the following alias:
```
alias vdc='docker-compose -f docker-compose.yml -f docker-compose.testclient.yml'
vdc build
vdc kill && vdc rm -f
docker volume prune -f
vdc up
```
3) Connect with vnc client to localhost 5909 with $VNC_PASSWD
4) firefox should start as soon as the traffic portal is available.
#### Check all that apply
- [ ] This PR includes tests
- [ ] This PR includes documentation updates
- [ ] This PR includes an update to CHANGELOG.md
- [ ] This PR includes all required license headers
- [ ] This PR includes a database migration (ensure that migration sequence is correct)
- [ ] This PR fixes a serious security flaw. Read more: [www.apache.org/security](http://www.apache.org/security/)
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services