[ERROR] Failed to execute goal org.vafer:jdeb:1.0.1:jdeb (default-cli) on project ambari-metrics-hadoop-sink: Failed to create debian package /opt/gitlab/ambari-release-2.2.2/ambari-metrics/ambari-metrics-hadoop-sink/target/ambari-metrics-hadoop-sink_2.2.2.0.0_all.deb: "/opt/gitlab/ambari-release-2.2.2/ambari-metrics/ambari-metrics-hadoop-sink/src/main/package/deb/control" is not a valid 'control' directory) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.vafer:jdeb:1.0.1:jdeb (default-cli) on project ambari-metrics-hadoop-sink: Failed to create debian package /opt/gitlab/ambari-release-2.2.2/ambari-metrics/ambari-metrics-hadoop-sink/target/ambari-metrics-hadoop-sink_2.2.2.0.0_all.deb
ambari-metrics fails to package from .deb on ubuntu 16.04 LTS BUG: - https://issues.apache.org/jira/browse/AMBARI-12977
root@whoami-ThinkCentre-E73:~# docker-compose version docker-compose version 1.8.0, build 94f7016 docker-py version: 1.9.0 CPython version: 2.7.12 OpenSSL version: OpenSSL 1.0.2g-fips 1 Mar 2016
whoami@whoami-ThinkCentre-E73:~$ docker-compose version docker-compose version 1.8.0, build 94f7016 docker-py version: 1.9.0 CPython version: 2.7.12 OpenSSL version: OpenSSL 1.0.2g-fips 1 Mar 2016
+ install registory auto whoami@whoami-ThinkCentre-E73:/opt/gitlab/Portus$ ./compose-setup.sh -e hub.itweet.cn
########### # WARNING # ###########
This deployment method is intended for testing/development purposes. To deploy Portus on production please take a look at: http://port.us.org/documentation.html
Make sure port 3000 and 5000 are open on host hub.itweet.cn
Open http://hub.itweet.cn:3000 with your browser and perform the following steps:
1. Create an admin account 2. You will be redirected to a page where you have to register the registry. In this form: - Choose a custom name for the registry. - Enter hub.itweet.cn:5000 as the hostname. - Do *not* check the "Use SSL" checkbox, since this setup is not using SSL.
Perform the following actions on the docker hosts that need to interact with your registry:
- Ensure the docker daemon is started with the '--insecure-registry hub.itweet.cn:5000' - Perform the docker login.
To authenticate against your registry using the docker cli do:
root@whoami-ThinkCentre-E73:/opt/gitlab/Portus# docker login -u admin -p admin123 hub.itweet.cn:5000 Error response from daemon: Get https://hub.itweet.cn:5000/v1/users/: http: server gave HTTP response to HTTPS client
If everything worked properly, you should be able to open a browser to visit the admin portal at http://harbor.itweet.cn. Note that the default administrator username/password are admin/Harbor12345 .
Log in to the admin portal and create a new project, e.g. myproject. You can then use docker commands to login and push images (by default, the registry server listens on port 80):
# docker login harbor.skynet.reg
* For example
# docker login harbor.itweet.cn Username: test Password: Login Succeeded
# docker pull ubuntu:14.04
# docker tag ubuntu:14.04 harbor.itweet.cn/test/ubuntu:14.04
# docker push harbor.itweet.cn/test/ubuntu:14.04
# docker pull harbor.skynet.com/test/ubuntu:14.04
* login web check http://harbor.itweet.cn admin/Harbor12345