This message was deleted.
# atlantis-community
s
This message was deleted.
p
yes, that happened to me because I was out of resources, memory or cpu
j
but it's consistently failing through atlantis service, it always passes if I go into the container and git clone, and go into the directory and run
terragrunt plan
myself If the service runs it, it gets an error that some attributes aren't found
p
Atlantis adds overhead to those commands
specially in big plans
j
it has a good amount I thought:
Copy code
resources:
          requests:
            memory: 1024Mi
            cpu: 1024m
          limits:
            memory: 2024Mi
            cpu: 1024m
this plan is about 36 resources
If I move into the atlantis data directory and run the plan even locally from within the container it will fail if I go into /tmp/ and clone the repo and switch to the branch I want and run terragrunt plan it will pass
it's almost like it's an issue in the workflow somehow cloning incorrectly? but it's a very basic workflow, it's just
- run: terragrunt plan -out $PLANFILE
p
that is very strange
the checkout should be ok unless is a huge repo?
we recently added shallow cloning
j
it's not a big a repo, it's like 30 files I'll nuke this pvc and have it recreate though just to test
p
ok
j
Okay, node is back up and just saw it clone again here:
Copy code
atlantis@atlantis-0:/atlantis$ ls
atlantis.db  bin  lost+found  plugin-cache
atlantis@atlantis-0:/atlantis$ ls 
atlantis.db  bin  lost+found  plugin-cache  repos
The issue is almost instant though, its commented already the plan is failed:
Copy code
data.terraform_remote_state.project_base.outputs is object with no attributes
if I go into that atlantis directory,
/atlantis/repos/
and get into the
project_base
directory and run, it tries to create/set the outputs as if they're not already set however If I go into the
/tmp
directory and clone myself and got into
project_base
I see "No changes" and no errors will occur when I got into
project
and run terragrunt, I get an output with 6 resources to create
I can post my workflow file if that will help
p
could it be a problem with access of the state?
are you cloning in temp from the same PR?
j
but then how could I go into /tmp/ and clone/run successfully?
p
same commit hash?
j
yes and same container, i'm just exec'ing into it kubernetes pod
so all vars are the same
p
same branch etc?
j
yes same branch too
p
that makes no sense
enable Debug in atlantis and check if is failing to clone or something
j
good idea, will try that
I don't really see anything here that would indicate that something is missing
p
and this happens to a particular PR?
or all PRs?