-
Notifications
You must be signed in to change notification settings - Fork 13
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
Running in to error trying to playback parsed logs #57
Comments
Hi @lkamenkovich, thanks for reporting this. |
Hello, Yuki,
Thank you for your fast response.
Yes, the error happens when I point it to the local-parsed-logs because this is where I have the previously parsed logs stored. If I put some other value in Serverless.yml then it creates an empty folder, but does it playback the logs from local-parsed-logs? The output then looks like this:
Serverless: Stack update finished...
Service Information
service: sr
stage: dev
region: us-west-2
stack: sr-dev
resources: 15
api keys:
None
endpoints:
None
functions:
orchestrator-past: sr-dev-orchestrator-past
producer: sr-dev-producer
consumer-worker: sr-dev-consumer-worker
consumer-master-past: sr-dev-consumer-master-past
layers:
None
Serverless: Removing old service artifacts from S3…
Attached are my Serverless and SR ymls.
Thank you very much for your help.
On May 31, 2019, at 9:56 PM, Yuki Sawa <[email protected]<mailto:[email protected]>> wrote:
Hi @lkamenkovich<https://github.com/lkamenkovich>, thanks for reporting this.
Can you post here the contents of your shadowreader.yml and serverless.yml files? I suspect what is happening is that Serverless is trying (and failing) to create a local-parsed-logs bucket because that is what parsed_data_bucket is set to in serverless.yml.
Most likely if you set parsed_data_bucket to something else, it should deploy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#57?email_source=notifications&email_token=AMHAR7FKXGLKQPJZJ7XCKDLPYHJNTA5CNFSM4HR7LT6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWWWNGI#issuecomment-497903257>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMHAR7ASO4YMBDIR7KRVY5LPYHJNTANCNFSM4HR7LT6A>.
|
I don't think the files were attached successfully. Could you try it again? |
Here are the yml files in text format, could not attach .yml files. So if I set parsed_data_bucket to the local-parsed-log (where the parsed local logs are stored from previous run of local parser.py) it gives me the error: SrDataBucketS3Bucket - local-parsed-logs already exists. |
Thanks for posting the configs. Can you try this? Set parsed_data_bucket to local-parsed-log then comment out this whole section in serverless.yml:
This will prevent Serverless from trying to deploy a bucket with the same name. |
Hello, I have followed the instructions to parse logs from the local file and it successfully parsed the logs to local-parsed-logs S3 bucket. Now when I want to send the traffic from parsed logs I run in to this error: An error occurred: SrDataBucketS3Bucket - local-parsed-logs already exists. How I can run Shadowrunner so it does not do the parse, since it was already done from the local file and just do the playback part? Thank you very much.
The text was updated successfully, but these errors were encountered: