Skip to content
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

Broken elastic beasntalk deploy in latest update #3550

Closed
Amos47 opened this issue Sep 8, 2018 · 15 comments
Closed

Broken elastic beasntalk deploy in latest update #3550

Amos47 opened this issue Sep 8, 2018 · 15 comments
Assignees
Labels
guidance Question that needs advice or information.

Comments

@Amos47
Copy link

Amos47 commented Sep 8, 2018

Problem

I'm not sure, but bootcore appears to be missing a variable that is needed in the eb deploy for my setup.

ERROR: UndefinedModelAttributeError - "serviceId" not defined in the metadata of the model: <botocore.model.ServiceModel object at 0x7f1695587050>

Seems to line up with 42a24e8 / atxwebs#43

@KONDO-Yuuki
Copy link

me too.
we avoid this problem by specifying aws-cli and awseb-cli version.

pip install awscli==1.16.9 awsebcli==3.14.4

@arnaudmm
Copy link

I don't really like being stuck with version but thanks for workaround, hope this get attention and fixed!

@leofernandezg
Copy link

+1 Please fix this issue.

@valtlfelipe
Copy link

+1 Please fix this. Broke all my deploys

@t-bonatti
Copy link

+1 Please fix this

@henrik-io
Copy link

+1 please fix this. Can't deploy from Circle CI.

@justnance justnance self-assigned this Sep 10, 2018
@justnance justnance added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Sep 10, 2018
@henrik-io
Copy link

I've tried the version workaround suggested in this thread, as well as other suggestions from StackOverflow, but I keep running into the same error :-(

@henrik-io
Copy link

BTW, I'm printing out the various versions in my Circle CI build file, and I'm seeing this. Does it look correct?

EB CLI 3.14.5 (Python 2.7.1)
Python 2.7.13
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
aws-cli/1.16.10 Python/2.7.13 Linux/4.4.0-134-generic botocore/1.12.0

@henrik-io
Copy link

This got me around the problem:

      sudo apt update && sudo apt install python-pip
      pip install virtualenv
      pip install awscli==1.16.9
      pip install awsebcli

@justnance
Copy link

@Amos47, @KONDO-Yuuki, @arnaudmm, @leofernandezg, @valtlfelipe, @t-bonatti, @henrik-io

Thank you to everyone for reaching out and updating this issue. This GitHub repo is for bugs and features regarding the AWS CLI. The Elastic Beanstalk CLI is for a different project and team to which there is no public repo. Generally, it is recommended to reach out to AWS Support or the forums for the Elastic Beanstalk CLI.

As such, I did a little digging and found the AWS Elastic Beanstalk CLI version was updated 2 days ago. It appears the new version may have included a fix:

=========
Changelog
=========
-------------------
3.14.5 (2018-09-07)
-------------------
- Restricted `botocore` version to the range `<1.12` to avoid incompatibility with the EBCLI

@justnance justnance added closing-soon This issue will automatically close in 4 days unless further comments are made. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Sep 10, 2018
@rahulrajaram
Copy link

Everyone, EBCLI 3.14.6 has been released. You should be able to use it in the same environment as the latest AWS CLI.

@ahelord
Copy link

ahelord commented Sep 11, 2018

+1 Please fix this issue. only downgrade awscli==1.16.9 and work.

@leofernandezg
Copy link

Verified, fixed in 3.14.6:

Changelog
=========
-------------------
3.14.6 (2018-09-11)
-------------------
- Added `--timeout` argument to the `eb platform create` command
- Added `--timeout` argument to the `eb ssh --setup` command
- Passed `serviceId` as a parameter to the `botocore`-managed service models patched by the EBCLI
- Removed dependency on `tabulate`
- Restricted `urllib3` requirement to range `>1.21,<1.23` to resolve dependency incompatibility between `botocore` and `requests`
- Updated `botocore` requirement to `>=1.12.1,<1.13`

@justnance justnance removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Sep 12, 2018
@lucasvinals
Copy link

Hi all, just for clarification, if I install latest version of both of them, it works?

Thanks!

@rahulrajaram
Copy link

@lucasvinals -- you're correct.

matschaffer added a commit to Safecast/reporting that referenced this issue Nov 9, 2018
@justnance justnance added guidance Question that needs advice or information. service-api This issue is due to a problem in a service API, not the SDK implementation. elasticbeanstalk and removed service-api This issue is due to a problem in a service API, not the SDK implementation. labels Dec 7, 2018
thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this issue Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests