api v1 - Users controller and tests
- split api routes to separate routes file- better detection of permission failure in model- fix ApiConstraints- catch bad routes in api and return json- render home#index links from restapi- fixed resource params recognition
api v1 - fixing permissions
cleanups in base controller
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json
fixes #1775 - API versioning name space
[refactor] - simple method to display ec2 instance name, instead of using tags everywhere
fixes #1764 changing per_page setting would update only after a restart
this commit changes it back to an area in the code which gets evaluatedeverytime instead of upon startup only
Openstack images should show foreman defined images
at least for now as long as we don't support remotefetching of images
basic openstack support
refs #1589, ensure that vmware public key is automaticilly imported when testing connection
fixes #1729 safer migration code.
fixes #1463 - let Foreman run on a sub path
e.g. for it being available on http://localhost:3000/foreman you run:
RAILS_RELATIVE_URL_ROOT=/foreman rails s
fixes #1715 - rake puppet:import:puppet_classes[batch] stopped working
fixes #1714 allowing users with build permissions to access the submit multiple
fixes #1700 audit page performance improved
remove references to old class names
audit with association.
fixes #1649 Puppet class and environment import works only on the first smart-proxy
make sure tests can run independtily
fixes #1544 - Updating a host fails if you cannot reach the SOA nameservers
audit as twitter and versions for template.
This also closes #1377 as it offer versions and diff view of the tempates.
it is not ideal, but it should handle the most common case for now,where we should open other feature requests to support all of the ideas in #1377
wip audits upgrade
don't allow to delete a provisioning template when its assigned to an OS default template
make DNS lookup not fail on socket errors
Since ssh script now runs post commit, we can not update any attributes within the save method
fixes #1676 have memory size use factors of 1024
fixes #1667 - restrcutre fog extensions code
fixes #1656 add support for systems with terabytes of memory
[EC2] Adds retry on host not available, add some useful debugging.
- debugging, to get the whole message- add backtrace to compute resource failure msg- add debug logging for Fog errors on create
fixes #1597 - Restrict compute resources access by user
And add some rights to give non admin users so they can perform some normal actions on the hosts they own.
unit/domain_parameter_test.rb self-broke... added a tiny fix.Removing compute_resources/vms nesting, it is such a nightmare for functional tests....
fixed ui for adding and removing ovirt volumes.when creating a vm from template, if there was an error in theform. the vm volumes didnot display correctly.adding and removing volumes in the same submit action did not function well too.
adds ec2 provisioning support fixes #1223
- added progress bar for instance creation- minor fixes for certname based deployments- added ssh provisioning support to orchestartion, which utilize finish scripts by default- added images support (part of the vm compute tab)...
fixes #137 - Better support for non-hostname certnames
This patch introduce a new setting :use_uuid_for_certificates whichdefaults to false.
users who wish to deploy their hosts using a random unique id, shouldenable that setting, and use the certname directive in their puppet.conf...
refs #1589 - Remove hardcoded vmware vsphere_expected_pubkey_hash
Now, users will create a ~/.fog file containing:
=begin:default: :vsphere_expected_pubkey_hash: HASH_VALUE=end
Fog will use this file when contacting vsphere to validate the ssl cert....
fail gracefully if fog is not installed
ensure rubygems are loaded in case facter / puppet are installed as a gem
cleanups to rails 3 boot process
added basic ovirt vm show page, minor fixes in compute resource level
fixes #1574 - ovirt - add remove and show volumes
minor ordering issue for nics/disks when creating libvirt instances, refs #1452
refs #1452 improved libvirt on debian handling
fixes #1452 use fog for libvirt management
This patch introduces a few new features:
first go at vmware integeration refs #955
this patch adds the ability to add a vmware compute resource, and display their console
hard coding vnc display for now, as we don't support spice display just yet.
Adds VNC support within the browser
At first, this allows to view oVirt managed hosts within foreman.
Add Connection testing for EC2 compute
fixes #1540 added suport for provisioning on ovirt/rhvem using fog.
This patch addes a compute resource concept within foreman
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
improve mac regexp, refs #1273
code smell
Fixes #944 - clear network conflicts
When a network conflict is detected (such as conflicting ip/name dns ordhcp records), foreman would try to suggest a resolution.
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
refs #1503 better handling of migrating to puppet proxies
fixes #808 - Add smart-proxy puppetrun to foreman
fixes #1503 - When creating a host, it should be possible to define a Puppet CA and a Puppet Master to use
fixes #1530 - Disabling puppet env in ENC is now a configurable.
fixes #1528 - tidy up the default settings loader.
Attempts to tidy up the default settings a bit.
Signed-off-by: Mikael Fridh <frimik@gmail.com>
fixes #1509 - Foreman should use the proxy to import puppet classes
fixes #1324 - Separate permssions on hosts from permissions for objects within hosts.
This allows a user to be granted permission to edit the host (and so change the group or proxy) but not, for example, edit the parametersThis could probably be extended further if necessary.
fixed issues with newer version of virt, reusing the newer gem
fixes #1476 - toggling between bare metal to an hypervisor renders js errors
fixes #1451 - Host creation fails if ":tftp_servername:" is set in proxy-settings
fixes #1446 - expire idle web sessions
fixes #786 - Add the option to use existing DHCP reservations
note that this patch only ensures that the ip used is the same as theexisting dhcp record.if there is a mistmatch in what foreman expects in the reservation vs.actual state, #944 should kick in.
fixes #1422 - Media is greyed out when creating Solaris hosts
fixes #1421 - expose subnet ranges for automatic IP address allocations
Fixes #1420 - bootserver ip lookup fails when not managing DNS
Revert "Fixes #593 - Separate log file for facts and reports"
This reverts commit 5e7454fc1f73ebb599cf7dc96faa22836eebd11c.
Revert "Fixes #944 - clear network conflicts"
This reverts commit 117ba92a758e4589ef5fdf1f1b9083402b2d317b.
fixes #1300 Add support of HTTP Auth with REMOTE_USER env variable
Fixes #593 - Separate log file for facts and reports
fixes #1381 - nextServer should be handled internally as an IP address not a hostname
WIP rails3 migration
fixes #1273 - wrong MAC address regexp, now with the right regexp
fixes #1273 - wrong MAC address regexp
fixes #1257 - various fixes around bcm dhcp record
fixes #1263 - mac field is not shown when toggling from virtual to bare metal
Fixed #1241 - Now prompts with default flash file name
fixes #1166 - be more liberal in accepted values for to_gb - add better logging message
Signed-off-by: Tim Speetjens <tim.speetjens@gmail.com>
new UI for foreman
refs #1186, fixed wrong condition
fixes #1186 foreman does not forward sparc dhcp vendor options when creating a sparc Solaris host
cleanup typo
fixes #1121 - convert dns handling to real network objects
fixes #1122 - extracted common REGEXPs
fixes #1120 - Replaced DHCP functionaitlity by the new net dhcp record classes
fixes #1085 - add default domain and subnet settings to hostgroups
fixes #724 - Allow default VM specs to be tied to a hostgroup
fixes #1058 Adds support for OpenSuSE provisioning
Fixes #989 - Add Sparc Solaris support
Fixes #636 - Update environment from facts
wrong setting category - refs #636
Fixes #1039 - ssl_private_key name
fixes #685 - records per page should be configurable
This patch adds a new setting how many records should be per page.
note that since the code is in the ActiveRecord::Base class, and thatits in lib (e.g. loaded once) you would need to restart foreman everytime you change this value....
fixes #898 - remove old search leftovers across the app
fixes #822 - Allow a Customizable "Reply" Address in Email Configuration
fixes #1050 - Foreman settings should not be viewed/edited by non admin user
fixes #1043 - make autosign optional
fixes #777 - this enable auditing of when a host is changing its puppet class assignmetns
one limitation of this patch is that at the moment, each class changegets its own audit record.
fixes #1029 - allows smart variables to be resolved via http get request.
this would allow to an external query to resolve a variable value to a given host.
e.g.http://foreman/hosts/<fqdn>/lookup_values/<variable_name>
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
splitted setting default data from the migrationthis allows to add new data and modify its defaultsimproved settings UI a bit morerefs #100