Closed Bug 927639 Opened 12 years ago Closed 12 years ago

Deploy the new configmanized middleware on production

Categories

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

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bburton, Assigned: bburton)

References

Details

Tracking work to enable configman middleware on socorro production
Summary: Deploy the new configmanized middleware on stage → Deploy the new configmanized middleware on production
-> % svn status A etc-socorro/middleware.ini A etc-socorro/sentry.ini M etc-httpd-confd/socorro-mware.mozilla.com.conf bburton@althalus [03:55:50] [~/code/mozilla/sysadmins/puppet/trunk/modules/socorro/files/prod] -> % svn ci -m "config changes for configman middleware on socorro prod, bug 927639" Sending prod/etc-httpd-confd/socorro-mware.mozilla.com.conf Adding prod/etc-socorro/middleware.ini Adding prod/etc-socorro/sentry.ini Transmitting file data ... Committed revision 76611. -> % svn ci -m "config changes for configman middleware on socorro prod, bug 927639" Sending trunk/modules/socorro/manifests/base.pp Transmitting file data . Committed revision 76618. Deployed via Puppet, tested, confirmed working. Shipped!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
QA tests pass. All API endpoints work as expected, individual reports and correlations load. Good work!
Status: RESOLVED → VERIFIED
Discovered during the push of 65, bug 936073, that the Apache config is incorrect, re-opening to fix
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Items to work on 1. Modify Apache config to contain correct WSGI configs to load new middleware 2. Move database configs into middleware.ini because of flow missing, see https://bugzilla.mozilla.org/show_bug.cgi?id=936191 3. open bug to track fixing middleware.ini once flow is in place
We started on the work but realized that staging is not working entirely correctly yet, so this bug is on hold for now Re-opening bug 924976 to track that work
bburton@althalus [11:43:33] [~/code/mozilla/sysadmins/puppet/trunk/modules/socorro/files] -> % svn diff Index: prod/etc-httpd-confd/socorro-mware.mozilla.com.conf =================================================================== --- prod/etc-httpd-confd/socorro-mware.mozilla.com.conf (revision 77924) +++ prod/etc-httpd-confd/socorro-mware.mozilla.com.conf (working copy) @@ -13,8 +13,8 @@ LogLevel info SetEnv DEFAULT_SOCORRO_CONFIG_PATH /etc/socorro - WSGIDaemonProcess bpapi_s user=#10000 threads=10 python-path=/data/socorro/application:/data/socorro/thirdparty:/data/socorro/application/scripts - WSGIScriptAlias /bpapi /data/socorro/application/scripts/webservices.py + WSGIDaemonProcess bpapi_s user=#10000 threads=10 + WSGIScriptAlias /bpapi /data/socorro/application/wsgi/middleware.wsgi <Location /bpapi> Order deny,allow bburton@althalus [11:46:08] [~/code/mozilla/sysadmins/puppet/trunk/modules/socorro/files] -> % svn ci -m "updating socorro prod middleware apache config to use configman middleware, bug 927639" Sending files/prod/etc-httpd-confd/socorro-mware.mozilla.com.conf Transmitting file data . Committed revision 77929.
Reverted because we need a code change for rabbitmq configs
Status: REOPENED → ASSIGNED
-> % svn diff Index: prod/etc-httpd-confd/socorro-mware.mozilla.com.conf =================================================================== --- prod/etc-httpd-confd/socorro-mware.mozilla.com.conf (revision 77929) +++ prod/etc-httpd-confd/socorro-mware.mozilla.com.conf (working copy) @@ -13,8 +13,8 @@ LogLevel info SetEnv DEFAULT_SOCORRO_CONFIG_PATH /etc/socorro - WSGIDaemonProcess bpapi_s user=#10000 threads=10 - WSGIScriptAlias /bpapi /data/socorro/application/wsgi/middleware.wsgi + WSGIDaemonProcess bpapi_s user=#10000 threads=10 python-path=/data/socorro/application:/data/socorro/thirdparty:/data/socorro/application/scripts + WSGIScriptAlias /bpapi /data/socorro/application/scripts/webservices.py <Location /bpapi> Order deny,allow bburton@althalus [12:24:46] [~/code/mozilla/sysadmins/puppet/trunk/modules/socorro/files] -> % svn ci -m "updating socorro prod middleware apache config to use old middleware, bug 927639" Sending files/prod/etc-httpd-confd/socorro-mware.mozilla.com.conf Transmitting file data . Committed revision 77931.
Depends on: 937801
Blocks: 935684
-> % svn diff Index: etc-httpd-confd/socorro-mware.mozilla.com.conf =================================================================== --- etc-httpd-confd/socorro-mware.mozilla.com.conf (revision 78005) +++ etc-httpd-confd/socorro-mware.mozilla.com.conf (working copy) @@ -13,8 +13,8 @@ LogLevel info SetEnv DEFAULT_SOCORRO_CONFIG_PATH /etc/socorro - WSGIDaemonProcess bpapi_s user=#10000 threads=10 python-path=/data/socorro/application:/data/socorro/thirdparty:/data/socorro/application/scripts - WSGIScriptAlias /bpapi /data/socorro/application/scripts/webservices.py + WSGIDaemonProcess bpapi_s user=#10000 threads=10 + WSGIScriptAlias /bpapi /data/socorro/application/wsgi/middleware.wsgi <Location /bpapi> Order deny,allow -> % svn ci -m "configure apache to use configman mware for socorro prod, bug 927639" Sending prod/etc-httpd-confd/socorro-mware.mozilla.com.conf Transmitting file data . Committed revision 78029.
Landed and looks good
Status: ASSIGNED → RESOLVED
Closed: 12 years ago12 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.