Skip to content

Error when running crate with vmfest and latest pallet #5

@jeroenvandijk

Description

@jeroenvandijk

Not sure in what configuration this project will work, but out of the box I don't get it to work with pallet "0.8.0-RC.1" and pallet-vmfest "0.3.0-alpha.5"

I get the following error

15:52:30.292 [operate-12] INFO  pallet.execute - 192.168.56.101 #> configure: config-file: remote-file /etc/riemann/riemann.conf : SUCCESS
An error occured
clojure.lang.ExceptionInfo: a-plan-fn17761 : No value supplied for key: riemann in call to  (UNKNOWN:)
 at clojure.core$ex_info.invoke (core.clj:4227)
    pallet.crate.riemann$server_spec$fn__17762.invoke (riemann.clj:187)

I do the following command:

lein pallet up  --selectors ubuntu-12-04 --phases install,configure,run

And I have the following pallet.clj

(require '[pallet.crate.riemann :as riemann])

(def vm-node-spec
   (pallet.api/node-spec
     :image    {:os-family :ubuntu
                :os-version-matches "12.04"}
     :hardware {:min-ram 1024}
     :network  {:inbound-ports [22]}))

(def riemann-group-spec
     (pallet.api/group-spec "mygroup"
      :node-spec vm-node-spec
      :count 1
       :extends [with-automated-admin-user (riemann/server-spec {})]
      )
)
(defproject pallet-quickstart
  :groups [riemann-group-spec]
  :provider {:vmfest
             {:node-spec
              {:image {:os-family :ubuntu :os-version-matches "12.04"
                       :os-64-bit true}}
              :selectors #{:default}}})

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions