Closed shadycuz closed 6 years ago
@shadycuz I’m sorry for the inconvenience. As you can see from the terraform plan output, the query for the image returns no data any more.
Did you validate that Ubuntu Zesty is still accessible as a image? Ubuntu Zesty is not a LTS release so I’d expect Scaleway to remove the image once it reaches EOL. EOL was January 13th.
@nicolai86
Yes both images are still listed
Let me test by listing the images via the API with curl.
I would have to curl through all the pages.
I’ll take a look. Thanks for the report!
@shadycuz I've confirmed via the API that there is no x86_64 image for OpenVPN at the moment:
x86_64
# curl 'https://api-marketplace.scaleway.com/images?arch=x86_64' | jq -r '.images[].name'
Debian Jessie
Ubuntu Xenial
Python
Docker
Golang
Gogs
Node.js
ownCloud
Java
Ruby
Fedora 27
CentOS 7.4
Arch Linux
Debian Stretch
Alpine Linux
Ubuntu Mini Xenial 25G
ARM
# curl 'https://api-marketplace.scaleway.com/images?arch=arm' | jq -r '.images[].name'
Redis
Camlistore
Serendipity
ZeroBin
Ruby on Rails
Etherpad
Discourse
Fedora
openSUSE
Kanboard
Syncthing
Jenkins Master
Pydio
Jenkins Slave
Drupal
Minecraft
Ghost
ELK stack
PrestaShop
Gentoo
Redmine
CentOS 7.2
LEMP stack
Image Builder
Webmin
Ubuntu Precise
Ubuntu Wily
Ubuntu Yakkety
Ubuntu Trusty
GitLab
Debian Sid
Ubuntu Zesty
WordPress
OpenVPN
Torrents
Debian Jessie
Ubuntu Xenial
Python
Docker
Golang
Gogs
Node.js
ownCloud
Java
Debian Wheezy
Ruby
Debian Stretch
~Please check with Scaleway support what happened to the missing image.~ This seems to be related to different API endpoints. Seems like a bug after all:
# curl https://cp-ams1.scaleway.com/images?arch=x86_64 | jq -r '.images[].name'
Alpine Linux
Ubuntu Xenial
Ubuntu Xenial
Alpine Linux
Ubuntu Xenial
Ubuntu Xenial
Alpine Linux
Debian Stretch
Fedora 27
CentOS 7.4
Arch Linux
CentOS 7.4
Fedora 27
Debian Sid/Unstable
Debian Stretch
Node.js LTS 8.x
Debian Wheezy
Java jdk10
Debian Jessie
Debian Jessie
Debian Stretch
Ubuntu Xenial
Debian Jessie
Ubuntu Xenial
Ubuntu Xenial
Docker
Seedbox
GOGS
Privatebin
Golang 1.10
Ubuntu Xenial
Debian Jessie
Arch Linux
ownCloud
Python
Ruby
CentOS 7.3
Torrents 1.4.0
LEMP - Nginx+PHP+MySQL
OpenVPN
OpenVPN
OpenVPN
Wordpress 4.8.0
Ubuntu Zesty (17.04 latest)
Debian Sid/Unstable
Debian Stretch (9.0)
Debian Stretch (9.0)
CentOS 7.3
GitLab
Ubuntu Yakkety (16.10 latest)
# curl https://cp-par1.scaleway.com/images?arch=x86_64 | jq -r '.images[].name'
Ubuntu Xenial
Ubuntu Xenial
Ubuntu Xenial
Alpine Linux
Ubuntu Xenial
Ubuntu Xenial
Ubuntu Xenial
Alpine Linux
Debian Stretch
Alpine Linux
Fedora 27
CentOS 7.4
Arch Linux
CentOS 7.4
Fedora 27
Seedbox
Ruby
Docker
Node.js LTS 8.x
ownCloud
Java jdk10
Privatebin
Python
GOGS
Golang 1.10
Ubuntu Xenial
Debian Stretch
Debian Jessie
Debian Jessie
Debian Jessie
Debian Stretch
Debian Jessie
Arch Linux
Ubuntu Xenial
Ubuntu Xenial
Ubuntu Xenial
Debian Sid/Unstable
Debian Wheezy
CentOS 7.3
Torrents 1.4.0
LEMP - Nginx+PHP+MySQL
OpenVPN
OpenVPN
OpenVPN
Wordpress 4.8.0
Ubuntu Zesty (17.04 latest)
Debian Sid/Unstable
Debian Stretch (9.0)
Debian Stretch (9.0)
CentOS 7.3
# curl https://cp-par1.scaleway.com/images?arch=arm | jq -r '.images[].name'
Debian Stretch
Ruby
Seedbox
Privatebin
ownCloud
Python
Docker
Node.js LTS 8.x
Java jdk10
GOGS
Golang 1.10
Ubuntu Xenial
Debian Jessie
Debian Jessie
Debian Jessie
Debian Stretch
Debian Jessie
Ubuntu Xenial
Ubuntu Xenial
Ubuntu Xenial
Debian Sid/Unstable
Debian Wheezy
Torrents 1.4.0
LEMP - Nginx+PHP+MySQL
OpenVPN
OpenVPN
OpenVPN
Wordpress 4.8.0
Ubuntu Zesty (17.04 latest)
Debian Sid/Unstable
Debian Stretch (9.0)
Debian Stretch (9.0)
GitLab
Ubuntu Xenial (16.04 latest)
Ubuntu Precise (12.04)
Ubuntu Yakkety (16.10 latest)
Ubuntu Wily (15.10)
Ubuntu Trusty (14.04)
Cozy Cloud (beta)
Webmin 1.820
Docker 1.12.2
Image Builder 1.4.3
Ubuntu Yakkety (16.10 latest)
Ubuntu Yakkety (16.10 latest)
Docker 1.12.1
Archlinux
Archlinux
Cozy Cloud
LEMP - Nginx+PHP+MySQL
CentOS 7.2
# curl https://cp-ams1.scaleway.com/images?arch=arm | jq -r '.images[].name'
Debian Stretch
Debian Sid/Unstable
Debian Wheezy
Debian Jessie
Ubuntu Xenial
Debian Jessie
Debian Jessie
Debian Jessie
Ubuntu Xenial
Ubuntu Xenial
Python
Docker
Node.js LTS 8.x
Ruby
Privatebin
Java jdk10
GOGS
Ubuntu Xenial
Debian Stretch
Golang 1.10
Seedbox
ownCloud
Torrents 1.4.0
LEMP - Nginx+PHP+MySQL
OpenVPN
OpenVPN
OpenVPN
Wordpress 4.8.0
Ubuntu Zesty (17.04 latest)
Debian Sid/Unstable
Debian Stretch (9.0)
Debian Stretch (9.0)
GitLab
Ubuntu Wily (15.10)
Ubuntu Yakkety (16.10 latest)
Ubuntu Xenial (16.04 latest)
Ubuntu Precise (12.04)
Ubuntu Trusty (14.04)
Cozy Cloud (beta)
Webmin 1.820
Docker 1.12.2
Archlinux
Archlinux
Cozy Cloud
Docker 1.11.1
Ubuntu Xenial (16.04 latest)
Alpine Linux 3.3
GOGS 0.9.13
Docker 1.10.0
Ubuntu Xenial (16.04 latest)
@nicolai86 I opened an issue with Scaleway to see if they could provide any valuable insight.
Thanks for looking at this so closely.
Response from scaleway.
My colleague from Terraform is right, we do not have an OpenVPN image for x86_64 right now. This is following the new features that we are deploying (https://blog.online.net/2018/04/19/scaleway-feature-improvements-custom-kernel-security-group-live-reload-imagehub-packer/)
We are reworking all of our images to make them compatible with Local Boot. Rest assured, OpenVPN will come back !
I'm sorry for the inconvenience.
Doesn't really explain the API endpoints that still return the images.
Thank you for reaching out to Scaleway. I’ll leave the issue open for some time; maybe they’ll fix the missing image quickly.
hm, I'm not 100% it's related, but does look very similar to the issue I'm hitting. I'm fetching UUIDs of the images via scw images -f name=ubuntu -q
. unfortunately, none appear to be working. I tried Xenial and Bionic and both are responding like so:
* scaleway_server.test: StatusCode: 404, Type: unknown_resource, APIMessage: "3dcbd786-27f9-41c8-887e-cb468a877517" not found
way to reproduce:
scw images -f name=ubuntu -q
provider "scaleway" {
region = "par1"
}
resource "scaleway_server" "test" {
name = "test"
image = "3dcbd786-27f9-41c8-887e-cb468a877517"
type = "C2S"
tags = ["test"]
}
* scaleway_server.test: StatusCode: 404, Type: unknown_resource, APIMessage: "3dcbd786-27f9-41c8-887e-cb468a877517" not found
@hadret do you have a reason for not using the data source to lookup images? Otherwise you need to make sure datacenter & architecture match.
no, I don't. fair point, I will try it out tomorrow and get back here -- on the other hand, these two particular images are super generic and they support all of the architectures for both datacenters.
ok, using data source fixed the issue for me. strange, that the uuid is different though...
@shadycuz OpenVPN images exist for x86_64. Could you check again if you can instantiate one?
@sieben They have added the missing images. This had to do with this https://blog.online.net/2018/04/19/scaleway-feature-improvements-custom-kernel-security-group-live-reload-imagehub-packer/.
Thanks all.
Terraform Version
Affected Resource(s)
data.scaleway_image
Terraform Configuration Files
Debug Output
Expected Behavior
My 'terraform plan' operation should have completed.
Actual Behavior
Error
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
This has worked for months and last worked a week or so ago. Now it doesn't work. My token is still valid. I was able to hit the API via curl. Possible they somehow broke the api for the terraform client?