-
카테고리
-
세부 분야
데브옵스 · 인프라
-
해결 여부
해결됨
windows2012r2 구성관련
21.12.22 15:33 작성 조회수 209
1
안녕하세요 강의를 잘보고있습니다!
windows를 vagrant를 이용해서 구성하려고하니 403오류가 발생하여(opentable/win-2012r2-standard-amd64-nocm) 다음 vagrant box를 가지고 진행하였습니다. (devopsgroup-io/windows_server-2012r2-standard-amd64-nocm)
그랬더니 ip가 제가 할당하지않은 ip가 자동으로 할당되며 방화벽도 해제되지 않는것을 확인하였습니다
오류는 다음과같이 timeout이 발생하였습니다.
==> ansible-node05: Waiting for machine to boot. This may take a few minutes...
ansible-node05: SSH address: 127.0.0.1:19215
ansible-node05: SSH username: vagrant
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
제가 실수한 부분이있는지 궁금합니다!
감사합니다!
답변을 작성해보세요.
0
0
조훈(Hoon Jo)
지식공유자2021.12.22
안녕하세요
현재 box page는 존재하는데, s3의 문제인지 vagrant cloud 내부 문제인지는 정확히 알기 어려울 것 같습니다. (https://app.vagrantup.com/opentable/boxes/win-2012r2-standard-amd64-nocm)
❯ vagrant box add opentable/win-2012r2-standard-amd64-nocm
==> box: Loading metadata for box 'opentable/win-2012r2-standard-amd64-nocm'
box: URL: https://vagrantcloud.com/opentable/win-2012r2-standard-amd64-nocm
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.
1) virtualbox
2) vmware_desktop
Enter your choice: 1
==> box: Adding box 'opentable/win-2012r2-standard-amd64-nocm' (v1.0.0) for provider: virtualbox
box: Downloading: https://vagrantcloud.com/opentable/boxes/win-2012r2-standard-amd64-nocm/versions/1.0.0/providers/virtualbox.box
Download redirected to host: s3-eu-west-1.amazonaws.com
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 403
다른 이미지도 문제가 있군요
❯ vagrant box add opentable/win-2012-standard-amd64-nocm
==> box: Loading metadata for box 'opentable/win-2012-standard-amd64-nocm'
box: URL: https://vagrantcloud.com/opentable/win-2012-standard-amd64-nocm
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.
1) virtualbox
2) vmware_desktop
Enter your choice: 1
==> box: Adding box 'opentable/win-2012-standard-amd64-nocm' (v1.0.0) for provider: virtualbox
box: Downloading: https://vagrantcloud.com/opentable/boxes/win-2012-standard-amd64-nocm/versions/1.0.0/providers/virtualbox.box
Download redirected to host: s3-eu-west-1.amazonaws.com
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
The requested URL returned error: 403
언급해 주신 애는 되긴 하는데, 어떻게 box를 구성했는지 제가 알 수가 없습니다.
❯ vagrant box add devopsgroup-io/windows_server-2012r2-standard-amd64-nocm
==> box: Loading metadata for box 'devopsgroup-io/windows_server-2012r2-standard-amd64-nocm'
box: URL: https://vagrantcloud.com/devopsgroup-io/windows_server-2012r2-standard-amd64-nocm
==> box: Adding box 'devopsgroup-io/windows_server-2012r2-standard-amd64-nocm' (v1.62.0) for provider: virtualbox
box: Downloading: https://vagrantcloud.com/devopsgroup-io/boxes/windows_server-2012r2-standard-amd64-nocm/versions/1.62.0/providers/virtualbox.box
Progress: 0% (Rate: 11.7M/s, Estimated time remaining: 0:23:48)^C==> box: Waiting for cleanup before exiting...
==> box: Box download was interrupted. Exiting.
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and that enough disk space
is available and then try again.
The output from attempting to unpackage (if any):
우선 그 부분을 건너뛰시고, 다음 주까지 해결이 안되면 적합한 windows로 변경해야 할 것 같습니다.
또는 아시겠지만, 책에는 sysnet4admin/Windows2016 이미지를 쓰고 있어서 우선 필요하시다면 이걸로 변경하셔도 될 것 같습니다.
감사합니다.
조훈 드림.
답변 2