-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fits #129
Fits #129
Conversation
For some reason, some of the config is getting changed or not imported correctly (I'm not sure how) despite the features being enabled in the right order. I'll sort that out soon, but wanted to get this up now. It's got nothing to do with all the nice work @ajstanley is contributing here. |
command: "{{ drush_path }} --root {{ drupal_core_path }} -y en islandora_defaults" | ||
|
||
- name: Import feature | ||
command: "{{ drush_path }} --root {{ drupal_core_path }} -y fim --bundle=islandora islandora_defaults" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you not enabling islandora_defaults and importing it anymore? Did it move somewhere else? When I ran a fresh build, I lost a lot of the settings like having media use on the media types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is being enabled (as a module) @dannylamb added it to the drupal_enabled_modules
ansible variable, but we probably still need this line to import the feature because it is not imported by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I manually ran drush en and it was already enabled, then I ran the drush fim and it fixed the missing things 👍 (and then a FITS media object was made! )
Ah, my understanding was that enabling a feature for the first time
imported it. Guess not! I'll go do that now.
…On Wed, Aug 7, 2019, 14:19 Eli Zoller ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In post-install.yml
<#129 (comment)>
:
> @@ -10,15 +10,9 @@
tasks:
- - name: Install islandora_defaults module
- command: "{{ drush_path }} --root {{ drupal_core_path }} -y en islandora_defaults"
-
- - name: Import feature
- command: "{{ drush_path }} --root {{ drupal_core_path }} -y fim --bundle=islandora islandora_defaults"
Indeed, I manually ran drush en and it was already enabled, then I ran the
drush fim and it fixed the missing things 👍 (and then a FITS media
object was made! )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE6PSHY7ELSJFSH2A56PAMTQDL727ANCNFSM4IKAQLMQ>
.
|
@Natkeeran - I haven't seen this. What happens if you turn the context to create FITS off before ingesting a video? CrayFits has no resources shared with the Crayfish cluster, so there shouldn't be a conflict. |
@ajstanley
|
The no delegate message seems like its an imagemagick thing - what happens when you run |
|
weird. at least imagemagick is working. Anything interesting in the karaf logs? |
Will do some more testing tomorrow and report back here. |
@ajstanley |
The 500 code is a bit alarming. Houdini is definitely there at that
address on port 8000. but I'd expect a 400 error if it was an
authentication error.
…On Tue, Aug 27, 2019 at 3:32 PM Natkeeran ***@***.***> wrote:
@ajstanley <https://github.com/ajstanley>
It does not look like the issue is at the Karaf end.
org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking http://178.128.224.181:8000/houdini/convert with statusCode: 500
at org.apache.camel.component.http4.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:311)[110:org.apache.camel.camel-http4:2.20.4]
at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:206)[110:org.apache.camel.camel-http4:2.20.4]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:76)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)[57:org.apache.camel.camel-core:2.20.4]
at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:112)[58:org.apache.camel.camel-jms:2.20.4]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:721)[76:org.apache.servicemix.bundles.spring-jms:4.2.8.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:681)[76:org.apache.servicemix.bundles.spring-jms:4.2.8.RELEASE_1]
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:651)[76:org.apache.servicemix.bundles.spring-jms:4.2.8.RELEASE_1]
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:313)[76:org.apache.servicemix.bundles.spring-jms:4.2.8.RELEASE_1]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADY2J6KCYV2YVBEXIA5MMTQGVXK7ANCNFSM4IKAQLMQ>
.
--
Alan Stanley
Developer and Training Specialist
Agile Humanities
|
What does the Houdini log say? |
...and read the upscroll Danny... Thanks for posting the logs @Natkeeran |
|
I've got a few other pulls lined up, but I'll give this a test soon. |
Been a while... I'm testing this again after resolving some conflicts. |
I can confirm this is working after having pulled in from upstream. Just be sure to clear out your external roles 😺 |
Tried to build the PR today but I keep hitting this error:
I haven't looked into it but it appears to be an issue with Ubuntu v. CentOS. I'll take a look again on Monday. |
The restart should probably be a |
So, I got this to install on CentOS after some tinkering with ansible-role-fits. For building on CentOS:
After that this appears to work fine. One thing I noticed is that the fields it creates are formatted text but all of the example data values I saw seem better suited to plain-text, if not integer values. Are we using formatted text as a generic catch-all? Also, none of the FITS results drops into Fedora, this is all currently kept in Drupal (including the FITS XML). Is that the default we want? |
Tagging @ajstanley for the above questions. |
@seth-shaw-unlv As for location, we can set the default file storage from within the action to any schema we like - I tend to default to fedora for that which cannot be replaced and Drupal for that which can. Thanks for the centos feedback - I'm flying blind on that one. |
Switched the default storage type to 'string' and the newly created fields are all plain text now. |
Sounds good. I'm fine with merging once we get the ansible roles working on both Ubuntu and CentOS. |
Are you still needing a tester? I'm using Ubuntu vm. |
@elizoller, it works fine for Ubuntu. It is the CentOS installation clean-up we are waiting on. |
I'll have something tomorrow -
…On Wed, Dec 4, 2019 at 4:13 PM Seth Shaw ***@***.***> wrote:
@elizoller <https://github.com/elizoller>, it works fine for Ubuntu. It
is the CentOS installation clean-up we are waiting on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129?email_source=notifications&email_token=AADY2J2WWJDH5LVNCUCCLKTQXAFQPA5CNFSM4IKAQLM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF6LCAI#issuecomment-561819905>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADY2J323PTTIWKWN7XCUPTQXAFQPANCNFSM4IKAQLMQ>
.
--
Alan Stanley
Developer and Training Specialist
Agile Humanities
|
Still ready for testing - I've built both Centos and Ubunto boxes without any trouble. |
@ajstanley, tested this morning with CentOS 7 and it failed with:
Using the Islandora-Devops.fits as defined in requirements.yml as:
|
Ooops. Forgot to push upstream. Should be good now.
…On Thu, Jan 2, 2020 at 12:13 PM Seth Shaw ***@***.***> wrote:
@ajstanley <https://github.com/ajstanley>, tested this morning with
CentOS 7 and it failed with:
TASK [Islandora-Devops.fits : Restart apache] **********************************
Thursday 02 January 2020 08:10:00 -0800 (0:00:00.212) 0:19:15.568 ******
fatal: [default]: FAILED! => {"changed": false, "msg": "Could not find the requested service apache2: host"}
Using the Islandora-Devops.fits as defined in requirements.yml as:
- src: https://github.com/ajstanley/ansible-role-fits
name: Islandora-Devops.fits
version: master
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129?email_source=notifications&email_token=AADY2JZSTHQIPMWL6FPM3PLQ3YHC3A5CNFSM4IKAQLM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6WUAI#issuecomment-570255873>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADY2JZ3RGPBGR2D2Y5N2NLQ3YHC3ANCNFSM4IKAQLMQ>
.
--
Alan Stanley
Developer and Training Specialist
Agile Humanities
|
@dannylamb, we merged the associated ansible-role-fits PR. Can you revert the ansible-role-fits URL in requirements.yml back to the official repo? Note: we can keep the "master" tag as we did not cut a new version of ansible-role-fits, figuring we would do so with the Islandora 8.x-1.1 release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Issue: (link)
What does this Pull Request do?
This PR installs the work for FITS media that @ajstanley has developed for UPEI's RDM project. Now we can test it 🎉 🚀
What's new?
Points to a dev version of the fits role and adds that role back into the tomcat play so it gets brought in when provisioning.
How should this be tested?
Make a node, add an original file to the node. A FITS media derivative should get made, and you can see all the metadata that gets extracted from it.
Interested parties
@Islandora-Devops/committers @ajstanley @elizoller