We need to get servers setup for D7 upgrade.

  • DNS (nnewton)
  • vhost files
  • vhost configuration
  • BZR repos
  • BZR checkout
  • DBs (nnewton)
  • Solr (nnewton)
  • verify jobs
  • deploy jobs
  • snapshot to site jobs
  • files directories
CommentFileSizeAuthor
#12 duplicates.txt12.05 KBdrumm

Comments

drumm’s picture

We need a round of staging sites for Drupal.org on Drupal 7, including as many supporting services as possible for Solr, Git, etc. Like the staging sites on scratchvm, these should be automated to deploy anything in BZR and do daily upgrades from snapshots of live sites. This will give us a good view of what would happen if we upgraded today.

The vhosts can probably fit on scratchvm as soon as we get files moved off, if we want them there. Everything else needs a bit of planning to fit in, especially for disk space.

Only one comprehensive set of staging sites needs to exist in the end, either this or *staging.devdrupal.org will eventually go.

webchick’s picture

Could we get a status update on this issue? The sprint starts in 2 weeks, and this issue has been open for about 3 now. Curious where things are at.

drumm’s picture

Updated the issue summary, including completed work.

webchick’s picture

Issue tags: +infrastructure, +drupal.org D7

Tagging.

dww’s picture

cool, great to see progress on this in advance of the sprint. this will help a lot.

minor nit: what's the point of an "infrastructure" issue tag in this issue queue? slightly confused by that...

thanks,
-derek

dww’s picture

Issue summary: View changes

todo list

drumm’s picture

Issue summary: View changes

forgot vhost conf

webchick’s picture

The point of that tag is so we can do lists like contains both 'Drupal.org D7' AND 'infrastructure', and contains both 'Drupal.org D7' AND 'cleanup', to help organize tasks for teams, regardless in what queue it resides in. While probably almost all "Drupal.org D7, infrastructure" issues will reside in the infrastructure queue, not all "Drupal.org D7" issues in the infrastructure queue will necessarily be part of the infrastructure team's responsibilities.

dww’s picture

Okay, fair enough. I could argue your last point, but it's not important. ;) I can play by whatever rules y'all prefer. Tags++, regardless. ;)

Cheers,
-Derek

dww’s picture

Issue summary: View changes

vhosts done

drumm’s picture

Issue summary: View changes

Adding Solr.

drumm’s picture

We have a DB server now and things are starting to work. However, the core upgrade to Drupal.org takes 14 hours, and then breaks.

webchick’s picture

LOL. Well that's no good. :)

drumm’s picture

I filed #1536160: Make update_fix_d7_block_deltas faster and removed the old block variables to reduce the time needed to run an upgrade.

drumm’s picture

StatusFileSize
new12.05 KB

In Drupal 7, the uri column in the new file_managed table needs to be unique. The data is derived from filepath in Drupal 6's files table, which doesn't have this constraint. Drupal.org has 222 duplicates found with SELECT count(DISTINCT f.fid) c, f.filepath, group_concat(u.nid) FROM files f LEFT JOIN upload u ON u.fid = f.fid GROUP BY cast(f.filepath AS BINARY) HAVING c > 1; Either Drupal 7 should not have the unique constraint and/or we need to clean up our data.l

drumm’s picture

The files are a mess. For example, 484 files have filepath "files/issues/". An example is #629528: Error. The file actually does exist at http://drupal.org/files/issues/Error_3.JPG. There really isn't a good way to clean this up. Doing it well would mean matching up all the files, maybe using file size to help.

We are just going to have to remove the bad data and work on cleaning it up on the live site in the meantime. #1542666: Clean up duplicate files.filepaths

drumm’s picture

drumm’s picture

Success! update.php has completed once on http://7.devdrupal.org/. (That page WSODs because the home page code isn't D7 yet.)

drumm’s picture

Status: Active » Fixed
senpai’s picture

Priority: Critical » Minor
Status: Fixed » Needs work

Downgrading the priority and re-assigning to @nnewton for followup of any needed configuration or settings that still might need to be touched.

senpai’s picture

Assigned: drumm » nnewton
nnewton’s picture

Status: Needs work » Closed (cannot reproduce)

Closing this.

nnewton’s picture

Issue summary: View changes

A couple things got done.

Component: Webserver » Servers

  • drumm committed f4f1e60 on isntall-00
    [#1481026] special case for 7.devdrupal.org snapshot name.
    
    
  • drumm committed a6cdbd8 on isntall-00
    [#1481026] Allow overriding of db_host.
    
    
  • drumm committed 1b82f61 on isntall-00
    [#1481026] Allow a different sanitization SQL from DB name.
    
    
  • drumm committed 8c2059c on isntall-00
    [#1481026] New Drupal7 snapshot.
    
    
  • drumm committed 4b5ca1b on isntall-00
    [#1481026] Remove special case for drupal.org
    
    
  • drumm committed 2ed5dbb on isntall-00
    [#1481026] D7b table renames
    
    
  • drumm committed f9a563a on isntall-00
    [#1481026] D7 table rename
    
    
  • drumm committed d396162 on isntall-00
    [#1481026] Extra preparation for D7: disable apachesolr
    
    
  • drumm committed 8ebcac4 on isntall-00
    [#1481026] Drupal 7 DB reduction.