CLI app-create fails with null artifact name
Bug #1442789 reported by
Ed Cranford
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Fix Released
|
Undecided
|
Ed Cranford |
Bug Description
vagrant@devstack:~$ cat blah.yaml
version: 1
name:
description: Sample Python web app.
artifacts:
- name:
content:
href: https:/
language_pack: python27
unittest_cmd: pip install -r test-requiremen
run_cmd: ./main.sh
ports: 80
vagrant@devstack:~$ solum app create --plan-file blah.yaml
Please name the application.
> blah
ERROR: expected string or buffer
Cryptic! In debugging it's because the artifact name is there, but it's null, and re.match(needle, haystack) during lpname-is-valid doesn't like trying to work with null haystacks.
Changed in solum: | |
assignee: | nobody → Ed Cranford (ed--cranford) |
status: | New → Fix Committed |
Changed in solum: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.