creating a new puppet environment fails in several interesting ways

RESOLVED FIXED

Status

Infrastructure & Operations
RelOps: Puppet
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: arr, Assigned: dustin)

Tracking

Details

(Whiteboard: [time=:30])

(Reporter)

Description

3 years ago
I had removed my puppet environment on releng-puppet2.srv.releng.scl3.mozilla.com a while back so I could start fresh.  I ran into a few problems trying to set it up again.

1) If you search for puppet environment on wikimo, apparently it sends you to the wrong (outdated) page.  Can we delete that and update the documentation to be accurate and findable via search (not sure how to accomplish the latter.  Maybe we have a link from mana, which I find infinitely more discoverable).

2) You can't clone the repo into /etc/puppet/environments/$USER because there's already an environment.conf file there (not an empty directory). I got around that by moving it to /tmp and then cloning.

3) When I attempted to actually run puppet agent, I got an error code 255 from /etc/puppet/get_rev.sh which aborted the run.  I ran the script by hand and found that, unlike with other people, it didn't give me a revision number. I ran "/usr/local/bin/git describe --all --always --dirty" by hand and noticed it was giving me the error: "abort: requirement 'dotencode' not supported!" Googling that brought me to http://mercurial.selenic.com/wiki/RequiresFile and I tried blowing everything and recloning with "hg --config format.dotencode=0 clone --pull" After that, I was finally able to run the agent to test my changes.
(Assignee)

Updated

3 years ago
Assignee: relops → dustin
(Assignee)

Updated

3 years ago
Whiteboard: [time=1:00]
(Assignee)

Comment 1

3 years ago
(In reply to Amy Rich [:arich] [:arr] from comment #0)
> 1) If you search for puppet environment on wikimo, apparently it sends you
> to the wrong (outdated) page.  Can we delete that and update the
> documentation to be accurate and findable via search (not sure how to
> accomplish the latter.  Maybe we have a link from mana, which I find
> infinitely more discoverable).

Searching for "puppet" will get you all manner of stuff.  "PuppetAgain" is the thing to search for.  I marked that page as deprecated, though.
(Assignee)

Comment 2

3 years ago
I updated the docs for the rest:

https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain/HowTo/Set_up_a_user_environment#Common
(Assignee)

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Assignee)

Updated

3 years ago
Whiteboard: [time=1:00] → [time=:30]
You need to log in before you can comment on or make changes to this bug.