Closed Bug 835943 Opened 11 years ago Closed 11 years ago

Rename badgus{-dev}.allizom.org to badges{-dev}.allizom.org

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lorchard, Assigned: nmaul)

References

Details

We want to launch the badg.us site as badges.mozilla.org. Currently, dev and staging are named badgus-dev.allizom.org and badgus.allizom.org, respectively. We'd like to s/badgus/badges/ in advance of launching production (bug 835941)
Blocks: 835934, 835941
I've checked in a bunch of stuff to rename dev...

DNS
apache config
puppet manifest / log dir
rename dir on genericadm
rename badg.us subdir on genericadm
rename dir on netapp_dev mount
fix up update script
fix up badgus/settings/local.py script


Seems to be working for me... let me know if anything seems to be busted. If it's good it should be relatively easy to duplicate this for stage.


NOTE: I did not do anything with the database name or username... that can be done too, I just haven't bothered... not sure how worthwhile it really is.
Flags: needinfo?(lorchard)
I got one error while trying to create a new badge with an image upload:

    OSError: [Errno 2] No such file or directory: '/data/www/badges-dev.allizom.org/badges/media/uploads/badge'

Looks like the uploads directory needs to be moved, too? That, or the old location can be configured in settings_local.py
Flags: needinfo?(lorchard)
:lorchard - looks like the symlink for the `uploads` directory was broken. i have resolved this and uploads should work again.
Assignee: server-ops-webops → cturra
(In reply to Chris Turra [:cturra] from comment #3)
> :lorchard - looks like the symlink for the `uploads` directory was broken. i
> have resolved this and uploads should work again.

That worked, thanks!
This is deployed for stage now too... there is no symlink in stage. There is an Alias in the apache config, but -dev has that too. It looks like the app points directly to the netapp mount location rather than needing a local symlink.
Assignee: cturra → nmaul
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Both dev and stage are all good, as far as I'm concerned.
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.