[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-05-14 Thread Andrew Onischuk (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-25123:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to trunk and branch-2.7

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.4
>
> Attachments: AMBARI-25123.patch, AMBARI-25123.patch
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-05-14 Thread Andrew Onischuk (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-25123:
-
Fix Version/s: 2.7.4

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.4
>
> Attachments: AMBARI-25123.patch, AMBARI-25123.patch
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-02-01 Thread Andrew Onischuk (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-25123:
-
Attachment: AMBARI-25123.patch

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Attachments: AMBARI-25123.patch, AMBARI-25123.patch
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-01-23 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AMBARI-25123:

Labels: pull-request-available  (was: )

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Attachments: AMBARI-25123.patch
>
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-01-23 Thread Andrew Onischuk (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-25123:
-
Status: Patch Available  (was: Open)

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Attachments: AMBARI-25123.patch
>
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-25123) /var/lib/ambari-agent/cache not updating (Ambari 2.7)

2019-01-23 Thread Andrew Onischuk (JIRA)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-25123:
-
Attachment: AMBARI-25123.patch

> /var/lib/ambari-agent/cache not updating (Ambari 2.7)
> -
>
> Key: AMBARI-25123
> URL: https://issues.apache.org/jira/browse/AMBARI-25123
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Attachments: AMBARI-25123.patch
>
>
> As of Ambari 2.7, any changes to /var/lib/ambari-server/resources are not
> pushed to ambari-agents cache (/var/lib/ambari-agent/cache/. This is not an
> issue in Ambari 2.6.
> Also, if you remove files or need to wipe ambari-agent cache(s), the files
> will never repopulate.
> Another example, is custom ambari host_scripts not being pushed to the ambari-
> agents as should be done based on this article, and works in Ambari 2.6:
>  custom-ambari-alerts.html>
> To reproduce:
>   * 1\. deploy hosts with Ambari 2.7.3 and have them connected to an 
> ambari-server
>   * 2\. turn on DEBUG logging in ambari-agent
>   * 3\. go to an ambari-agent. Notice that there is no 
> /var/lib/ambari-agent/cache/host_scripts/.hash but there are .hash files for 
> the stack directories.
>   * 4\. on the ambari-server, add files into 
> /var/lib/ambari-server/resources/host_scripts
>   * 5\. restart ambari-agent and notice that their host_scripts directory is 
> never updated and .hash is never generated
>   * 6\. check ambari-agent.log and notice that other paths were checked (by 
> FileCache.py) but host_scripts were not



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)