Commit Graph

19 Commits

Author SHA1 Message Date
Grzegorz Grasza 462305315c Check policy when handling a HTTP request
* Add default policy for handling the create request.
* Allow it to be accessed only by nova service.
* Remove unused code copied from cinder.

Change-Id: Ieaa407f27c6774d1fd17850a9571de5554360bae
2019-01-18 11:27:09 +01:00
Grzegorz Grasza e34047457c Install novajoin-ipa-setup script in /usr/libexec
Since novajoin is branchless, we need to support
older releases, which may call this script from the
old location. Additional novajoin-ipa-setup script is
installed in the old location for backward compatibility
and calls the new "compiled" script in the default bin
directory.

Change-Id: I0a25ffb1f5fd3f8723bff8a1bcfc6dfc486b2b4a
2018-12-19 21:05:51 +00:00
Grzegorz Grasza 46529a445d Bump development status and add Python 3 support
We have the functional tests going in the CI and novajoin is part
of TripleO and RDO, already being considered to run on many large
production systems, so I think the Beta designation is appropriate.

Change-Id: I7bb279160bb1bc25512898251876293699c5063d
2018-12-03 16:38:53 +01:00
Grzegorz Grasza ed1838b7af Fix errors preventing novajoin to start on Python 3
This patch also moves the novajoin-install and novajoin-ipa-setup
scripts to the default python scripts directory. This is because
there is no other way to fixup the #! line for python3, apart from
modifying setup.py, which is managed by the global requirements repo.

Change-Id: I21ccb475905feebdb91aa158ce3845744b2f0a5f
2018-11-26 17:55:15 +01:00
Grzegorz Grasza 933a69baa6 Fix project URL
Change-Id: Ieefe978d21acb99cb2745c3813b44d96bce5185a
2018-10-25 22:18:06 +02:00
Rob Crittenden 3969a46c21 Add sample systemd service files
Change-Id: I7a1bdbdd88b454a79172164199ed49521a97cc88
2017-08-22 15:12:30 -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
Juan Antonio Osorio Robles d55333ea02 Use novajoin-specific directory for configurations
This will allow us to stop depending on openstack-nova-common and to
containerize easier.

Change-Id: I4c402ecd558634ebeaeae34b134083512628025d
2017-05-23 14:20:13 +03:00
Juan Antonio Osorio Robles b5f5ad703f Add README to docs and use rst format for it
In order to add the README to the docs, the format was moved from
markdown to rst; and some fixes were done to it.

Change-Id: Ic1337fcadaa344128dd89cd2b5b9db90f3ac7603
2017-03-29 16:19:25 +03:00
Ade Lee b67243c163 Fix build
join.conf is a generated file so it cannot be in setup.cfg.

Change-Id: Idba9e401796e8d857212930791eac6070be9a646
2017-01-06 16:40:35 -05:00
Ade Lee 80446befc1 Move config files to /etc/nova
Config files were moved to /etc/nova, but we forgot to update
setup.cfg.

Change-Id: Ifae8ca1a2cae17bfd57c182738b1f5424c577472
2017-01-06 15:32:28 -05:00
Ade Lee 0915572da0 Move cloud-config.json to cloud-config-novajoin.json
Change-Id: I042392b816cc2b82b98162153fb145f5a6399310
2017-01-05 16:06:32 -05:00
Ade Lee b0c0bf145a Added ability to generate config file
To generate use tox -e genconfig

Change-Id: Ie2065f822991bf308805de7788712cdc7b31d1dc
2017-01-04 12:14:30 -05:00
Rob Crittenden 54dcbc323d Complete changes to use /etc/nova/join.conf
Fix the remaining places that referenced /etc/join/join.conf to
use /etc/nova/join.conf instead.
2016-11-30 04:36:08 +00:00
Rob Crittenden 052651fdc5 Fix a few values in setup.cfg in preparation for PiPi
* summary and license were missing
* switch description to file type and use README.md
* add hyphen to home-page
2016-11-29 15:46:54 +00:00
Juan Antonio Osorio Robles 885c7c6b2c Remove version definition from setup.cfg
Setting a specific version in setup.cfg tells PBR to constraint
itself and use that specific version. This is called preversioning as
stated in the PBR documentation[1]. And leads to the issue of
tox not being able to run, since the running of setup.py breaks,
because there is a version mismatch.

Other projects have dealt with the same issue, such as
manilaclient[2], and ended up removing this version from setup.cfg.

[1] http://docs.openstack.org/developer/pbr/#version
[2] https://bugs.launchpad.net/python-manilaclient/+bug/1395067
2016-11-29 16:44:42 +01: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 3c25e95495 Switch to using pbr to build the package 2016-11-10 14:39:41 +00:00