Commit Graph

35 Commits

Author SHA1 Message Date
Harry Rybacki 265146ed2e Become 1.3.0
Change-Id: Ia5d9f82219ceffd50e5d1b3f3be3c216a63e2e74
2019-12-17 09:43:36 -05:00
Harry Rybacki b971c7836f Become 1.2.0
Change-Id: I5b26e62b0de1204284b30a0dc972e1dd6534f608
2019-09-12 13:16:39 -04:00
Grzegorz Grasza 74fd4c4357 Become 1.1.1
Change-Id: Ia5483264808812e8b7550aa44240d05c9b7337de
2019-02-07 19:33:24 +01:00
Grzegorz Grasza b3f961e331 Become 1.1.0
Change-Id: I38e1cb161dabec02de72a7d22cb1ace7cda6f142
2019-01-08 13:54:33 +01:00
Ade Lee c75c4c05a1 Become 1.0.22
Change-Id: I2a44e1e52317c1bf05aa76e07c7bd5283521e02e
2018-12-13 00:05:49 -05:00
Ade Lee fde8eb6867 Become 1.0.21
Change-Id: Ibc015732185781c8b6a213794b828a5a759381a7
2018-11-09 13:46:09 -05:00
Juan Antonio Osorio Robles 0b05c95388 Become 1.0.20
Change-Id: I4107242b32f889e03f42f6eb361b3a4564cbbfec
2018-10-23 09:40:55 +03:00
Ade Lee 3d58511664 Become 1.0.19
Change-Id: If4c572071d6e6337146316d31ec95e0c80e4f92b
2018-08-24 13:39:43 -04:00
Juan Antonio Osorio Robles 12552eb4d0 Become 1.0.18
Change-Id: I0614372265510b3f210a9465a4689822e134d768
2018-02-22 15:57:05 +02:00
Rob Crittenden 67896f8a9c Become 1.0.17
Change-Id: I58bee7a7b681e16f4bae0b34f3b9b1df519e9c18
2017-09-14 14:29:59 -04:00
Rob Crittenden c422f02c7b Become 1.0.16
Change-Id: I96145b22bcf5c9287e94f9755e92ec221c9f3070
2017-08-28 17:08:55 -04:00
Rob Crittenden dbafbd603a Become 1.0.15
Change-Id: If721e580020112eec9ab326612d595162885274c
2017-08-21 11:40:16 -04:00
Rob Crittenden f34e8807da Become 1.0.14
Change-Id: I3240c98e9c291a0e592cef4be085867a99596014
2017-08-04 09:59:51 -04:00
Rob Crittenden 652c5f96d7 Become 1.0.13
Change-Id: I9a48b9a558eccd038c210ca38fc46d55ead8e1a6
2017-05-26 11:17:20 -04:00
Rob Crittenden b6e5a889a7 Automatically generate the server scripts
This brings novajoin in line with other projects and fixes
source-based kolla container installs.

Change-Id: I506b560d44ac15722262da8f8942af76d61d847c
2017-05-25 11:47:05 -04:00
Rob Crittenden b368b95dbc Become 1.0.12
Change-Id: I0de5786758d4ccdb95539013e7beada5c924b03a
2017-03-29 10:46:08 -04:00
Rob Crittenden b33684b781 Become 1.0.11
Change-Id: I8dbebe0fc293867117702c1b16439db9a702dc89
2017-02-14 10:09:10 -05:00
Rob Crittenden b9698f3bab Become 1.0.10 2016-11-30 04:37:12 +00:00
Rob Crittenden 7fbf469990 Become 1.0.9 2016-11-29 16:15:41 +00:00
Rob Crittenden e9527abe86 Require a valid image id to enroll a host
I was previously ignoring an invalid or inaccessible image but
I think this should instead be a hard failure. How can a user
request an image create in nova with an image that can't be read?

I also noticed that it was possible for any test looking for a
raised error to fail if that exception wasn't raised so
assert(False) in that case.
2016-11-29 16:14:37 +00:00
Rob Crittenden dcf5d621d7 Move the configuration file to /etc/nova/join.conf
This was requested by the puppet team for inclusion in the
puppet-nova module. It does make a certain amount of sense for
all nova-type configuration to exist in a single place.

oslo.config isn't really made to handle this type of thing. If
project='nova' and prog='join' it would still find
/etc/nova/nova.conf first and try to load that instead. So I
had to duplicate some of the oslo.config code and hard code
nova and join in order to simulate the previous behavior but
work for my purposes.

The original location, /etc/join/join.conf, is the final
fallback to support any existing installations.
2016-11-29 16:14:37 +00:00
Rob Crittenden 923739e15f Become 1.0.8 2016-11-17 16:32:20 +00:00
Rob Crittenden 025c81c35b Become 1.0.7 2016-11-10 14:39:41 +00:00
Rob Crittenden ef2c9baa36 Address issues found by pep8, pylint and unit tests
flake8 is quite a bit more picky and discovered a lot of
issues.

Don't let missing configuration blow things up in order to be
able to run unit tests.

Hacky workaround for missing ipalib/ipapython in PyPy
2016-11-09 19:52:38 +00:00
Rob Crittenden 981927d722 Become 1.0.6 2016-10-07 10:31:36 -04:00
Rob Crittenden 8a48b623ea Become 1.0.5 2016-10-04 10:54:14 -04:00
Rob Crittenden 29cac09eef Become 1.0.4 2016-09-22 13:11:54 -04:00
Rob Crittenden b1c36e62e9 Become 1.0.3 2016-09-20 13:18:28 -04:00
Rob Crittenden 861f151c4b Become 1.0.2 2016-09-07 14:39:40 -04:00
Rob Crittenden 19b9e92b26 Become 1.0.1 2016-08-29 17:30:51 -04:00
Rob Crittenden 60a8e67a8c Use a service user to get Keystone tokens to talk to services
The authentication scheme of the REST API is still a bit up
in the air so switch this to not rely/expect authentication
but instead to use the nova service user to talk to other
services.

Eventually this should use its own service user.

This enables us to get images from glance but also to handle
looking up the information we need when Neutron assigns a
floating IP address. This means we can create the hostname
in IPA DNS in advance so it will be on the public network
and not the private one.
2016-08-25 17:09:55 -04:00
Rob Crittenden 5e87b345af Replace print with a LOG statement 2016-08-18 13:43:03 -04:00
Rob Crittenden d3c72da5a9 Get auth context from request and use it to to get glance image
Add a new middleware to get the Keystone token from the auth
headers.

Add a simple glance client to retrieve image metadata.

Update the default paste configuration to require auth and
make a copy of the token for internal use.
2016-07-14 22:22:34 +00:00
Rob Crittenden 4cabc343e2 Fix setup and installation to more or less work properly
Some manual work is still required, particularly in the nova
configuration.
2016-07-07 14:14:20 +00:00
Rob Crittenden 1c51140028 Initial commit of REST/notification services
This is based heavily on the WSGI code in cinder.

There are two services: a REST service and a notification
listener.

Currently both log only to stdout.

The configuration file join.conf controls the REST service.

nova configuration should look like this (assuming the REST
service is running on the nova compute host).

vendordata_providers = StaticJSON, DynamicJSON
vendordata_dynamic_targets = 'join@http://127.0.0.1:9999/v1/'
vendordata_driver = nova.api.metadata.vendordata_http.HTTPFileVendorData
vendordata_dynamic_connect_timeout = 5
vendordata_dynamic_read_timeout = 30
vendordata_jsonfile_path = /etc/nova/cloud-config.json

For the notification service like this:

notification_driver = messaging
notification_topic = notifications
notify_on_state_change = vm_state

Authentication is disabled in api-paste.ini for now.
2016-07-05 19:53:11 +00:00