https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422015-12-15T19:31:03ZArvadosArvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=335362015-12-15T19:31:03ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> set to <i>Arvados Future Sprints</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=335372015-12-15T19:32:19ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/33537/diff?detail_id=32933">diff</a>)</li><li><strong>Target version</strong> deleted (<del><i>Arvados Future Sprints</i></del>)</li><li><strong>Story points</strong> set to <i>0.5</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=335382015-12-15T19:32:59ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> set to <i>Arvados Future Sprints</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336012015-12-16T19:52:16ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> changed from <i>Arvados Future Sprints</i> to <i>2016-01-06 sprint</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336032015-12-16T19:59:20ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Subject</strong> changed from <i>[API] [Workbench] /var/www/arvados-foo/config includes symlinks to /etc/arvados/foo as appropriate</i> to <i>[Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriate</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/33603/diff?detail_id=33013">diff</a>)</li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336042015-12-16T20:01:07ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/33604/diff?detail_id=33014">diff</a>)</li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336102015-12-16T20:29:50ZTom Cleggtom@curii.com
<ul><li><strong>Category</strong> set to <i>Deployment</i></li><li><strong>Assigned To</strong> set to <i>Tom Clegg</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336622015-12-17T19:29:50ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> changed from <i>2016-01-06 sprint</i> to <i>Arvados Future Sprints</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=336642015-12-17T19:30:15ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Assigned To</strong> deleted (<del><i>Tom Clegg</i></del>)</li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338072015-12-31T20:57:23ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assigned To</strong> set to <i>Brett Smith</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338102016-01-02T16:33:38ZBrett Smithbrett.smith@curii.com
<ul></ul><p>8014-rails-postinst-scripts-wip is up for review. It does both this and <a class="issue tracker-6 status-3 priority-4 priority-default closed" title="Idea: [Deployment] arvados-*-upgrade.sh is a postinst script (Resolved)" href="https://dev.arvados.org/issues/8059">#8059</a>, and it does them both by DRYing up all the Rails package infrastructure into a single stack. Now run-library.sh has a handle_rails_package function, and it's used to build the API server, Workbench, and SSO server, with just small hooks to account for the differences between them.</p>
<p>First the branch makes several small bugfixes and cleanups to the SSO package postinst to make it ready to handle the other packages. This is a long series of small commits explaining each change.</p>
<p>Then there's the big unifying commit to bring all the Rails package-building infrastructure together. If you run <code>git show -M</code> on that last commit, you can see the changes in the postinst script that mostly just serve to unify it for all packages, compared to the last version of the SSO postinst script.</p>
<p>handle_rails_package builds postinst/prerm/postrm scripts for all these packages on the fly. See jenkins/rails-package-scripts/README.md for details.</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338112016-01-02T16:34:27ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> changed from <i>Arvados Future Sprints</i> to <i>2016-01-06 sprint</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338122016-01-02T20:12:19ZBrett Smithbrett.smith@curii.com
<ul></ul><p>Also: for all three packages, I was able to install the modified package, fill in the necessary .yml files, and reconfigure the package and see it finish all the postinst steps. So there's been at least that much testing.</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338442016-01-04T20:25:23ZNico César
<ul></ul><p>I compiled the branch and copy the arvados-api-server to c97qk ... it seems like a successful install .. it did even a database schema change:</p>
<pre>
c97qk:~# dpkg -i arvados-api-server_0.1.20160104193447.3344f5b-3_amd64.deb
(Reading database ... 69923 files and directories currently installed.)
Preparing to unpack arvados-api-server_0.1.20160104193447.3344f5b-3_amd64.deb ...
Unpacking arvados-api-server (0.1.20160104193447.3344f5b-3) over (0.1.20151223192841.378e6e0-1) ...
Setting up arvados-api-server (0.1.20160104193447.3344f5b-3) ...
Assumption: nginx is configured to serve Rails from
/var/www/arvados-api/current
Assumption: nginx and passenger run as www-data:www-data
Creating symlinks to configuration in /etc/arvados/api ...... done.
Running bundle install... done.
Ensuring directory and file permissions ...... done.
Running db:migrate...== AddExitCodeToContainers: migrating ========================================
-- add_column(:containers, :exit_code, :integer)
-> 0.0009s
== AddExitCodeToContainers: migrated (0.0010s) ===============================
done.
Checking application.yml for completeness...AppVersion (discovered) 378e6e0-1
action_controller.perform_caching true
admin_notifier_email_from support@curoverse.com
arvados_docsite https://doc.arvados.org
(..)
sso_app_id c97qk.arvadosapi.com
sso_app_secret *********
sso_insecure false
sso_provider_url https://auth.curoverse.com
user_notifier_email_from support@curoverse.com
user_profile_notification_address false
uuid_prefix c97qk
websocket_address wss://ws.c97qk.arvadosapi.com/websocket
workbench_address https://workbench.c97qk.arvadosapi.com
done.
Precompiling assets... done.
* Restarting nginx nginx [ OK ]
c97qk:~# echo $?
0
</pre> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=338942016-01-05T18:37:35ZNico César
<ul></ul><p>I did a mistake and added some comments in the review ticket see <a class="external" href="https://dev.arvados.org/issues/8036#note-12">https://dev.arvados.org/issues/8036#note-12</a></p>
<p>but this LGTM. lets merge</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=339642016-01-06T16:24:29ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> changed from <i>2016-01-06 sprint</i> to <i>2016-01-20 Sprint</i></li></ul> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=341582016-01-11T17:25:05ZPeter Amstutzpeter.amstutz@curii.com
<ul></ul><p><code>_install_rails_reconfigure.liquid</code> is missing</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=341652016-01-11T19:34:02ZBrett Smithbrett.smith@curii.com
<ul></ul><p>Peter Amstutz wrote:</p>
<blockquote>
<p><code>_install_rails_reconfigure.liquid</code> is missing</p>
</blockquote>
<p>Sorry about that. Fixed in <a class="changeset" title="Fixup: Add missing file." href="https://dev.arvados.org/projects/arvados/repository/arvados/revisions/78ae7f174a7817b7a94d23c9fd28ca4f24239978">78ae7f1</a>.</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=341762016-01-11T21:16:36ZPeter Amstutzpeter.amstutz@curii.com
<ul></ul><p>Brett Smith wrote:</p>
<blockquote>
<p>Peter Amstutz wrote:</p>
<blockquote>
<p><code>_install_rails_reconfigure.liquid</code> is missing</p>
</blockquote>
<p>Sorry about that. Fixed in <a class="changeset" title="Fixup: Add missing file." href="https://dev.arvados.org/projects/arvados/repository/arvados/revisions/78ae7f174a7817b7a94d23c9fd28ca4f24239978">78ae7f1</a>.</p>
</blockquote>
<p>With that fix, looks good to me.</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=342142016-01-12T14:44:33ZBrett Smithbrett.smith@curii.com
<ul></ul><p>Everything built and deployed successfully last night, so I'm going to call this resolved. I imagine we'll find bugs in the new stuff but those can be new issues.</p> Arvados - Idea #8014: [Deployment] /var/www/arvados-RAILSPKG/config includes symlinks to /etc/arvados/RAILSPKG as appropriatehttps://dev.arvados.org/issues/8014?journal_id=342152016-01-12T14:45:07ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul>