Re: [onap-discuss] [OOM] Referencing a job name from another chart

2018-10-17 Thread Borislav Glozman
Hi,

The job aaf-sms-preload should have no Release.Name in its name
Oof should look for that job without Release.Name either. Since there are no 
other jobs with same name in this namespace, this will work.
Usage of Release.Name should be minimal and only when completely necessary 
(like in case of sharing configuration between different charts of same 
component, and even then it is a stretch).

Thanks,
Borislav Glozman
O:+972.9.776.1988
M:+972.52.2835726
[amdocs-a]
Amdocs a Platinum member of 
ONAP<https://www.amdocs.com/open-network/nfv-powered-by-onap>

From: onap-discuss@lists.onap.org  On Behalf Of 
Kiran Kamineni
Sent: Wednesday, October 17, 2018 2:28 AM
To: Ranganathan, Dileep ; 
onap-discuss@lists.onap.org; Michael O'Brien 
Subject: Re: [onap-discuss] [OOM] Referencing a job name from another chart

This is an issue in situations where we are using helm deploy for bringing up 
oof.
Using helm install in the same helm release will not run into this issue.

-- K i r a n

From: Ranganathan, Dileep
Sent: Tuesday, October 16, 2018 3:44 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; 
frank.obr...@amdocs.com<mailto:frank.obr...@amdocs.com>
Cc: Kamineni, Kiran K 
mailto:kiran.k.kamin...@intel.com>>
Subject: [OOM] Referencing a job name from another chart

Hi,

In the deployment.yaml of oof,. we need to wait till the job aaf-sms-preload 
(defined inside aaf-sms subcharts) using job_complete.py. I tried to use {{ 
.Release.Name }}-aaf-sms-preload to get the name but since it is in a different 
project, it is failing. Is there any way we can refer a job defined in another 
chart?

Thanks,
Dileep


“Amdocs’ email platform is based on a third-party, worldwide, cloud-based 
system. Any emails sent to Amdocs will be processed and stored using such 
system and are accessible by third party providers of such system on a limited 
basis. Your sending of emails to Amdocs evidences your consent to the use of 
such system and such processing, storing and access”.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13096): https://lists.onap.org/g/onap-discuss/message/13096
Mute This Topic: https://lists.onap.org/mt/27374675/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [onap-discuss] [OOM] Referencing a job name from another chart

2018-10-16 Thread Kiran Kamineni
This is an issue in situations where we are using helm deploy for bringing up 
oof.
Using helm install in the same helm release will not run into this issue.

-- K i r a n

From: Ranganathan, Dileep
Sent: Tuesday, October 16, 2018 3:44 PM
To: onap-discuss@lists.onap.org; frank.obr...@amdocs.com
Cc: Kamineni, Kiran K 
Subject: [OOM] Referencing a job name from another chart

Hi,

In the deployment.yaml of oof,. we need to wait till the job aaf-sms-preload 
(defined inside aaf-sms subcharts) using job_complete.py. I tried to use {{ 
.Release.Name }}-aaf-sms-preload to get the name but since it is in a different 
project, it is failing. Is there any way we can refer a job defined in another 
chart?

Thanks,
Dileep


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13091): https://lists.onap.org/g/onap-discuss/message/13091
Mute This Topic: https://lists.onap.org/mt/27374675/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[onap-discuss] [OOM] Referencing a job name from another chart

2018-10-16 Thread Dileep Ranganathan
Hi,

In the deployment.yaml of oof,. we need to wait till the job aaf-sms-preload 
(defined inside aaf-sms subcharts) using job_complete.py. I tried to use {{ 
.Release.Name }}-aaf-sms-preload to get the name but since it is in a different 
project, it is failing. Is there any way we can refer a job defined in another 
chart?

Thanks,
Dileep


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13090): https://lists.onap.org/g/onap-discuss/message/13090
Mute This Topic: https://lists.onap.org/mt/27374675/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-