StackStorm / chef-stackstorm

DEPRECATED! Community-maintained Chef Cookbook to deploy StackStorm, IFTTT for Ops
https://supermarket.chef.io/cookbooks/stackstorm
Apache License 2.0
16 stars 10 forks source link

KitchenCI not working for Fedora 20 #12

Closed jvrplmlmn closed 7 years ago

jvrplmlmn commented 7 years ago

Same thing as #10 but for Fedora, it should be updated to Fedora 24: https://atlas.hashicorp.com/bento/boxes/fedora-24

➜  chef-stackstorm git:(master) ✗ kitchen create default-fedora-20
-----> Starting Kitchen (v1.11.1)
-----> Creating <default-fedora-20>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Box 'bento/fedora-20' could not be found. Attempting to find and install...
           default: Box Provider: virtualbox
           default: Box Version: >= 0
       The box 'bento/fedora-20' could not be found or
       could not be accessed in the remote catalog. If this is a private
       box on HashiCorp's Atlas, please verify you're logged in via
       `vagrant login`. Also, please double-check the name. The expanded
       URL and error message are shown below:

       URL: ["https://atlas.hashicorp.com/bento/fedora-20"]
       Error: The requested URL returned error: 404 Not Found
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/fedora-20' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
STDERR: The box 'bento/fedora-20' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/bento/fedora-20"]
Error: The requested URL returned error: 404 Not Found
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-fedora-20
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

➜  chef-stackstorm git:(master) ✗
arm4b commented 7 years ago

Good catch! :+1:

We don't build/test packages exclusively for Fedora. Even considering that some st2 packages could work (because of Red Hat family), we don't support that distro officially.

So the recommendation is to remove Fedora from .kitchen.yml.

Here is the list of supported platforms:

https://docs.stackstorm.com/install/index.html

BTW Ubuntu 16.04 packages will be added soon.

shortdudey123 commented 7 years ago

Since Fedora is not an officially supported OS, it should be removed. @armab agree?

As a side note... compat_resource fails since it needs python, which does not appear to come installed on F23 or F24 by default, so as it stands, this cookbook would need more work than just bumping the OS version.