[jbosstools-issues] [JBoss JIRA] (JBIDE-13217) Execute permissions modified in new openshift projects causing action hoooks to not execute

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Fri Nov 30 13:13:21 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738614#comment-12738614 ] 

Andre Dietisheim edited comment on JBIDE-13217 at 11/30/12 1:11 PM:
--------------------------------------------------------------------

talked to danmace in #libra:

{quote}
(07:00:46 PM) danmace: adietish: if the post_ hook is all that fails, I'd expect the app to be running
(07:03:46 PM) danmace: i assume the higher layers are treating it as a start failure due to the post hook failing, i doubt it distinguishes between fatal/nonfatal errors in that regard.
(07:07:16 PM) adietish: danmace: but basically - if I understood right - the AS is restarted, it's just error-reporting that reports ~badly
(07:10:19 PM) jhonce: There i a US for fixing this issue across the system. DYI cartridge was fixed last sprint since the majority of these issues in production were in that cartridge.
{quote}

so it looks like the restart is executed correctly but the error handling is reporting inaccurately.
                
      was (Author: adietish):
    talked to danmace in #libra:

{quote}
(07:00:46 PM) danmace: adietish: if the post_ hook is all that fails, I'd expect the app to be running
(07:03:46 PM) danmace: i assume the higher layers are treating it as a start failure due to the post hook failing, i doubt it distinguishes between fatal/nonfatal errors in that regard.
(07:07:16 PM) adietish: danmace: but basically - if I understood right - the AS is restarted, it's just error-reporting that reports ~badly
{quote}

so it looks like the restart is executed correctly but the error handling is reporting inaccurately.
                  
> Execute permissions modified in new openshift projects causing action hoooks to not execute
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13217
>                 URL: https://issues.jboss.org/browse/JBIDE-13217
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.0.0.CR1
>         Environment: 
>            Reporter: Max Rydahl Andersen
>            Assignee: Andre Dietisheim
>
> 1. EXEC: Create and import new app
> 2. ASSERT: execute permissions on action_hooks get resetted.
> {code}
> diff --git a/.openshift/action_hooks/build b/.openshift/action_hooks/build
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/deploy b/.openshift/action_hooks/deploy
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_deploy b/.openshift/action_hooks/post_deploy
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_start_jbosseap-6.0 b/.openshift/action_hooks/post_start_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/post_stop_jbosseap-6.0 b/.openshift/action_hooks/post_stop_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_build b/.openshift/action_hooks/pre_build
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_build_jbosseap-6.0 b/.openshift/action_hooks/pre_build_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_start_jbosseap-6.0 b/.openshift/action_hooks/pre_start_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/action_hooks/pre_stop_jbosseap-6.0 b/.openshift/action_hooks/pre_stop_jbosseap-6.0
> old mode 100755
> new mode 100644
> diff --git a/.openshift/cron/weekly/chronograph b/.openshift/cron/weekly/chronograph
> {code}
> 3. EXEC: publish the application to OpenShift
> Result:
> {code}
> /usr/libexec/openshift/cartridges/abstract/info/lib/util: line 992: /var/lib/openshift/1e6a743963104f30bdcdebdff460d42b/app-root/runtime/repo/.openshift/action_hooks/post_start_jbossas-7: Permission denied
> Failed to start jbossas-7
> {code}
> ...but the server is started.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list