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

i can't make #42

Open
jaeyjjang opened this issue Jun 11, 2020 · 4 comments
Open

i can't make #42

jaeyjjang opened this issue Jun 11, 2020 · 4 comments

Comments

@jaeyjjang
Copy link

i running this turn.

Deployment:

  1. Clone this repository
  2. Run:
export NAMESPACE=default && \
export DOCKER_REPOSITORY=nanit && \
export RABBITMQ_REPLICAS=5 && \
export RABBITMQ_DEFAULT_USER=username && \
export RABBITMQ_DEFAULT_PASS=password && \
export RABBITMQ_ERLANG_COOKIE=secret && \
export RABBITMQ_EXPOSE_MANAGEMENT=TRUE && \
export RABBITMQ_MANAGEMENT_SERVICE_TYPE=LoadBalancer && \
export RABBITMQ_HA_POLICY='{\"ha-mode\":\"all\"}' && \
export RABBITMQ_LOG_LEVEL=info && \
export RABBITMQ_ADDITIONAL_YAML="" && \
export SUDO="" && \
make deploy

but. i'm not success.
i don't know.  why i have this error?  
how i do i it? 

[root@hyperm-1 kubernetes-rabbitmq-cluster-master]# make deploy
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
sed -i -e 's/{{RABBITMQ_HA_POLICY}}/{\"ha-mode\":\"all\"}/g' docker/set_ha.sh
docker pull nanit/rabbitmq: || ( docker build -t nanit/rabbitmq: docker &&  docker push nanit/rabbitmq:)
invalid reference format
invalid argument "nanit/rabbitmq:" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
make: *** [docker-rabbitmq] Error 125
@reutsharabani
Copy link
Contributor

reutsharabani commented Jun 11, 2020

Where did you clone the repository?

fatal: Not a git repository (or any of the parent directories): .git

This is a git error message indicating you are not in the cloned repository's folder.

@jaeyjjang
Copy link
Author

.git success.
but i meet other error and i don't know.
error message.

[root@hyperm-1 kubernetes-rabbitmq-cluster-master]# make deploy
fatal: bad default revision 'HEAD'
fatal: bad default revision 'HEAD'
sed -i -e 's/{{RABBITMQ_HA_POLICY}}/{"ha-mode":"all"}/g' docker/set_ha.sh
docker pull nanit/rabbitmq: || ( docker build -t rabbitmq:0.1 docker && docker push nanit/rabbitmq:)
invalid reference format
Sending build context to Docker daemon 106kB
Step 1/13 : FROM rabbitmq:3.6.6-management-alpine
---> 7c94740ef743
Step 2/13 : RUN apk add --update jq curl bash bind-tools
---> Using cache
---> 154c1e168bc4
Step 3/13 : ADD rabbitmq_delayed_message_exchange-0.0.1.ez /plugins
---> Using cache
---> fc0580b06088
Step 4/13 : ADD rabbitmq_clusterer-1.0.3.ez /plugins
---> Using cache
---> 8851e20c9e90
Step 5/13 : RUN rabbitmq-plugins enable rabbitmq_delayed_message_exchange --offline
---> Using cache
---> c3e9b0902d1d
Step 6/13 : RUN rabbitmq-plugins enable rabbitmq_clusterer --offline
---> Using cache
---> c6c8da0d8141
Step 7/13 : ENV RABBITMQ_BOOT_MODULE rabbit_clusterer
---> Using cache
---> df28c2a66aaa
Step 8/13 : ENV RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS "-pa /plugins/rabbitmq_clusterer-1.0.3.ez/rabbitmq_clusterer-1.0.3/ebin"
---> Using cache
---> 5c6d1f86c218
Step 9/13 : ADD clusterer.config /etc/rabbitmq/
---> Using cache
---> 94901056466c
Step 10/13 : ADD set_cluster_nodes.sh /
---> Using cache
---> ef8378ed3701
Step 11/13 : ADD set_ha.sh /
---> Using cache
---> d49d41e5b337
Step 12/13 : RUN chown -R rabbitmq:rabbitmq /var/lib/rabbitmq /etc/rabbitmq
---> Using cache
---> 5ed0a4ba9adf
Step 13/13 : COPY docker-entrypoint.sh /usr/local/bin/
---> Using cache
---> 43e92f9627d9
Successfully built 43e92f9627d9
Successfully tagged rabbitmq:0.1
invalid reference format
make: *** [docker-rabbitmq] 오류 1

@jaeyjjang
Copy link
Author

i passed this issue +_+

@erez-rabih
Copy link
Contributor

@jaeyjjang it would be nice if you could comment here what was the issue and how you overcame it for future reference

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

No branches or pull requests

3 participants