Comments (5)
We also encountered this issue. As @huonw mentioned, the error message is completely useless. I'm also very disappointed that it's been almost three months without any solution from New Relic.
I think the decision in v0.9.0 needs to be reversed until New Relic has a valid plan for migrating to the new function name. Also, I will say that adding a suffix to the function seems totally unnecessary. If anything, you should force the other thing to change to get rid of the suffix.
from newrelic-lambda-cli.
Oh. Maybe this is intended behaviour, according to https://github.com/newrelic/newrelic-lambda-cli/releases/tag/v0.9.0.
If that's the case, how do we update our stacks? Are we stuck on 0.8.0 forever? Maybe there's some method to manually update them, or maybe this script could be upgraded to support the migration automatically?
from newrelic-lambda-cli.
Hi @huonw, the new release assumes that one would create a new log-ingestion
function with cli version 0.9 and use it for integration.
newrelic-lambda integrations install \
--nr-account-id <account id> \
--nr-api-key <api key> \
--stackname <newrelic-primary-log-ingestion> # sample name for stackname
The above command would create a new stack with a new log-ingestion-function
with some suffix and using same stackname you can subscribe your lambdas.
newrelic-lambda subscriptions install --function <name or arn> --stackname <newrelic-primary-log-ingestion>
Yes, as per the release notes, this change is not compatible with log-ingestion function created with earlier versions. Also could you please indicate what you want to update? Is it the log-ingestion function? Thanks
from newrelic-lambda-cli.
Thanks for the reply.
We have a stacks we created with newrelic-lambda integrations install --nr-account-id <account id> --nr-api-key <api key>
with an old version (by the dates, maybe with v0.7.2 but I don't know for sure). We want to upgrade those stack to the latest version using newrelic-lambda integrations update ...
, preferably without any service interruption. (We want to pick up the fix for #248 specifically.)
I tried using 0.9.0 and was getting the errors described in the issue and didn't know the cause, until diving into the code. I'm still somewhat unclear on what the recommended upgrade path is: delete the integration stack and recreate it?
(As a stop gap, I've just used 0.8.0 and that's been enough to resolve the immediate problem.)
As a user, it would've helped me to either have:
- the 0.9.0 upgrade work without issues
- if the compatibility break is required, more information about how to upgrade: preferably both of:
- guidance in the 0.9.0 release notes, it currently says it's unsupported but it could also provide a recommendation for how to resolve the issue
- the error message itself reference this (e.g.
✖️ No newrelic-log-ingestion-0ab... function in region 'ap-southeast-2'. If you have an stack created with an old version, follow instructions in <link to release notes> to uopgrade; if not, run 'newrelic-lambda integrations install' to install it.
)
from newrelic-lambda-cli.
We are looking into the ways to make the CLI changes backward compatible. Appreciate the feedback, Thank you!
from newrelic-lambda-cli.
Related Issues (20)
- Add support for Python 3.10 HOT 1
- TypeError: emojize() got an unexpected keyword argument 'use_aliases' HOT 1
- KeyError: 'Runtime' HOT 1
- Runtime go1.x support HOT 4
- Error: Invalid value for New Relic Account ID HOT 7
- 403 Forbidden error in the CloudWatch logs HOT 3
- Layer causes api gateway to return 502 response HOT 1
- `newrelic-lambda layers install` fails with an unexpected error HOT 2
- Document `enable-license-key-secret` option for the integrations update and install commands
- NewRelicLogIngestion stack adds random id to NewRelicLogIngestionFunction name, thus failing subsequent checks HOT 2
- Support Docker runtime Lambdas HOT 1
- Python 3.7 runtime used by ingestion lambdas is going out of support on November 27, 2023 HOT 1
- Unable to resolve module file for NextJS HOT 2
- Unable to find newrelic-log-ingestion lambda due to appended digits HOT 10
- `newrelic-lambda integrations update` docs suggest `--nr-account-id` and `--nr-api-key` are optional, but they must be passed
- testing integration with Jira
- newrelic-lambda integrations update fails to update pre-0.9 stack due to No newrelic-log-ingestion function in region ... error JIRA
- Latest emoji package release breaks new-relic-cli installation HOT 2
- AttributeError Using `--function installed` Flag with `--upgrade` in `newrelic-lambda layers install` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-lambda-cli.