커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
myweb 생성 오류
undefined주차
북마크
신*서
댓글
7
추천
0
조회수
49
조회수
49
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


어제부터 계속 시도했는데, 안돼요. 질문도 남겨봤지만 딱히 명확한 답변은 없어서 다시 질문 올려봐요

  1. 질문올렸을 때, 파이썬 버전 쪽 문제라는 답변을 받았습니다. 파이선 버전은 어떻게 선택하는거죠? 3.8.6('venv:venv) 이게 파이선 버전 아닌가요? 제가 잘 못 알고 있는것이라면 버전 수정 방법 알려주세요.
  2. application.py 를 열고나서 강사님의 말씀대로 application = app = Flask(__name__)를 복붙했습니다. 근데 강의 화면에서 application은 파란색인데 저는 아니에요. 혹시 색깔이 다른 이유가 있을까요?
  3. 계속 시도하다보니 eb init 중에서 아이디랑 키 입력은 생략되던데, 액세스 삭제하고 다시 설치했을때만 물어보더라구요. 원래 한번만 묻고 그 이후엔 생략하는 건가요?


터미널에서 밑에 오류 코드는 다음과 같습니다.




$ eb init


Select a default region

1) us-east-1 : US East (N. Virginia)

2) us-west-1 : US West (N. California)

3) us-west-2 : US West (Oregon)

4) eu-west-1 : EU (Ireland)

5) eu-central-1 : EU (Frankfurt)

6) ap-south-1 : Asia Pacific (Mumbai)

7) ap-southeast-1 : Asia Pacific (Singapore)

8) ap-southeast-2 : Asia Pacific (Sydney)

9) ap-northeast-1 : Asia Pacific (Tokyo)

10) ap-northeast-2 : Asia Pacific (Seoul)

11) sa-east-1 : South America (Sao Paulo)

12) cn-north-1 : China (Beijing)

13) cn-northwest-1 : China (Ningxia)

14) us-east-2 : US East (Ohio)

15) ca-central-1 : Canada (Central)

16) eu-west-2 : EU (London)

17) eu-west-3 : EU (Paris)

18) eu-north-1 : EU (Stockholm)

19) eu-south-1 : EU (Milano)

20) ap-east-1 : Asia Pacific (Hong Kong)

21) me-south-1 : Middle East (Bahrain)

22) af-south-1 : Africa (Cape Town)

(default is 3): 10



Enter Application Name

(default is "deploy"):

Application deploy has been created.


It appears you are using Python. Is this correct?

(Y/n): Y

Select a platform branch.

1) Python 3.8 running on 64bit Amazon Linux 2

2) Python 3.7 running on 64bit Amazon Linux 2

(default is 1):


Cannot setup CodeCommit because there is no Source Control setup, continuing with initialization

Do you want to set up SSH for your instances?

(Y/n): Y


Select a keypair.

1) aws-eb

2) aws-eb2

3) aws-eb3

4) aws-eb4

5) aws-eb5

6) aws-eb6

7) aws-eb7

8) [ Create new KeyPair ]

(default is 7): 8



Type a keypair name.

(Default is aws-eb8):

Generating public/private rsa key pair.

Enter passphrase (empty for no passphrase): 

Enter same passphrase again: 

Your identification has been saved in C:\Users\yss17\.ssh\aws-eb8

Your public key has been saved in C:\Users\yss17\.ssh\aws-eb8.pub

The key fingerprint is:

SHA256:iuRH4Uol7QMN8Dvlun+bNtX+e/tPpWYWe2dKKwBhnN0 aws-eb8

The key's randomart image is:

+---[RSA 3072]----+

| ... . o .   |

|  . + = . E  |

|  + *. .    |

|   X ..    |

|  = * S. . . .|

|  + * o o . +.|

|  = o . o B =|

|   o +. o= *o|

|  ...ooo  o=+*|

+----[SHA256]-----+

WARNING: Uploaded SSH public key for "aws-eb8" into EC2 for region ap-northeast-2.

(venv) 

yss17@DESKTOP-ADHQ5F3 MINGW64 ~/Desktop/스파르타 웹개발/projects/05.fan/deploy   

$ eb create myweb

Creating application version archive "app-230121_123001143057".

Uploading deploy/app-230121_123001143057.zip to S3. This may take a while.

Upload Complete.

Environment details for: myweb

 Application name: deploy

 Region: ap-northeast-2

 Deployed Version: app-230121_123001143057

 Environment ID: e-gxxb7nddh2

 Platform: arn:aws:elasticbeanstalk:ap-northeast-2::platform/Python 3.8 running on 64bit Amazon Linux 2/3.4.3

 Tier: WebServer-Standard-1.0

 CNAME: UNKNOWN

 Updated: 2023-01-21 03:30:05.247000+00:00

Printing Status:

2023-01-21 03:30:03  INFO  createEnvironment is starting.

2023-01-21 03:30:05  INFO  Using elasticbeanstalk-ap-northeast-2-569489387446 as Amazon S3 storage bucket for environment data.

2023-01-21 03:30:26  INFO  Created security group named: sg-0e0fb43bf6c4ed24b

2023-01-21 03:30:41  INFO  Created load balancer named: awseb-e-g-AWSEBLoa-1QHT7X7WPK8O2

2023-01-21 03:30:41  INFO  Created security group named: awseb-e-gxxb7nddh2-stack-AWSEBSecurityGroup-PG7L99QUY85Q

2023-01-21 03:30:41  INFO  Created Auto Scaling launch configuration named: awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingLaunchConfiguration-rUbbJ8U6nvDN

2023-01-21 03:31:46  INFO  Created Auto Scaling group named: awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingGroup-14X2FJD2WUQEB

2023-01-21 03:31:46  INFO  Waiting for EC2 instances to launch. This may take a few minutes.

2023-01-21 03:31:46  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:569489387446:scalingPolicy:1a741fcf-ea9f-42dc-8d11-09939f66f0ea:autoScalingGroupName/awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingGroup-14X2FJD2WUQEB:policyName/awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingScaleDownPolicy-UrhgxqRMxxMF

2023-01-21 03:31:46  INFO  Created Auto Scaling group policy named: arn:aws:autoscaling:ap-northeast-2:569489387446:scalingPolicy:adfbb840-a138-421d-be27-e8f800c5616f:autoScalingGroupName/awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingGroup-14X2FJD2WUQEB:policyName/awseb-e-gxxb7nddh2-stack-AWSEBAutoScalingScaleUpPolicy-H1wAhafpZSyc 

2023-01-21 03:32:01  INFO  Created CloudWatch alarm named: awseb-e-gxxb7nddh2-stack-AWSEBCloudwatchAlarmLow-1DBVRWRVTBO6S

2023-01-21 03:32:01  INFO  Created CloudWatch alarm named: awseb-e-gxxb7nddh2-stack-AWSEBCloudwatchAlarmHigh-1R6783QOB4O1G

2023-01-21 03:32:11  ERROR  Instance deployment failed. For details, see 'eb-engine.log'.

2023-01-21 03:32:11  ERROR  Instance deployment failed to install application dependencies. The deployment failed.

2023-01-21 03:32:12  ERROR  [Instance: i-063ee15850802b169] Command failed on instance. Return code: 1 Output: Engine execution has encountered an error..

2023-01-21 03:32:12  INFO  Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].

2023-01-21 03:33:15  ERROR  Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.


ERROR: ServiceError - Create environment operation is complete, but with errors. For more information, see troubleshooting documentation.

(venv) 

yss17@DESKTOP-ADHQ5F3 MINGW64 ~/Desktop/스파르타 웹개발/projects/05.fan/deploy   

$






















eb-engine.log는 다음과 같습니다.

2023/01/21 03:31:20.968971 [INFO] Starting...

2023/01/21 03:31:20.969015 [INFO] Starting EBPlatform-PlatformEngine

2023/01/21 03:31:20.969082 [INFO] reading event message file

2023/01/21 03:31:20.969296 [INFO] Engine received EB command userdata-exec


2023/01/21 03:31:21.028603 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/21 03:31:21.751103 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/21 03:31:22.577191 [INFO] This is a workflow controlled instance.

2023/01/21 03:31:22.577276 [INFO] Engine command: (env-launch)


2023/01/21 03:31:22.583823 [INFO] Executing instruction: SyncClock

2023/01/21 03:31:22.583832 [INFO] Starting SyncClock

2023/01/21 03:31:22.583846 [INFO] Running command /bin/sh -c /usr/bin/chronyc tracking

2023/01/21 03:31:22.624177 [INFO] Reference ID  : A9FEA97B (169.254.169.123)

Stratum     : 4

Ref time (UTC) : Sat Jan 21 03:31:21 2023

System time   : 0.248245522 seconds slow of NTP time

Last offset   : -0.372621626 seconds

RMS offset   : 0.372621626 seconds

Frequency    : 3.374 ppm slow

Residual freq  : -3.005 ppm

Skew      : 1.176 ppm

Root delay   : 0.000505763 seconds

Root dispersion : 0.000306794 seconds

Update interval : 0.0 seconds

Leap status   : Normal


2023/01/21 03:31:22.624211 [INFO] Running command /bin/sh -c /usr/bin/chronyc -a makestep

2023/01/21 03:31:22.880362 [INFO] 200 OK


2023/01/21 03:31:22.880778 [INFO] Skipping Configure OS

2023/01/21 03:31:22.880789 [INFO] Skipping LockGUID

2023/01/21 03:31:22.880795 [INFO] Skipping GenerateEBBanner

2023/01/21 03:31:22.880802 [INFO] Skipping Install Process Manager

2023/01/21 03:31:22.880808 [INFO] Skipping install proxy

2023/01/21 03:31:22.880824 [INFO] Skipping installhealthd

2023/01/21 03:31:22.880830 [INFO] Skipping Install Log Streaming Manager

2023/01/21 03:31:22.880836 [INFO] Skipping install X-Ray

2023/01/21 03:31:22.880842 [INFO] Skipping install Third Party License

2023/01/21 03:31:22.880848 [INFO] Skipping install httpd

2023/01/21 03:31:22.880856 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:22.880874 [INFO] Executing instruction: installSqsd

2023/01/21 03:31:22.880879 [INFO] This is a web server environment instance, skip install sqsd daemon ...

2023/01/21 03:31:22.880886 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:22.880890 [INFO] Executing instruction: bootstraphealthd

2023/01/21 03:31:22.880895 [INFO] this is an enhanced health env ...

2023/01/21 03:31:22.880912 [INFO] bootstrap healthd....

2023/01/21 03:31:22.880927 [INFO] Running command /bin/sh -c /usr/bin/id -u healthd || /usr/sbin/useradd --user-group healthd -s /sbin/nologin --create-home

2023/01/21 03:31:23.144136 [INFO] /usr/bin/id: healthd: no such user


2023/01/21 03:31:23.144750 [INFO] bootstrap healthd....

2023/01/21 03:31:23.144769 [INFO] Running command /bin/sh -c /usr/bin/id -u healthd || /usr/sbin/useradd --user-group healthd -s /sbin/nologin --create-home

2023/01/21 03:31:23.161307 [INFO] 1001


2023/01/21 03:31:23.161534 [INFO] configure bundle log for healthd...

2023/01/21 03:31:23.161584 [INFO] Executing instruction: GetSetupProxyLog

2023/01/21 03:31:23.161656 [INFO] Skipping Install yum packages

2023/01/21 03:31:23.161664 [INFO] Skipping Install Python Modules

2023/01/21 03:31:23.161670 [INFO] Skipping MarkBaked

2023/01/21 03:31:23.161678 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.161681 [INFO] Executing instruction: TuneSystemSettings

2023/01/21 03:31:23.161686 [INFO] Starting TuneSystemSettings

2023/01/21 03:31:23.161692 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.162934 [INFO] Executing instruction: GetSetupLogRotate

2023/01/21 03:31:23.162940 [INFO] Initialize LogRotate files and directories

2023/01/21 03:31:23.269995 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.270008 [INFO] Executing instruction: BootstrapCFNHup

2023/01/21 03:31:23.270012 [INFO] Bootstrap cfn-hup

2023/01/21 03:31:23.284858 [INFO] Copying file /opt/elasticbeanstalk/config/private/aws-eb-command-handler.conf to /etc/cfn/hooks.d/aws-eb-command-handler.conf

2023/01/21 03:31:23.301750 [INFO] Executing instruction: StartCFNHup

2023/01/21 03:31:23.301762 [INFO] Start cfn-hup

2023/01/21 03:31:23.301780 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/21 03:31:23.305808 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/21 03:31:23.317535 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service

2023/01/21 03:31:23.360699 [INFO] Running command /bin/sh -c systemctl daemon-reload

2023/01/21 03:31:23.494204 [INFO] Running command /bin/sh -c systemctl reset-failed

2023/01/21 03:31:23.498781 [INFO] Running command /bin/sh -c systemctl is-enabled aws-eb.target

2023/01/21 03:31:23.508057 [INFO] Running command /bin/sh -c systemctl enable aws-eb.target

2023/01/21 03:31:23.659102 [INFO] Running command /bin/sh -c systemctl start aws-eb.target

2023/01/21 03:31:23.663996 [INFO] Running command /bin/sh -c systemctl enable cfn-hup.service

2023/01/21 03:31:23.812969 [INFO] Created symlink from /etc/systemd/system/multi-user.target.wants/cfn-hup.service to /etc/systemd/system/cfn-hup.service.


2023/01/21 03:31:23.812998 [INFO] Running command /bin/sh -c systemctl show -p PartOf cfn-hup.service

2023/01/21 03:31:23.825273 [INFO] Running command /bin/sh -c systemctl is-active cfn-hup.service

2023/01/21 03:31:23.836044 [INFO] Running command /bin/sh -c systemctl start cfn-hup.service

2023/01/21 03:31:23.909471 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.909486 [INFO] Executing instruction: SetupPublishLogCronjob

2023/01/21 03:31:23.909491 [INFO] Setup publish logs cron job...

2023/01/21 03:31:23.909497 [INFO] Copying file /opt/elasticbeanstalk/config/private/logtasks/cron/publishlogs to /etc/cron.d/publishlogs

2023/01/21 03:31:23.910847 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.910856 [INFO] Executing instruction: MarkBootstrapped

2023/01/21 03:31:23.910860 [INFO] Starting MarkBootstrapped

2023/01/21 03:31:23.910865 [INFO] Instance has NOT been bootstrapped

2023/01/21 03:31:23.910917 [INFO] Marked instance as Bootstrapped

2023/01/21 03:31:23.910922 [INFO] Executing instruction: Save CFN Stack Info

2023/01/21 03:31:23.910962 [INFO] Starting SwitchCFNStack

2023/01/21 03:31:23.910969 [INFO] Executing cleanup logic

2023/01/21 03:31:23.910979 [INFO] Platform Engine finished execution on command: env-launch


2023/01/21 03:32:03.910701 [INFO] Starting...

2023/01/21 03:32:03.910743 [INFO] Starting EBPlatform-PlatformEngine

2023/01/21 03:32:03.910761 [INFO] reading event message file

2023/01/21 03:32:03.910902 [INFO] Engine received EB command cfn-hup-exec


2023/01/21 03:32:03.981461 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/21 03:32:04.320973 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/21 03:32:04.653285 [INFO] checking whether command app-deploy is applicable to this instance...

2023/01/21 03:32:04.653300 [INFO] this command is applicable to the instance, thus instance should execute command

2023/01/21 03:32:04.653304 [INFO] Engine command: (app-deploy)


2023/01/21 03:32:04.653311 [INFO] Downloading EB Application...

2023/01/21 03:32:04.653314 [INFO] Region: ap-northeast-2

2023/01/21 03:32:04.653318 [INFO] envID: e-gxxb7nddh2

2023/01/21 03:32:04.653322 [INFO] envBucket: elasticbeanstalk-ap-northeast-2-569489387446

2023/01/21 03:32:04.653326 [INFO] Using manifest file name from command request

2023/01/21 03:32:04.653337 [INFO] Unable to get version manifest file.

2023/01/21 03:32:04.653346 [INFO] Downloading latest manifest available.

2023/01/21 03:32:04.653350 [INFO] Download latest app version manifest

2023/01/21 03:32:04.653430 [INFO] resources/environments/e-gxxb7nddh2/_runtime/versions/manifest

2023/01/21 03:32:04.700946 [INFO] latestManifest key *: resources/environments/e-gxxb7nddh2/_runtime/versions/manifest_1674271809160


2023/01/21 03:32:04.701154 [INFO] Downloading: bucket: elasticbeanstalk-ap-northeast-2-569489387446, object: /resources/environments/e-gxxb7nddh2/_runtime/versions/manifest_1674271809160

2023/01/21 03:32:04.719521 [INFO] Download successful139bytes downloaded

2023/01/21 03:32:04.719618 [INFO] Trying to read and parse version manifest...

2023/01/21 03:32:04.719702 [INFO] Downloading: bucket: elasticbeanstalk-ap-northeast-2-569489387446, object: /resources/environments/e-gxxb7nddh2/_runtime/_versions/deploy/app-230121_123001143057

2023/01/21 03:32:04.731890 [INFO] Download successful3297bytes downloaded

2023/01/21 03:32:04.732205 [INFO] Executing instruction: ElectLeader

2023/01/21 03:32:04.732214 [INFO] Running leader election for instance i-063ee15850802b169...

2023/01/21 03:32:04.732218 [INFO] Calling the cfn-elect-cmd-leader to elect the command leader.

2023/01/21 03:32:04.732233 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-elect-cmd-leader --stack arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae --command-name ElasticBeanstalkCommand-AWSEBAutoScalingGroup --invocation-id 0426d520-b7dc-4d42-9bf9-4a96a68dc66b --listener-id i-063ee15850802b169 --region ap-northeast-2

2023/01/21 03:32:05.055299 [INFO] Instance is Leader.

2023/01/21 03:32:05.055351 [INFO] Executing instruction: stopSqsd

2023/01/21 03:32:05.055359 [INFO] This is a web server environment instance, skip stop sqsd daemon ...

2023/01/21 03:32:05.055363 [INFO] Executing instruction: PreBuildEbExtension

2023/01/21 03:32:05.055368 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.

2023/01/21 03:32:05.055389 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBAutoScalingGroup --region ap-northeast-2 --configsets Infra-EmbeddedPreBuild

2023/01/21 03:32:05.412446 [INFO] Finished executing the config set Infra-EmbeddedPreBuild.


2023/01/21 03:32:05.412480 [INFO] Executing instruction: StageApplication

2023/01/21 03:32:05.413748 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/

2023/01/21 03:32:05.413765 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/

2023/01/21 03:32:05.417157 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully

2023/01/21 03:32:05.417626 [INFO] Executing instruction: RunAppDeployPreBuildHooks

2023/01/21 03:32:05.417669 [INFO] Executing platform hooks in .platform/hooks/prebuild/

2023/01/21 03:32:05.417685 [INFO] The dir .platform/hooks/prebuild/ does not exist

2023/01/21 03:32:05.417690 [INFO] Finished running scripts in /var/app/staging/.platform/hooks/prebuild

2023/01/21 03:32:05.417696 [INFO] Executing instruction: InstallDependency

2023/01/21 03:32:05.417702 [INFO] checking dependencies file

2023/01/21 03:32:05.417709 [INFO] Installing dependencies with requirements.txt by using Pip

2023/01/21 03:32:05.417718 [INFO] Running command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt

2023/01/21 03:32:11.866052 [INFO] Collecting awsebcli==3.20.3

 Downloading awsebcli-3.20.3.tar.gz (259 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 259.2/259.2 kB 19.2 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting botocore==1.23.54

 Downloading botocore-1.23.54-py3-none-any.whl (8.5 MB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.5/8.5 MB 69.3 MB/s eta 0:00:00

Collecting cement==2.8.2

 Downloading cement-2.8.2.tar.gz (165 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.8/165.8 kB 33.4 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting certifi==2022.12.7

 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)

Collecting charset-normalizer==2.0.12

 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)

Collecting click==8.1.3

 Downloading click-8.1.3-py3-none-any.whl (96 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 20.8 MB/s eta 0:00:00

Collecting colorama==0.4.3

 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)

Collecting dnspython==2.3.0

 Downloading dnspython-2.3.0-py3-none-any.whl (283 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 kB 48.8 MB/s eta 0:00:00

Collecting Flask==2.2.2

 Downloading Flask-2.2.2-py3-none-any.whl (101 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 18.2 MB/s eta 0:00:00

Collecting future==0.16.0

 Downloading future-0.16.0.tar.gz (824 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 824.5/824.5 kB 52.6 MB/s eta 0:00:00

 Preparing metadata (setup.py): started

 Preparing metadata (setup.py): finished with status 'done'

Collecting idna==3.4

 Downloading idna-3.4-py3-none-any.whl (61 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 15.5 MB/s eta 0:00:00

Collecting importlib-metadata==6.0.0

 Downloading importlib_metadata-6.0.0-py3-none-any.whl (21 kB)

Collecting itsdangerous==2.1.2

 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)

Collecting Jinja2==3.1.2

 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 26.7 MB/s eta 0:00:00

Collecting jmespath==0.10.0

 Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)

Collecting MarkupSafe==2.1.2

 Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)

Collecting pathspec==0.9.0

 Downloading pathspec-0.9.0-py2.py3-none-any.whl (31 kB)

Collecting pymongo==4.3.3

 Downloading pymongo-4.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 501.4/501.4 kB 30.6 MB/s eta 0:00:00

Collecting pypiwin32==223

 Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)

Collecting python-dateutil==2.8.2

 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 27.4 MB/s eta 0:00:00


2023/01/21 03:32:11.866083 [INFO] ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)

ERROR: No matching distribution found for pywin32==305


2023/01/21 03:32:11.866132 [ERROR] An error occurred during execution of command [app-deploy] - [InstallDependency]. Stop running the command. Error: fail to install dependencies with requirements.txt file with error Command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt failed with error exit status 1. Stderr:ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)

ERROR: No matching distribution found for pywin32==305

 


2023/01/21 03:32:11.866139 [INFO] Executing cleanup logic

2023/01/21 03:32:11.866238 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed to install application dependencies. The deployment failed.","timestamp":1674271931866,"severity":"ERROR"},{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1674271931866,"severity":"ERROR"}]}]}


2023/01/21 03:32:11.866390 [INFO] Platform Engine finished execution on command: app-deploy


2023/01/21 03:34:17.099776 [INFO] Starting...

2023/01/21 03:34:17.099817 [INFO] Starting EBPlatform-PlatformEngine

2023/01/21 03:34:17.099836 [INFO] reading event message file

2023/01/21 03:34:17.099968 [INFO] Engine received EB command cfn-hup-exec


2023/01/21 03:34:17.174629 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBAutoScalingGroup --region ap-northeast-2

2023/01/21 03:34:17.497716 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:569489387446:stack/awseb-e-gxxb7nddh2-stack/e8477230-993b-11ed-8847-021a196e0eae -r AWSEBBeanstalkMetadata --region ap-northeast-2

2023/01/21 03:34:17.798620 [INFO] checking whether command bundle-log is applicable to this instance...

2023/01/21 03:34:17.798636 [INFO] this command is applicable to the instance, thus instance should execute command

2023/01/21 03:34:17.798640 [INFO] Engine command: (bundle-log)


2023/01/21 03:34:17.798690 [INFO] Executing instruction: GetBundleLogs

2023/01/21 03:34:17.798695 [INFO] Bundle Logs...


스파르타 즉문즉답스파르타 즉문즉답






취소
 공유
취소
댓글 0
댓글 알림
나의얼굴