Closed Bug 929141 Opened 11 years ago Closed 11 years ago

Unable to push to bedrock demo1

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgmize, Assigned: jgmize)

Details

I attempted to push origin master to bedrock demo1, and got the following:

URL: http://bedrockadm.private.phx1.mozilla.com/chief/bedrock.demo1/logs/60b4fa45c6f2c115667d0d0c22eaa459cd6e68eb.1382387515

Traceback (most recent call last):
  File "/usr/bin/commander", line 4, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/commander/main.py", line 101, in main
    cmd_mod = import_cmdfile(cmdfile)
  File "/usr/lib/python2.6/site-packages/commander/main.py", line 82, in import_cmdfile
    return imp.load_source('cmdfile', cmdfile)
IOError: [Errno 2] No such file or directory

I believe that the update script on demo1 should be symlinked to bin/update/deploy-demo1.py and I've verified that this file exists in the repo for the version I was attempting to push to demo1.
it looks like at one point a deploy was attempted for a build that did *not* have the deploy scripts in place. as a result, the symlink is no longer found.

 [root@bedrockadm.private.phx1 www-demo1.allizom.org-django]# ls -l update.py
 lrwxrwxrwx 1 root root 34 Oct 15 01:35 update.py -> bedrock/bin/update/deploy-demo1.py

 [root@bedrockadm.private.phx1 www-demo1.allizom.org-django]# ls bedrock/bin/update/deploy-demo1.py
 ls: cannot access bedrock/bin/update/deploy-demo1.py: No such file or directory


i did a `git fetch; git checkout -f origin/master` to get us back on track.
Assignee: server-ops-webops → cturra
OS: Linux → All
Hardware: x86_64 → All
Thanks cturra. I'm still not able to push to demo1, but now it's a different issue, which is that it's trying to run the collectstatic command, which doesn't work in this branch. I'm going to submit a PR that comments this out, which should hopefully allow us to push non-staticfiles enabled branches to demo1.
Assignee: cturra → jmize
I was able to push my branch with the collectstatic command disabled to demo1:

http://bedrockadm.private.phx1.mozilla.com/chief/bedrock.demo1/logs/557d84afd1496e0f90d31a256575407f557e42e1.1382463687

I've submitted the following PR to allow other branches to push to demo1:

https://github.com/mozilla/bedrock/pull/1330
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/557d84afd1496e0f90d31a256575407f557e42e1
Fix Bug 929141 - disable collectstatic on demo1

https://github.com/mozilla/bedrock/commit/34b7d66fcd66e230e80f9e6baf30a980328a1abe
Merge pull request #1330 from mozilla/bug-929141-disable-collectstatic-demo1

Fix Bug 929141 - disable collectstatic on demo1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.