Add ability to bypass proxies for some domains
by adding them to NO_PROXY list.
Change-Id: I4b1e63918d467d6ee6bb90f69fc0cbf5b7be4961
Closes-Bug:#1534505
Use urlparse to fetch location part and match it
against a simple localhost regexp
Change-Id: I09ade41fc644545526dbd082ef3ca4967a7bf57c
Closes-bug: #1628880
(cherry picked from commit 6e36349d84)
As per OpenStack licensing guide lines [1]:
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.
[1] http://docs.openstack.org/developer/hacking/#openstack-licensing
Change-Id: Iea4ef1c2eb66e9af4eee0e8a7b5088de115c8b1a
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I62e9a6d895685c07ec87a5cc910c5036e05b4906
The library, which displays user interface, urwid,
executes ioctl on stdin file descriptor, which
works only on ttys. Let's report error, when we run
not on a tty to make error investigation easier.
Change-Id: I15e80f14f65f6467eca153dc2cd73c64751c9154
Partial-Bug: #1607402
This change adds new GrubPassword module to the fuelmenu which can
configure password for the editing grub menu. The module creates the
default /boot/grub2/user.cfg file with hashed password only when it
entered interactively. For security reasons the plain password never
stored and the file always overwritten with new one provided.
DocImpact
Closes-Bug: #1552164
Change-Id: I3bc330133dd3d71ea62a7169a84d9ad802a4a3ef
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Fuelmenu updates resolv.conf but uses old nameservers till restart.
It makes NTP and repository accessibility checks to fail.
Change-Id: Ifc6f1d51f655b7329af6942bb060beebeeae5fef
Closes-Bug: 1603445
If logging.basicConfig is called after logging.getLogger
then it will not work properly. So we have to call
basicConfig before imports.
Change-Id: I663aad3cc55925e09ebb3df916cd60cae196c350
Closes-Bug: #1596646
This reverts commit af10eca2e7.
Because it breaks the default routing for routerless configurations
like VirtualBox for example. By default Fuel master-node always acts as
a router (https://github.com/openstack/fuel-library/blob/master/
deployment/puppet/fuel/examples/host.pp#L145-L146).
Change-Id: I2028f28a21d41cc34980a6a6d94331b1ffe5c8e0
Closes-Bug: #1591322
It's possible to change PXE settings on post deploy stage, but, in fact,
dnsmasq configuration will not be changed. This patch introduce puppet
call to get these changes applied.
Function puppetApply was refactored to return Bool value,
previously it has returned None or False.
Change-Id: I3fc7097035f492ad24483205cedc0d2c773af24b
Closes-Bug: #1500667
Depends-On: I9200c90747dba1e5c5b4e5457e423cb4c3ff3062
Adding service_token_off to astute.yaml lets us reuse a
fuel-library single class to disable the keystone service
token.
Change-Id: Idb7694b19792a6c43c2752867da7c34b995513d0
Partial-Bug: #1582893
There is need to run puppet apply host manifest when some changes
were made in the post_deployment phase in the security module.
Change-Id: I88d409f7d4819e2662d51a4cf42719ccbda2a3bd
Closes-Bug: #1583593
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Adding service_token_off to astute.yaml lets us reuse
a fuel-library single class to disable the keystone
service token.
Change-Id: Ia22163d572a581f2f159396346fbb83cbe7bee94
Partial-Bug: #1582893
* Use common logic for 'normal' and 'save_only' modes -
call modules logic in both cases
Change-Id: I4ba533c1b7e9eb9e9e4538bec33b0565a8f8f2f0
Co-Authored-By: Fedor Zhadaev <fzhadaev@mirantis.com>
Baesed-On-Change-Id: Id54f1229915336b8aebdb36562e06e2596c003f1
Closes-Bug: #1502110
Previously fuelmenu took first network interface
(if it's not specified by user) as default option
for admin NIC whether it has IP address or not.
Now it tries to find a NIC with IP assigned, so
it works fine without additional options when
admin network is attached to not first interface.
Change-Id: Iabd0ebb81af40b4f97f67df92403fcff7c268edf
Related-bug: #1566557
Apply feature_groups settings in Nailgun only during post-deployment
phase (when Fuel master is installed) and only if they were changed.
Change-Id: Ia849153e15f4bd9ab568221374a7f8ef2fb6c52d
Closes-Bug: #1578979
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Set up correct default DHCP gateway to exist router,
not to non-routable Fuel master node.
Change-Id: I3ac680d32be8b69f4554aae3c9b85e9f90825e35
Closes-Bug: #1516390
Now all active modules should be imported explicitly.
Also rename all modules classes and remove priority.
Change-Id: I9114165f15bf1b4f82bc9a60ae2fd4719d80fa36
Closes-Bug: #1576544
Create a file and take a lock on it before running main
part of fuel-menu, so running two copies would be impossible.
This patch adds an option -l, --lock-file to have ability to
specify path to lock file.
Change-Id: I8ab41e6e068caa0881e0affcbfb5695a9025b762
Closes-Bug: #1566401
Fuelmenu doesn't need to report ERROR level log when reporting
"Unable to read YAML: /etc/fuel/astute.yaml" because we have no
default astute.yaml any more.
Change-Id: I6ae10f45f5fdc2d94d42fb018a3d7090a5c6b057
Closes-bug: #1567307
Docker is no longer used, so this is a way to tell if
the system was deployed and block changing risky settings.
Change-Id: Ic78a973ca7e9f16b1f32c98f15f736993615e859
Closes-Bug: #1567300
While it is unclear how fuel_client.yaml was installed
for root user before puppet run, it is prudent to revert
while investigating.
This reverts commit eabced5755
Closes-Bug: #1568789
Change-Id: Iac4dbce4d2c8b560dac5b2d8c0f6d443f223758e