/bin/sh: 1: source: not found on HP lefthand initialization

Bug #1623630 reported by Petr Michalec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
salt-formula-cinder
New
Undecided
Unassigned

Bug Description

first time run from salt get. Better to specify credentials in the cinder command, use bash or use "." instead of `source`.

```
----------
          ID: cinder_type_create_hp-lefthand
    Function: cmd.run
        Name: source /root/keystonerc; cinder type-create lh-nr10-7k2
      Result: False
     Comment: Command "source /root/keystonerc; cinder type-create lh-nr10-7k2" run
     Started: 20:55:04.678911
    Duration: 1178.816 ms
     Changes:
              ----------
              pid:
                  19570
              retcode:
                  1
              stderr:
                  /bin/sh: 1: source: not found
                  ERROR: You must provide a user name through --os-username or env[OS_USERNAME].
              stdout:
----------
          ID: cinder_type_update_hp-lefthand
    Function: cmd.run
        Name: source /root/keystonerc; cinder type-key lh-nr10-7k2 set volume_backend_name=hp-lefthand
      Result: False
     Comment: One or more requisite failed: cinder.controller.cinder_type_create_hp-lefthand
     Started:
    Duration:
     Changes:
```

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.