This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-15
Channels
- # announcements (5)
- # architecture (17)
- # aws (2)
- # bangalore-clj (1)
- # beginners (157)
- # boot (22)
- # boot-dev (2)
- # cider (64)
- # clara (2)
- # cljs-dev (3)
- # clojure (30)
- # clojure-art (2)
- # clojure-australia (1)
- # clojure-belgium (1)
- # clojure-denver (1)
- # clojure-dusseldorf (1)
- # clojure-europe (8)
- # clojure-finland (2)
- # clojure-italy (9)
- # clojure-nl (21)
- # clojure-spec (261)
- # clojure-switzerland (3)
- # clojure-uk (67)
- # clojurescript (57)
- # clojurewerkz (2)
- # cursive (3)
- # datomic (27)
- # emacs (12)
- # figwheel-main (2)
- # fulcro (48)
- # garden (67)
- # graphql (41)
- # jobs (8)
- # kaocha (8)
- # liberator (2)
- # lumo (1)
- # off-topic (19)
- # parinfer (9)
- # perun (4)
- # re-frame (50)
- # reagent (7)
- # remote-jobs (4)
- # ring-swagger (20)
- # rum (6)
- # shadow-cljs (170)
- # specter (3)
- # tools-deps (19)
- # vim (3)
Should it be possible to use the aws cloudformation cli to spin up a datomic solo stack? I've not had much luck trying.
Does Datomic on-prem support Java 11? This page says not but I find that surprising: https://docs.datomic.com/on-prem/get-datomic.html
@cbowdon not yet. we’re working on supporting newer java. hopefully in a release soon
@olivergeorge it should be, although I’ve never tried it myself
Thanks. My exploration was somewhat chaotic. I'll try again. Would be nice to have a "one step solo/dev setup" of an app.
Yeah, works fine. I'd managed to screw up my aws account somehow.
aws cloudformation create-stack --stack-name MYAPP --template-body --parameters --capabilities CAPABILITY_NAMED_IAM
With params of
[
{"ParameterKey": "KeyName", "ParameterValue": "MYAPP"},
{"ParameterKey": "EnvironmentMap", "ParameterValue": "{:env :dev}"}
]
In case it's of interest. I'm able to reproduce the problem I had before. As a developer, I want to be able to setup and tear down datomic stacks including reusing an old stack name. Steps to repeat: • aws cloudformation create-stack --stack-name MYAPP ... (as above) • (wait) • aws cloudformation delete-stack --stack-name MYAPP • (wait) • aws cloudformation create-stack --stack-name MYAPP ... (as above) Expect: stack comes up cleanly Actual: stack creation fails, storage related even reports: Embedded stack arn:aws:cloudformation:ap-southeast-2:826491830380:stack/actinium-StorageF7F305E7-GDBDL32025UD/d9de1d70-19dd-11e9-b73f-0a7bf1960652 was not successfully created: The following resource(s) failed to create: [DatomicCmk, CatalogTable, FileSystem, LogGroup, LogTable].
It's a slow process so hopefully I'm not leading you astray.
also, is this using the master template or are you launching storage and compute separately?
Okay, thanks. I suspect there is still something buggy in the delete-stack side of things. Another case which seemed repeatable was (create stack A, delete stack A, create stack B) but the error was different that time. Not hurting me enough to fight anymore as it requires recreating a fresh account each time it gets stuck.
I was using the solo master template.
Thanks for the tip about needing to specify when reusing existing storage. I'll read up.
Attempting to delete a solo CloudFormation stack, and it’s stuck trying to delete resource with logical ID AvailabilityZones
of type Custom::ResourceQuery
. I’m afraid I may have tampered with something I shouldn’t have while it was in progress…any tips for manually deleting this resource?
I may be doomed to waiting a few hours for the stack to fail to delete: https://forums.aws.amazon.com/thread.jspa?threadID=234657
(d/pull d [:db/id {:my-many-ref-attr [:db/id :my-not-unique-str-attr]}] 17592277488932)
=>
{:db/id 17592277488932,
:my-many-ref-attr [{:db/id 17592277488933,
:my-not-unique-str-attr "not-unique-value"}
{:db/id 17592277488934,
:my-not-unique-str-attr "not-unique-value"}]}
(d/pull d [:db/id {:my-many-ref-attr [:my-not-unique-str-attr]}] 17592277488932)
=>
{:db/id 17592277488932,
:my-many-ref-attr [{:my-not-unique-str-attr "not-unique-value"}
{:my-not-unique-str-attr "not-unique-value"}]}