Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ubuntu/xenial64 over bento/ubuntu-16.04; Address #405. #408

Merged
merged 2 commits into from
Nov 15, 2016
Merged

Use ubuntu/xenial64 over bento/ubuntu-16.04; Address #405. #408

merged 2 commits into from
Nov 15, 2016

Conversation

ruebot
Copy link
Member

@ruebot ruebot commented Oct 29, 2016

See: #405

@Islandora-CLAW/committers

Copy link
Contributor

@dannylamb dannylamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So only real difference is now we're the Ubuntu user?

@@ -13,5 +13,5 @@ SOLR_HOME="/var/lib/tomcat7/solr"
BLAZEGRAPH_VERSION=2.1.4
DRUPAL_HOME="/var/www/html/drupal"
DRUPAL_VERSION=8.1.8
FITS_VERSION=1.0.2
FITS_VERSION=1.0.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're doing it again :P

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. My bad. I forgot I did that. I can back that out if you want.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't worry about this one. Next time, @ruebot, next time...

@ruebot
Copy link
Member Author

ruebot commented Oct 29, 2016

@dannylamb that is part of it. The bento one also installed a plugin on the virtual machine as part of the beginning of the built. So, theoretically, this build should be a wee bit faster.

@ruebot
Copy link
Member Author

ruebot commented Oct 29, 2016

@dannylamb ...and see also #181, we had a lot of issues with 16.04 when it was first released on atlas.

@dannylamb
Copy link
Contributor

So whatever the issue was before has been resolved and that's why we're going back to the official Ubuntu images?

@ruebot
Copy link
Member Author

ruebot commented Oct 29, 2016

@dannylamb correct!

@ruebot
Copy link
Member Author

ruebot commented Oct 31, 2016

I'm not sure why it is giving me branch conflicts:

[nruest@gorila:CLAW] (git)-[issue-405]-$ git submodule status
 6cdd0d7843a6fe6af6362c7695edcade3585930a Alpaca (islandora-0.0.2-8-g6cdd0d7)
 c740b684fa827209f241487aa5a2ca43dad01951 Crayfish (0.0.5-1-gc740b68)
 bb5d973e07bdee879cf454f9cf818b1fbfc399d9 chullo (0.0.8-1-gbb5d973)
 3158fc97aa9e333ebd85632c767b37897793d397 islandora (remotes/origin/8.x-1.x

6cdd0d7843a6fe6af6362c7695edcade3585930a Alpaca (islandora-0.0.2-8-g6cdd0d7) is HEAD on Alpaca.

@ruebot
Copy link
Member Author

ruebot commented Nov 2, 2016

@edf @whikloj @dannylamb @mcooper -> just drop your vagrant version in when testing, and let us know if there are any issues. thanks!

@mark-cooper
Copy link
Contributor

Apparently I don't know my own github username: @mark-cooper -- will test also. Aside from a vagrant up / provision is there a defined set of steps to go through to be at least minimally "successful", or are we just confirming that provisioning completes without error?

@ruebot ruebot assigned edf, whikloj and dannylamb and unassigned edf, whikloj and dannylamb Nov 2, 2016
@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

@mark-cooper In this case making sure everything is up and running is probably sufficient.

  • Fedora
  • Blazegraph
  • Solr
  • Loris
  • Microservices
  • Drupal

@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

vagrant up

@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

Looks good, no errors that I saw and I can access the above services.
I also ran

> curl -i -XPOST "http://localhost:8282/islandora/resource"
HTTP/1.1 201 Created
Date: Fri, 04 Nov 2016 18:13:50 GMT
Server: Apache/2.4.18 (Ubuntu)
ETag: W/"bdd28211f4894392c7906752becfc3fbec3b3e61"
Cache-Control: private, must-revalidate
Last-Modified: Fri, 04 Nov 2016 18:13:50 GMT
Location: http://localhost:8080/fcrepo/rest/29/cb/97/ad/29cb97ad-7eba-4d4e-9bda-1556c6bad6d6
Content-Length: 82
X-Powered-By: Islandora Collection REST API v0.0.1
Content-Type: text/plain; charset=UTF-8

http://localhost:8080/fcrepo/rest/29/cb/97/ad/29cb97ad-7eba-4d4e-9bda-1556c6bad6d6

👍

@ruebot
Copy link
Member Author

ruebot commented Nov 4, 2016

@whikloj thanks! what version of vagrant and virtualbox?

@edf
Copy link
Contributor

edf commented Nov 4, 2016

vagrant up completes with errors on Ubuntu 14.04 Desktop with virtualbox 5.0.28 and vagrant 1.8.6

@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

OS X 10.11.5
VirtualBox Version 5.0.16 r105871
Vagrant 1.8.5

@ruebot
Copy link
Member Author

ruebot commented Nov 4, 2016

@edf completes with errors? Can you share the output?

@edf
Copy link
Contributor

edf commented Nov 4, 2016

@ruebot these are minor things. For example, in lamp-server.sh islandora does not exist when chown -R ubuntu.ubuntu islandora https://github.com/edf/CLAW/blob/issue-405/install/scripts/lamp-server.sh#L13

@edf
Copy link
Contributor

edf commented Nov 4, 2016

@ruebot the actual message
==> default: chown:
==> default: cannot access 'islandora'
==> default: : No such file or directory

@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

Hmm yeah that makes sense. It wouldn't exist as we have just installed Apache and haven't started on Islandora. That is probably redundant.

@ruebot
Copy link
Member Author

ruebot commented Nov 4, 2016

@edf ah cool. I see what you mean now. Would you mind pulling those errors together, and creating a new ticket?

@edf
Copy link
Contributor

edf commented Nov 4, 2016

sure!

I am having issues with the install on Windows 7 with the latest virtualbox and vagrant. I will recheck my work to make sure everything is correctly tuned before issuing vagrant up. I am thinking git settings and the like.

on Windows 7, using vagrant < version 1.8.5 failed to complete pretty fast

@whikloj
Copy link
Member

whikloj commented Nov 4, 2016

I've got the same error

==> default: chown: 
==> default: cannot access 'islandora'
==> default: : No such file or directory

@ruebot
Copy link
Member Author

ruebot commented Nov 4, 2016

@edf thanks Ed! ...and thanks for testing Windows. We'll see if we can resolve that once you get the errors in here.

@edf
Copy link
Contributor

edf commented Nov 4, 2016

@ruebot on the Windows 7 computer with Vagrant 1.8.6, the last lines of output

==> default: Installing Drupal Console.
==> default: Changed current directory to /home/ubuntu/.config/composer
==> default: ./composer.json has been created
==> default: Loading composer repositories with package information
==> default: Updating dependencies (including require-dev)
==> default: Failed to decode response: zlib_decode(): data error
==> default: Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
==> default:
==> default: Installation failed, deleting ./composer.json.
==> default:
==> default:   [ErrorException]
==> default:   zlib_decode(): data error
==> default:
==> default: require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
==> default: /tmp/vagrant-shell: line 18: /home/ubuntu/.config/composer/vendor/bin/drupal: No such file or directory
==> default: cp:
==> default: cannot create regular file '/home/vagrant/.console/config.yml'
==> default: : No such file or directory
==> default: /tmp/vagrant-shell: line 31: /home/ubuntu/.config/composer/vendor/bin/drupal: No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong

@mark-cooper
Copy link
Contributor

Linux Mint 18 Sarah
Virtualbox 5.0.24
Vagrant 1.8.1

Provisioning completes and services appear to be up.

> curl -i -XPOST "http://localhost:8282/islandora/resource"
HTTP/1.1 201 Created
Date: Fri, 04 Nov 2016 21:51:10 GMT
Server: Apache/2.4.18 (Ubuntu)
ETag: W/"7a27ab42ad3c9f561a07f094057cb02547f88353"
Cache-Control: private, must-revalidate
Last-Modified: Fri, 04 Nov 2016 21:51:10 GMT
Location: http://localhost:8080/fcrepo/rest/54/5c/00/41/545c0041-612c-4e2f-9add-d9c34c76502e
Content-Length: 82
X-Powered-By: Islandora Collection REST API v0.0.1
Content-Type: text/plain; charset=UTF-8

http://localhost:8080/fcrepo/rest/54/5c/00/41/545c0041-612c-4e2f-9add-d9c34c76502e

@ruebot
Copy link
Member Author

ruebot commented Nov 5, 2016

@edf can you try vagrant 1.8.6?

@mark-cooper thanks!!

@ruebot
Copy link
Member Author

ruebot commented Nov 15, 2016

Are we good to go on this one now?

@edf
Copy link
Contributor

edf commented Nov 15, 2016

Microsoft Windows 7 still creates a fatal error. I suggest moving forward and I'll address the error later if it remains an issue

@ruebot
Copy link
Member Author

ruebot commented Nov 15, 2016

@edf we can document that in a new issue once this merged if that works for you.

@edf
Copy link
Contributor

edf commented Nov 15, 2016

@ruebot works for me

@ruebot
Copy link
Member Author

ruebot commented Nov 15, 2016

@dannylamb @whikloj I think we're good to go here now.

@whikloj
Copy link
Member

whikloj commented Nov 15, 2016

Hmmm....should I try to create fedora resource first?

Can I get a

@whikloj whikloj merged commit 1736557 into Islandora:master Nov 15, 2016
@ruebot ruebot deleted the issue-405 branch November 15, 2016 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants