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

StatusCode: 403, Type: authorization_required, APIMessage: Not allowed #1

Closed
dimaspencer84 opened this issue Nov 12, 2017 · 5 comments

Comments

@dimaspencer84
Copy link

dimaspencer84 commented Nov 12, 2017

Hey !
I set the public key, the access key and the generated token properly, but I still get these errors...How can I fix it ?
2 error(s) occurred:

* scaleway_server.machine[1]: 1 error(s) occurred:

* scaleway_server.machine.1: StatusCode: 403, Type: authorization_required, APIMessage: Not allowed
* scaleway_server.machine[0]: 1 error(s) occurred:

* scaleway_server.machine.0: StatusCode: 403, Type: authorization_required, APIMessage: Not allowed`
@dimaspencer84
Copy link
Author

I found where the problem was coming from. ;-)

@Vad1mo
Copy link
Member

Vad1mo commented Nov 12, 2017

Glad you found the solution. Can you share it so other in the same situation can benifit and are encouraged to contribute as well.

Btw. Don't forget to 🌟 our project if you like it or send improvements.

@dimaspencer84
Copy link
Author

I successfully created a workshop using your tool but the script ended with a error message:

scaleway_server.machine[0] (remote-exec): ...installing docker-compose done. Installed Version is 
docker-compose version 1.15.0, build e12f3b9
scaleway_server.machine[0] (remote-exec): Granting user ubuntu Docker daemon access
scaleway_server.machine[0] (remote-exec): adduser: The user `ubuntu' does not exist.

Error: Error applying plan:

2 error(s) occurred:

* scaleway_server.machine[1]: 1 error(s) occurred:

* Script exited with non-zero exit status: 1
* scaleway_server.machine[0]: 1 error(s) occurred:

* Script exited with non-zero exit status: 1

So the command adduser doesn't get executed...
Moreover when I access the machine remotely via rdp (using the root user), some commands (including adduser) are not available and it's impossible to create files/folders within the "thinclient_drives"...

@Vad1mo
Copy link
Member

Vad1mo commented Nov 13, 2017

I see the error is here:

adduser ubuntu docker

the user ubuntu isn't there on SCW but on AWS, you should remove the line on SCW.

@Vad1mo
Copy link
Member

Vad1mo commented Nov 13, 2017

I did an update this should work now on SCW again.

@Vad1mo Vad1mo closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants