Package Details: do-agent 3.16.7-1

Git Clone URL: https://aur.archlinux.org/do-agent.git (read-only, click to copy)
Package Base: do-agent
Description: DigitalOcean Agent for Enhanced Droplet Graphs
Upstream URL: https://github.com/digitalocean/do-agent
Keywords: digitalocean do droplet
Licenses: Apache
Submitter: 2bluesc
Maintainer: 2bluesc
Last Packager: 2bluesc
Votes: 8
Popularity: 0.000048
First Submitted: 2016-12-29 19:45 (UTC)
Last Updated: 2023-11-20 02:49 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

z3ntu commented on 2019-05-01 07:25 (UTC)

Can't the package just use "go build" like any other normal go software instead of requiring docker..? It's a bit ridiculous in my opinion.

djmoch commented on 2019-04-20 13:00 (UTC)

Since docker is required to build, it should be a makedepends.

BloodyAltair commented on 2019-04-17 22:25 (UTC)

@kureta digitalocean uses docker to build do-agent. To access docker daemon via unix socket as regular user, you need to be a member of docker group (read the following article ). @2bluesc you need to add docker as makedepends to this package

kureta commented on 2019-04-17 22:08 (UTC)

I installed docker and started docker.service, the error became:

fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.

:::::::::::::::: [Wed Apr 17 22:00:27 UTC 2019] target/do-agent-linux-amd64 ::::::::::::::::
docker run --rm -i -u "1000" -e "GOOS=linux" -e "GOARCH=amd64" -e "GOPATH=/gopath" -e "GOCACHE=/gopath/src/github.com/digitalocean/do-agent/target/.cache/go" -v "/home/kureta/.cache/yay/do-agent/src/go/src/github.com/digitalocean/do-agent:/gopath/src/github.com/digitalocean/do-agent" -w "/gopath/src/github.com/digitalocean/do-agent" golang:1.11.5 go build -ldflags ' -X "main.version=" -X "main.revision=e30bc2f" -X "main.buildDate=Wed Apr 17 22:00:27 UTC 2019" ' -o "target/do-agent-linux-amd64" ./cmd/do-agent
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
make: *** [Makefile:79: target/do-agent-linux-amd64] Error 126
==> ERROR: A failure occurred in build().
    Aborting...

Then I did chmod 777 /var/run/docker.sock and it worked.

kureta commented on 2019-04-17 20:45 (UTC)

I'm getting this error when trying to install:

==> Starting build()...                                                           
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  
fatal: No names found, cannot describe anything.                                  

:::::::::::::::: [Wed Apr 17 20:40:55 UTC 2019] target/do-agent-linux-amd64 ::::::
::::::::::                                                                        
docker run --rm -i -u "1000" -e "GOOS=linux" -e "GOARCH=amd64" -e "GOPATH=/gopath"
 -e "GOCACHE=/gopath/src/github.com/digitalocean/do-agent/target/.cache/go" -v "/h
ome/kureta/.cache/yay/do-agent/src/go/src/github.com/digitalocean/do-agent:/gopath
/src/github.com/digitalocean/do-agent" -w "/gopath/src/github.com/digitalocean/do-
agent" golang:1.11.5 go build -ldflags ' -X "main.version=" -X "main.revision=e30b
c2f" -X "main.buildDate=Wed Apr 17 20:40:55 UTC 2019" ' -o "target/do-agent-linux-
amd64" ./cmd/do-agent                                                             
/bin/sh: docker: command not found                                                
make: *** [Makefile:79: target/do-agent-linux-amd64] Error 127                    
==> ERROR: A failure occurred in build().                                         
    Aborting...                                                                   
Error making: do-agent

BloodyAltair commented on 2019-03-29 07:43 (UTC)

@2bluesc What about repo update?

alzeih commented on 2017-12-04 03:43 (UTC)

@z3ntu this sounds like a network or firewall issue?

try to connect to the metadata api directly using (e.g.):

curl http://169.254.169.254/metadata/v1/

alzeih commented on 2017-12-04 03:41 (UTC)

@mawcomw : this seems to be from the Makefile believing it is only ever run from a git clone. https://github.com/digitalocean/do-agent/blob/1171266a8c5de9598a0d4b9e9967aeb5bf7df76b/Makefile#L5-L14

z3ntu commented on 2017-07-08 11:01 (UTC)

I often have problems... ● do-agent.service - DigitalOcean agent Loaded: loaded (/usr/lib/systemd/system/do-agent.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2017-07-08 10:58:58 UTC; 47s ago Process: 484 ExecStart=/usr/bin/do-agent (code=exited, status=1/FAILURE) Main PID: 484 (code=exited, status=1/FAILURE) Jul 08 10:58:58 arch-vps systemd[1]: Started DigitalOcean agent. Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 Do-Agent version dev Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 Do-Agent build master.a1a115f Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 Architecture: amd64 Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 Operating System: linux Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 Unable to read credentials: Get http://169.254.169.254/metadata/v1/auth-token: dial tcp 169.254.169.254:80: connect: network is unreachable Jul 08 10:58:58 arch-vps do-agent[484]: 2017/07/08 10:58:58 do-agent requires a DigitalOcean host Jul 08 10:58:58 arch-vps systemd[1]: do-agent.service: Main process exited, code=exited, status=1/FAILURE Jul 08 10:58:58 arch-vps systemd[1]: do-agent.service: Unit entered failed state. Jul 08 10:58:58 arch-vps systemd[1]: do-agent.service: Failed with result 'exit-code'.

mawcomw commented on 2017-06-04 16:51 (UTC)

i am receiving multiple errors like this: fatal: Not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).