Commit Graph

26385 Commits

Author SHA1 Message Date
Bret Palsson
4d4c0cb62a Ability to destroy instances matching a profile
There exists times when there may be multiple providers for a single
region. For example in ec2 you might have a provider for each region.
When salt-cloud runs get_running_by_names it will return runnung
instances for each provider. The ec2 provider returns all running
instances for the entire region, thus the same instance will return
for each avaliability zone. Once salt-cloud destroys this instance
it will thrown an exception when it tries again.

The logic is, if you can specify a profile when creating, why not
when destroying?

Example:

```bash
root@localhost:~# salt-cloud example1234 -d
[INFO    ] salt-cloud starting
The following virtual machines are set to be destroyed:
  us-west-2b-devops:
    ec2:
      example1234
  us-west-2b-dev:
    ec2:
      example1234
  us-west-2a-dev:
    ec2:
      example1234
  us-west-2a-devops:
    ec2:
      example1234
```

After this fix:

```bash
root@localhost:~# salt-cloud -p usw2a-dev-web example1234 -d
[INFO    ] salt-cloud starting
The following virtual machines are set to be destroyed:
  us-west-2a-dev:
    ec2:
      example1234
```
2014-02-21 16:55:56 -07:00
Joseph Hall
17034b79d5 Merge pull request #10652 from gtmanfred/nova
[salt] add most of the nova volume functions
2014-02-21 15:42:27 -07:00
Daniel Wallace
7ded2d6825 [salt] document private functions
_server_by_name and _volume_get
2014-02-21 15:18:43 -06:00
Daniel Wallace
a9455fd543 [salt] add nove.volume_delete 2014-02-21 15:16:41 -06:00
Daniel Wallace
a888c2c990 [salt] add nova.volume_attach and detach 2014-02-21 14:57:31 -06:00
Daniel Wallace
b8ec69e768 [salt] add volume commands to nova 2014-02-21 14:57:31 -06:00
Mike Place
64f07ebc38 Merge pull request #10651 from rallytime/mac_user_test
more mac_user tests
2014-02-21 13:56:11 -07:00
rallytime
4a5bbd0c1d more mac_user tests 2014-02-21 13:49:17 -07:00
C. R. Oldham
571eeb6a8a Merge pull request #10650 from cro/pylint_fixes_0221
Pylint fixes.
2014-02-21 13:29:48 -07:00
C. R. Oldham
09948b3ddd Pylint fixes. 2014-02-21 13:28:53 -07:00
C. R. Oldham
daffc42b4a Merge pull request #10649 from cro/proxy_add_running
Add self._running to the ProxyMinion
2014-02-21 13:04:27 -07:00
Thomas S Hatch
bde33497d2 Merge pull request #10645 from rallytime/mac_user_test
Test fixes
2014-02-21 12:09:46 -07:00
C. R. Oldham
47084a4031 Add self._running to the ProxyMinion 2014-02-21 11:46:58 -07:00
Samuel Smith
386f61985d Merge pull request #10646 from SmithSamuelM/sam_raet_7
Sam raet 7 Basic Raet segmentation working
2014-02-21 11:43:49 -07:00
Samuel M Smith
320fc04667 Basic segmentation and desegmentation working
needs some cleanup refactoring still
2014-02-21 11:40:27 -07:00
rallytime
5a80abeaee Test fixes 2014-02-21 11:13:38 -07:00
Joseph Hall
767af38fbc Merge pull request #10643 from s0undt3ch/hotfix/cloud-config-yaml-dumper-fix
Properly `YAML`'ize `OrderedDict`'s
2014-02-21 06:17:25 -07:00
Joseph Hall
5705a1bd98 Merge pull request #10641 from s0undt3ch/hotfix/ordereddict-compat
Import `OrderedDict` from `salt.utils.odic` for backwards compatability
2014-02-21 06:16:37 -07:00
Pedro Algarvio
4af9d78d54 Use the newly added ordered safe yaml dumper 2014-02-21 12:43:31 +00:00
Pedro Algarvio
359e73d605 Provide an ordered safe yaml dumper. 2014-02-21 12:43:06 +00:00
Pedro Algarvio
820eb41928 Properly YAML'ize OrderedDict's 2014-02-21 10:58:06 +00:00
Pedro Algarvio
dc503a09c7 Import OrderedDict from salt.utils.odic for backwards compatability 2014-02-21 10:46:56 +00:00
Thomas S Hatch
655da0bd5c Merge pull request #10638 from terminalmage/rpm
Update spec file for 2014.1.0
2014-02-20 20:38:16 -07:00
Thomas S Hatch
2e4eb3228d Merge pull request #10637 from goldbach/issue10522
fixes #10522 (partially)
2014-02-20 20:37:43 -07:00
Thomas S Hatch
c365444723 Merge pull request #10635 from cachedout/doc_link_audit
Doc link fixes
2014-02-20 20:36:54 -07:00
Thomas S Hatch
2ed60b0689 Merge pull request #10634 from ahammond/esacpe_dashed_vg_lv_names
dashes in vg or lv names should be escaped
2014-02-20 20:35:35 -07:00
Erik Johnson
c0514f47b5 Merge pull request #10636 from cachedout/msgpack_lint
Linting.
2014-02-20 21:15:44 -06:00
Erik Johnson
3007e6882c Update spec file for 2014.1.0 2014-02-20 21:06:10 -06:00
Samuel M Smith
ecf8435556 modified test 2014-02-20 17:13:49 -07:00
Samuel M Smith
a7ba25a7bd desegmentation mostly working
failing verification
2014-02-20 17:09:22 -07:00
Mike Place
f325ddc1a4 Merge pull request #10632 from rallytime/mac_user_test
More mac_user tests
2014-02-20 16:48:08 -07:00
goldbach
afc824fe5d added imports and removed search/replace that needs an extra look 2014-02-21 00:29:05 +01:00
Mike Place
6eb0c651bd Linting. 2014-02-20 16:27:36 -07:00
Mike Place
a485eceac9 Fix all broken links in docs. Ignore certain known-good links. Adjust many links that are returning 301.
Conflicts:
	doc/topics/installation/index.rst
2014-02-20 16:16:59 -07:00
Andrew Hammond
a28aca7135 dashes in vg or lv names should be escaped 2014-02-20 14:44:40 -08:00
goldbach
6e381aa35f fixes #10522 - added some file.py functions to win_file.py 2014-02-20 23:38:56 +01:00
Samuel M Smith
c649449b03 Refactored where parseInner gets called so late as possible and also to be consistent with desegmentation
has to happen first for message transacation
2014-02-20 15:38:41 -07:00
David Boucha
0e4cbddd11 Merge pull request #10633 from goldbach/errnofix
fix win_file.append by importing errno
2014-02-20 15:18:56 -07:00
Thomas S Hatch
db717979f0 Merge pull request #10631 from goldbach/issue10521
fix #10521 - missing namespaced functions
2014-02-20 15:00:44 -07:00
Samuel M Smith
39cd23be91 Added a test 2014-02-20 14:58:56 -07:00
goldbach
67660fb9f9 fix win_file.append by importing errno 2014-02-20 22:48:42 +01:00
Samuel M Smith
fb6a01c22d Basic support in packeting for segmentation and desegmentation
Now need to add to message transaction
2014-02-20 14:47:40 -07:00
goldbach
b06676ea5d fix win_file.append by importing errno 2014-02-20 22:45:50 +01:00
rallytime
ed614934f7 More mac_user tests 2014-02-20 14:25:38 -07:00
Thomas S Hatch
7fa7b5167f Add docstring to msgpack rednerer 2014-02-20 14:04:59 -07:00
Thomas S Hatch
b8ddb1b64e Add initial msgpack renderer 2014-02-20 14:01:07 -07:00
Thomas S Hatch
c8abd5a56a Merge pull request #10629 from makinacorpus/saltcallreturn
salt-call now returns jobs to master
2014-02-20 13:52:29 -07:00
Thomas S Hatch
54aee3c568 Merge pull request #10627 from makinacorpus/crondoc
update cron doc
2014-02-20 13:51:15 -07:00
Thomas S Hatch
86b6c246e6 Merge pull request #10630 from borgstrom/pyobjects_security
Pyobjects security & convention
2014-02-20 13:49:08 -07:00
Thomas S Hatch
f72d0c09c0 Merge pull request #10626 from hulu/lint
minor linting in dockerio module
2014-02-20 13:47:50 -07:00