CLI app-create fails with null artifact name

Bug #1442789 reported by Ed Cranford
6
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://github.com/rackspace-solum-samples/solum-python-sample-app.git
  language_pack: python27
  unittest_cmd: pip install -r test-requirements.txt; pep8 app.py
  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
Adrian Otto (aotto)
Changed in solum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.