Commit Graph

19392 Commits

Author SHA1 Message Date
iquaba
0f3fd15fb2 Adds missing show_timeout case 2014-05-11 14:14:43 -05:00
Joseph Hall
1e99177c92 Merge pull request #12677 from gtmanfred/nova
Fix up some cloud stuff
2014-05-11 12:13:24 -06:00
Pedro Algarvio
adac7ba7e7 Merge pull request #12676 from garethgreenaway/ssh_host_key_fixes
Add missing ECDSA, ED25519 ssh key file types.
2014-05-11 15:06:38 +01:00
Daniel Wallace
64cb2777cf Add warning about __exit__
Required for with: statement
2014-05-10 20:35:07 -05:00
Erik Johnson
710c9579cb Add clarification for pull #12678 2014-05-10 20:05:11 -05:00
Daniel Wallace
31cd6786c6 fix capitalization in except statements
I blame vim.
2014-05-10 19:45:18 -05:00
Daniel Wallace
11d11fc0ad Fix pylint error 2014-05-10 19:26:03 -05:00
Elias Probst
cc87598c0a Drop duplicated versions in salt.modules.pkg_resource.sort_pkglist() 2014-05-11 02:23:14 +02:00
Daniel Wallace
66a3403efd Give a better error for failed servers
If there is a failed server without the 'progress' attribute, then
server_list_detailed fails.  This also fails with trying to start
anything that uses cloud, because it can't get the first command
started.
2014-05-10 19:19:18 -05:00
Gareth J. Greenaway
c8b89597f4 Add missing ECDSA, ED25519 ssh key file types. 2014-05-10 16:06:53 -07:00
Daniel Wallace
5f360dd0b8 Use the with_statement from python3
http://legacy.python.org/dev/peps/pep-0343/

call __exit__ correctly from novaclient

98934d7bf1 (diff-709c13ba674c4ae39f66e0ff604c1c21R172)
2014-05-10 17:58:25 -05:00
Daniel Wallace
5c0f62c312 Close with statement earlier
This stuff doesn't need to be in the with statement
2014-05-10 17:57:19 -05:00
Daniel Wallace
2310d0996e Requests has errors with ssl
If you don't use the __exit__ for closing out the connection on the
authentication, everything fails.

Unfortunately this isn't fully in novaclient yet.  Waiting for the tag
for python-novaclient 2.18 ... which isn't tagged yet.
2014-05-10 17:24:31 -05:00
Daniel Wallace
fcdfb6bc81 Catch errors for volume_show 2014-05-10 17:22:03 -05:00
Daniel Wallace
023757d086 reorganize the variables
Define everything to make sure that it goes to the correct variables.
2014-05-10 17:20:17 -05:00
Daniel Wallace
a5b20097a4 Fix kwargs for volumes
Makes sure that the correct bypass_url gets set for volumes.
2014-05-10 15:19:18 -05:00
Thomas S Hatch
0e50d06b34 Merge pull request #12662 from eliasp/win_repo-empty-productname
Fix numerous crashes in consumers of Windows package lists due to empty package names.
2014-05-09 17:09:42 -06:00
Elias Probst
5d07e9464e Fix numerous crashes in consumers of Windows package lists due to empty package names. 2014-05-10 00:34:48 +02:00
Daniel Wallace
c10443394f cloud client extra_actions needs a names variable 2014-05-09 15:33:19 -05:00
Daniel Wallace
c34e1c8dd1 Fix pylint issues 2014-05-09 15:29:09 -05:00
Daniel Wallace
d569c37a75 Document the new cloud module functions 2014-05-09 15:29:09 -05:00
Daniel Wallace
346721193c Clean up virtual interface attach 2014-05-09 15:29:09 -05:00
Daniel Wallace
8a47524f6c Add virtual interfaces 2014-05-09 15:29:09 -05:00
Daniel Wallace
5a256d5fe8 Combine volume and network into extra actions 2014-05-09 15:29:09 -05:00
Daniel Wallace
60d3932bf9 Add network action to CloudClient
Allows for creating and deleting extra networks and the likes
2014-05-09 15:29:08 -05:00
Daniel Wallace
7542fba756 Add network create function 2014-05-09 15:29:08 -05:00
Daniel Wallace
31cbff6954 Add in networks
Include the posibility to use extensions, for stuff like rackspace's
os-networksv2

my-nova:
  minion:
    mine_functions:
      network.ip_addrs: []
    startup_states: sls
    sls_list:
      - cloud.novaclient
  identity_url: 'https://identity.api.rackspacecloud.com/v2.0/'
  extensions:
    networks: os_networksv2_python_novaclient_ext
    virtual_interfaces: os_virtual_interfacesv2_python_novaclient_ext
  protocol: ipv4
  compute_region: IAD
  user: USERNAME
  tenant: TENANTID
  provider: nova
  api_key: APIKEY
  os_auth_plugin: rackspace
  wait_for_ip_timeout: 6000
2014-05-09 15:29:08 -05:00
Thomas S Hatch
039e0841c1 Merge pull request #12548 from cachedout/12111
Eauth improvements and fixes
2014-05-09 13:55:42 -06:00
Thomas S Hatch
6a645041f1 Merge pull request #12657 from whiteinge/state-event-out-buffer
Force Python to flush to stdout whenever we have an event to print
2014-05-09 13:49:08 -06:00
KennethWilke
eb6d049502 Added more redis functionality 2014-05-09 13:02:57 -05:00
Seth House
da432237ad Force Python to flush to stdout whenever we have an event to print
We want to see events as soon as they come in without waiting on the
output buffer to fill up. Is there a less heavy-handed way to do this?
2014-05-09 11:53:17 -06:00
Thomas S Hatch
abeb3731ca Merge pull request #12656 from cachedout/salt-ssh-tweaking
salt-ssh tweaking
2014-05-09 11:38:39 -06:00
Mike Place
bacd5be8ca Restore salt-ssh to working order
* Removed misleading (to me at least) messages from stderr.
* Added explicit exits to the sh shim
* Fix index error where we incorrectly detect master deploy msg.
2014-05-09 11:00:42 -06:00
Joseph Hall
d26bfa36c5 Merge pull request #12598 from Katafalkas/salt-cloud_ec2_describe_volumes
describe_volumes function
2014-05-09 10:06:43 -06:00
Mike Place
608d6d1855 Display error if we have no matching targets in roster. 2014-05-09 09:26:41 -06:00
Mike Place
386375a5ea Friendly error message on insufficient permissions.
Better wording.
2014-05-09 09:11:04 -06:00
Audrius Kucinskas
7dbb17e485 describe_snapshots change to non-plural fix 2014-05-09 09:49:44 +03:00
Joseph Hall
f39319de6f Merge pull request #12643 from meteorfox/expose-OS-base-url
Expose libclouds' base_url property as an OpenStack configuration.
2014-05-08 18:14:28 -06:00
Nicole Thomas
a77b55f054 Merge pull request #12527 from baconz/develop
Add unit tests and function doc strings to gpg renderer
2014-05-08 16:41:45 -06:00
Carlos L. Torres
7de1e45d37 Expose libclouds' base_url property as an OpenStack configuration.
Apache libcloud has a property called 'ex_force_base_url' which
allows the user to use the specify URL as the API endpoint instead
of using the URL in the endpoint service catalog. This patch
exposes such function to the provider definition as a 'base_url',
and is totally optional.
2014-05-08 17:25:18 -05:00
Ben Keroack
3660100590 check if all minions have returned 2014-05-08 11:06:05 -07:00
Thomas S Hatch
d6d96efd41 Merge pull request #12636 from garethgreenaway/adding_range_to_schedule
Feature Addition to schedule.py
2014-05-08 11:40:46 -06:00
Thomas S Hatch
f36248796d rename redis_exec to redis/redismod 2014-05-08 11:38:05 -06:00
Thomas S Hatch
ddec1fc857 Merge pull request #12635 from KennethWilke/develop
Created basic redis exec module
2014-05-08 11:35:10 -06:00
Thomas S Hatch
84a28e9a15 Merge pull request #12634 from whiteinge/doc-replace-append-versionadded
Added versionadded to new args to file.replace
2014-05-08 11:34:05 -06:00
Thomas S Hatch
2067d5e9ba Merge pull request #12633 from crook/develop
fix issue #12388 since of unexpectedly overwrite query
2014-05-08 11:33:44 -06:00
Thomas S Hatch
104235912c Merge pull request #12627 from bc-23/ipv6-support-master-uri
Check for IPv6 address master_uri address
2014-05-08 11:30:58 -06:00
Thomas S Hatch
08682e1394 Merge pull request #12626 from fivethreeo/patch-3
fix for issue #12614
2014-05-08 11:29:58 -06:00
Thomas S Hatch
75aba02cfd fix formatting 2014-05-08 11:29:00 -06:00
Thomas S Hatch
42b207ccae Merge pull request #12625 from bc-23/missing-ipv6-in-auth-resolver
Add IPv6 support to auth Resolver
2014-05-08 11:26:36 -06:00