Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B39C518490 for ; Mon, 22 Feb 2016 23:58:34 +0000 (UTC) Received: (qmail 75181 invoked by uid 500); 22 Feb 2016 23:58:18 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 74954 invoked by uid 500); 22 Feb 2016 23:58:18 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 74684 invoked by uid 99); 22 Feb 2016 23:58:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 23:58:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 382682C14F8 for ; Mon, 22 Feb 2016 23:58:18 +0000 (UTC) Date: Mon, 22 Feb 2016 23:58:18 +0000 (UTC) From: "jun aoki (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-15124) Can't install ambari-server in Docker environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157970#comment-15157970 ] jun aoki commented on AMBARI-15124: ----------------------------------- [~masatana], thank you for your contribution. Good catch! > Can't install ambari-server in Docker environment > ------------------------------------------------- > > Key: AMBARI-15124 > URL: https://issues.apache.org/jira/browse/AMBARI-15124 > Project: Ambari > Issue Type: Bug > Affects Versions: trunk > Environment: Docker > Reporter: Masahiro TANAKA > Priority: Minor > Labels: easyfix, patch > Attachments: AMBARI-15124.patch > > > I tried to install and run ambari-server with Docker referring to [this|https://cwiki.apache.org/confluence/display/AMBARI/Development+in+Docker#DevelopmentinDocker-CreateDockerImage] then I got an error. > {code:none} > $ sudo docker rm ambari1 > $ sudo docker run --privileged -t -p 80:80 -p 5005:5005 -p 8080:8080 -h node1.mydomain.com --name ambari1 -v $(pwd):/tmp/ambari ambari/build /tmp/ambari-build-docker/bin/ambaribuild.py server -b > ...(snip)... > Traceback (most recent call last): > File "/tmp/ambari-build-docker/bin/ambaribuild.py", line 239, in > retcode = install_ambari_server() > File "/tmp/ambari-build-docker/bin/ambaribuild.py", line 52, in install_ambari_server > cwd="/tmp/ambari/ambari-server/target/rpm/ambari-server/RPMS/noarch") > File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__ > errread, errwrite) > File "/usr/lib64/python2.6/subprocess.py", line 1238, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory: '/tmp/ambari/ambari-server/target/rpm/ambari-server/RPMS/noarch' > {code} > I think ambari-server-*.rpm is x86_64, and is in ambari-server/target/rpm/ambari-server/RPMS/x86_64 -- This message was sent by Atlassian JIRA (v6.3.4#6332)