1194 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
2c751474e5 Updated from global requirements
Change-Id: I0e32235379e6557b5414bb4512799c735398b212
2016-11-04 14:08:31 +00:00
OpenStack Proposal Bot
88aab1915b Updated from global requirements
Change-Id: I1d7f5941e927372ce5185b41efa46ac8bd4b8492
2016-11-02 15:32:34 +00:00
Shivanand Tendulker
7471d4004e Remove duplicated logging in configdrive creation
Ironic-lib logs a message when configdrive is created
successfully. Remove duplicate message from IPA.

Change-Id: I2af81cdfda4cfc004288f44d14a5c127639cc1f1
2016-10-26 02:47:53 -07:00
Jenkins
3527c0f25c Merge "Updated from global requirements" 2016-10-21 22:01:49 +00:00
Jenkins
0727443b1a Merge "Use ironic-lib to create configdrive" 2016-10-21 15:42:59 +00:00
Shivanand Tendulker
3665306dfb Use ironic-lib to create configdrive
Shell script to create config drive being replaced with python
code in ironic-lib.

Closes-Bug: #1493328

Change-Id: I31108f1173db3fb585386b2949ec880a95305fb6
2016-10-21 03:39:06 +00:00
OpenStack Proposal Bot
0ce1e341a1 Updated from global requirements
Change-Id: I2d523a2c81427a1c17280d5b00dfbde644d8121f
2016-10-21 00:43:14 +00:00
Jenkins
c393214528 Merge "Install grub in the EFI "Fallback path"" 2016-10-20 16:18:49 +00:00
Derek Higgins
cc5556d06b Install grub in the EFI "Fallback path"
In systems where the nvram may have been reset, add
\EFI\BOOT\BOOTx64.EFI to the EFI system partition so that
the image continues to boot. This will be particularly useful
if the NVRAM wasn't written correctly or if the baremetal
server is be simulated on virt and the NVRAM was been reset
on start (as is the case in libvirt).

Change-Id: I5005ae02c283cdc01540ea46c341a7b0bf9d4c42
Closes-Bug: #1632637
2016-10-20 13:50:02 +00:00
Vladyslav Drok
7bda3408f5 Fix config drive writing script
When the deployment happens on a GPT disk with config drive, writing
it to disk fails. Three reasons for that:

* parted should be used instead of partprobe to determine the type of
  the disk;
* gdisk -l sorts the partitions by their number, sort them by start
  sector instead;
* after sgdisk completion, the configdrive device is not immediately
  visible in the /dev folder, udevadm settle needed here too.

Closes-Bug: #1633063
Change-Id: Ifed89e343f9db4cf303baf7f8823342f6041f202
2016-10-18 00:28:04 +03:00
Jenkins
dca181a47c Merge "Add support for root device hints with operators" 2016-10-14 18:31:04 +00:00
OpenStack Proposal Bot
772ff4e7e6 Updated from global requirements
Change-Id: Ic70856a9285d0956af9ace0286e3fe001d178bde
2016-10-11 22:18:26 +00:00
Lucas Alvares Gomes
cca1cd48ef Add support for root device hints with operators
This patch is updating IPA to use the match_root_device_hints() method
provided by ironic-lib version 2.2.0.

Partial-Bug: #1561137
Depends-On: I1d9dc7a57ea391a3419710c289242b39a4201463
Change-Id: Id93dd0360137df600f5a656348279e56c6b84bf9
2016-10-11 15:43:50 -03:00
Jenkins
4d26be6e98 Merge "Use CoreOS 1068.10.0" 2016-10-11 13:21:01 +00:00
Jenkins
6490425b5b Merge "Remove Python 2.6 format style" 2016-10-10 16:32:20 +00:00
Jenkins
a3ba54e1e4 Merge "Update .gitignore to ignore .idea of PyCharm" 2016-10-10 13:09:58 +00:00
Jenkins
5c1084c7e3 Merge "[tinyipa] allow skipping python compileall" 2016-10-10 10:32:24 +00:00
Jenkins
46226d8c06 Merge "[tinyipa] remove trailing slash from TC repo URL" 2016-10-10 10:32:09 +00:00
linbing
c3bf482254 Update .gitignore to ignore .idea of PyCharm
Change-Id: Id5d0820cebff0f236dc98907e29ad30a9c0b27c8
2016-10-10 13:58:43 +08:00
Jenkins
096e3798b3 Merge "Update reno for stable/newton" 2016-10-09 18:56:42 +00:00
Jenkins
253aa7fcb0 Merge "Force en_US language for tests" 2016-10-07 20:35:53 +00:00
linbing
156ddaa966 Force en_US language for tests
This patch forces the use of the en_US locale for tests run.
This is done to avoid tests failing due to message translation.
For example:

When asserting if the message of an exception is correct, those are
usually hardcoded in the tests.

Change-Id: Ia8068b454f1461f17994733afc57337f4b017460
2016-10-07 13:50:43 +00:00
John L. Villalovos
20d960ff98 Remove Python 2.6 format style
In Python 2.6 it was required to use {0}, {1}...{n} when using the
string format function. In Python 2.7 and Python 3 it it not required.

Change {N} to {} in code.

This brings the code in style alignment with other projects like
ironic and ironic-lib.

Change-Id: I81c4bb67b0974f73905f14b589b3dd0a7131650d
Depends-On: I8f0e5405f3e2d6e35418c73f610ac6b779dd75e5
2016-10-06 09:05:26 -07:00
Davanum Srinivas
f1a8fef5d0 Update reno for stable/newton
Change-Id: Ic91d44749eb85a0f53e023daf5d128cc25b5c2ce
2016-10-05 11:23:16 -07:00
Pavlo Shchelokovskyy
9e442b2050 [tinyipa] remove trailing slash from TC repo URL
This produces urls with `//` which works but looks strange.

Change-Id: I9ff9ec940d7f814df669c752c5f7a6d7380b8175
2016-10-05 12:38:43 +03:00
Jenkins
bf3c4fb38c Merge "Fixed typo in doc file" 2016-10-05 02:15:36 +00:00
Pavlo Shchelokovskyy
67bd15c1b5 [tinyipa] allow skipping python compileall
Somtimes it is useful to have tinyipa image with normal Python
experience (access to source code for debugging, Python interpreter).

This patch allows to skip compiling all Python to *.pyo and
removing all *.py[c] files by setting

export PYOPTIMIZE_TINYIPA=false

in the shell before running the build scripts.

Change-Id: I570d5a30af0f6a0c9de533e61d03ad5c198c2864
Closes-Bug: #1629953
2016-10-04 12:23:31 +03:00
Dao Cong Tien
c2b305513a Invalid URL and typo in .rst files
Change-Id: I17377b4b7b2e8ecc0ce3dbc4ac7de9398912ada9
2016-10-03 13:38:07 +07:00
Jenkins
bc1cf13889 Merge "Add info on tinyipa to docs" 2016-09-28 21:00:33 +00:00
Anh Tran
8f8e9f921e Fixed typo in doc file
TrivialFix

Change-Id: I6e680ccae6c169eae433f376890a8f2e5a19849a
2016-09-28 08:45:07 +07:00
John L. Villalovos
f6acb7cc03 Add py35 to tox environments
Since we're running python 3.5 tests now, we should also be
running them when running all tests with just `tox`.

Change-Id: I3f57abcbeaa3550f49d56f08140a34d6989885c9
2016-09-22 11:17:41 -07:00
Pavlo Shchelokovskyy
1dcb656886 Add info on tinyipa to docs
Mention tinyipa in Image Builders section and in troubleshooting.

Change-Id: Ic6cfe64255aba0460cc960a98b18580b7798b204
2016-09-22 14:16:28 +03:00
OpenStack Proposal Bot
629b599d8b Updated from global requirements
Change-Id: I51982b914de8fee7132117bc00cee5e868a11aea
2016-09-21 19:06:47 +00:00
Jenkins
6f98e534f5 Merge "Add vendor, product to interface information" 2016-09-21 15:43:10 +00:00
Jenkins
a947a7c287 Merge "Improve error message while download image" 2016-09-21 15:28:43 +00:00
Jenkins
1fd53460da Merge "Enable SSH access to tinyipa" 2016-09-21 14:51:33 +00:00
Moshe Levi
fe3b630360 Add vendor, product to interface information
This patch updates the interfaces JSON to include
vendor and  product
u'interfaces': [
    {
        u'mac_address': u'00:0c:29:8c:11:b1',
        u'name': u'eth0',
        u'ipv4_address': None,
        u'switch_chassis_descr': None,
        u'switch_port_descr': None,
        u'lldp': None,
        u'vendor': u'0x15b3',
        u'product': u'0x1014,
    }]

Co-Authored-By: yogananth subramanian <ysubrama@redhat.com>

Closes-Bug: #1611856

Change-Id: I8fa58dde29601abee959f74b69b692ed9eaffb94
2016-09-21 10:14:26 -04:00
Galyna Zholtkevych
993149cfb4 Improve error message while download image
Collecting warning logs in the case of download failure
and write them to error logs in the end. This will help
a user to diagnose a problem when warning log was not
enabled.

Change-Id: I4198d7be08fc11b616b3f95c595ff53794436e24
Partial-Bug: 1512186
2016-09-21 10:02:22 -04:00
avnish
9f52f47acd Update home page link in cfg file
Change-Id: I2c6d8b2aefd1a64ca75162d054309aef9917d2b8
2016-09-20 14:42:14 +05:30
Pavlo Shchelokovskyy
2136ded582 Enable SSH access to tinyipa
might be useful sometimes,
for example debugging in normal terminal is usually more pleasant
than in QEMU console.

Add env variables `ENABLE_SSH` and `SSH_PUBLIC_KEY`,
documentation is amended accordingly.

Change-Id: I71352c2087e1fb9a7174affb78fe695932a924d7
2016-09-19 19:02:55 +03:00
Jenkins
dd69ef3cd5 Merge "Updated from global requirements" 2016-09-16 22:30:20 +00:00
Pavlo Shchelokovskyy
e20490ad7b Fix TINYCORE_MIRROR_URL option defaults
Change-Id: I4561116b4f8f2b60ebab9ad58ece8c2223f44abb
2016-09-16 10:54:18 +03:00
OpenStack Proposal Bot
4298e6cf07 Updated from global requirements
Change-Id: Ib4187ebeec2e6bafc4c32b5be58a0e03b3d72daa
2016-09-15 20:19:48 +00:00
Mathieu Mitchell
cceff3a16e Use CoreOS 1068.10.0
This release contains the following bugfixes:

* Fix timer assertion in systemd (#1308)
* Correct nameserver option parsing in networkd (#1456)
* Fix timer execution calculation in systemd (#1516)
* Improve journald’s resilience to ENOSPC errors (#1522)

Change-Id: I0eb908c1ebd8b1eb68376c6d833d1ab5346e4abe
2016-09-06 09:47:59 -04:00
Jenkins
c4c7115d4f Merge "Fix IPA for stable/mitaka with noauth mode" 2016-09-01 09:19:52 +00:00
John L. Villalovos
abf98ae84a Use namedtuple to improve code readability
Use the namedtuple class to improve code readability by creating a Host
class with namedtuple to store the 'hostname' and 'port'

Replace foo[0] with foo.hostname, and foo[1] with foo.port to make code
more readable.

Change-Id: Ie2b5f9cf89e7ccbbcf0a2573dab6f6c5d14c018b
2016-08-30 16:12:29 -07:00
Luong Anh Tuan
ddb78ec4b3 Remove unused requirements
oslo.serialization are not imported. Thus, remove them from requirements.txt

Change-Id: I59185786c812c504d043f9c1ae72952a4c2fab35
2016-08-30 16:55:34 +07:00
Jenkins
d60aa8ef65 Merge "Enforce upper-constraints when building ramdisks" 2016-08-29 20:49:23 +00:00
Jenkins
aa4c889a06 Merge "Using assertIsNone() is preferred over assertEqual()" 2016-08-29 18:43:18 +00:00
Gábor Antal
4facf2c385 Changed an assert to more specific assert method
Following OpenStack Style Guidelines [1], I changed:
assertFalse(sth in sth) to assertNotIn(sth, sth).

After this change, a more specific message is shown on error.

[1]: http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises

Change-Id: I5d47d775dcff194693d97db6b797b7b027cbab56
2016-08-29 15:40:44 +02:00