Ubuntu Pastebin

Paste from Joshua Harlow at Tue, 14 Apr 2015 23:49:07 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
$ git-review -R
You are about to submit multiple commits. This is expected if you are
submitting a commit that is dependent on one or more in-review
commits. Otherwise you should consider squashing your changes into one
commit before submitting.

The outstanding commits are:

cd204ed (HEAD) Add .gitreview file for 0.7.x branch
a74bfb7 (upup/master, upup/0.7.x) systemd: use network-online instead of network.target (LP: #1440180)
609fc5e adjust cc_snappy for snappy install package with config.
d0982b0 fix snappy package installation.
a7b7a93 allow-unauthenticated when done from local file
5ad95ec do not use set
9e5b7b0 remove debug
02afa87 be more user-friendly when looking for matching .config
54dc473 merge from trunk
2d5a8fb NoCloud: the local portion of NoCloud incorrectly claimed datasources
2aeade4 fix read_install
ff9b312 address namespacing
68516e6 set snappy command earlier
eacf44e change 'configs' to 'config', and namespace input to 'snappy config'
b2c0b00 fix scope so that SNAPPY_CMD is affected by set_snappy_command
5fb8a3f mention ubuntu-core
d0f9a00 improve doc, change 'click_packages' path to be 'snaps'
c8cbd78 rad_pkg_data: return data, fix undefined variable
51e9304 encode needed for yaml_dumps
277cd67 prefer snappy-go to snappy
760ff85 add tests for data types
4f2ebf6 pep8
15a1efa pep8, and some more tests
bd961c4 start of snap_op tests
1907da7 commit work in progress. tests pass.
b39cdfb Update SmartOS data source to use v2 metadata.
46cf15a Compile SmartOS line-parsing regex once.
92fbdea Add link to Joyent metadata specification.
08df63a Switch logging from info to debug level.
cbff834 Ensure that the serial console is always closed.
4a44c1b Add logging to JoyentMetadataClient.
68685db Refactor tests to assume JoyentMetadataClient is correct.
b4cc242 Convert DataSourceSmartOS to use v2 metadata.
38aacd2 Organise imports in test_smartos.py.
3756233 systemd: update config and final to run even if init jobs fail
b9b862c SmartOS: fixes for python3 reading from serial device.
7085835 emit_upstart: fix use of undeclared variable
1dfd78c Write and read bytes to/from the SmartOS serial console.
1445f1d userdata-handlers: python3-related fixes on do-not-process-this-part path
a6ec13f DataSourceMAAS: fix timestamp error in oauthlib
016b30f DataSourceMAAS: remove debug statement
3091b33 snappy: disable by default
8e9fa5d fixes from testing
1f543f8 DataSourceMAAS: adjust local timestamp in case of clock skew
0e3d2f9 do not raise exception on non-existant channel.ini file
39fadac DataSourceMAAS: generate oauth headers with adjusted timestamp in case of clock skew
f320734 fixes bug: https://launchpad.net/bugs/1428495 snappy: disable by default
1346e10 Fix hang caused by HTTPretty on Python 3.4.2.
ccbbd12 Add util.message_from_string to wrap email.message_from_string.
97cee53 pull in 'snappy' support
725a172 apt_configure: allow disabling
c4b91e9 grub-dpkg: allow to be disabled
cb63f29 locale: make able to be turned off
502a896 fix logging perms with list rather than single
5ec3487 Add util.message_from_string to wrap email.message_from_string.
09aa12b Fix invalid format string in CloudSigma logging.
e83c3b0 Convert dmidecode values to sysfs names before looking for them.
7825b8f Use more consistent logging invocation.
ddb9e74 add snappy module
dc36077 run emit_upstart only if upstart was init system
254e051 Fix hang caused by HTTPretty on Python 3.4.2.
b3dd41b Convert dmidecode values to sysfs names before looking for them.
00fd658 packages/debian: move software-properties-common to recommends, add eatmydata
c08264f MAAS: fix oauth imports and reading of command line seed.
b38cc8f DataSourceMAAS: fix oauthlib imports
590515f get_cmdline_url: fix in python3 when calling
7384075 util.py: remove 'print' debug statement
1450fd7 url_helper.py: fix undefined variable
1191ec8 pep8
af5c00b readurl, read_file_or_url returns bytes, user must convert as necessary
5270636 status_wrapper: do not swallow errors
98e1809 avoid conversion to string in #include
da0d2be UserDataProcessor: during include, do not convert to string
1be8cef move towards user-data being binary
f5dbb80 further fixing of non-text user-data.
7bc9a34 move recently added test_udprocess tests to test_data, improve a bit
abb9959 Azure: Fix consumption of user-data
4b5bbc6 use util.decode_binary rather than str, add tests.
9cb5cd7 tox: set LC_ALL=en_US.utf-8 rather than C
bb3135c CloudStack: support fetching password from virtual router
7c6ddf5 merge from trunk
00d0c78 Make parameter list for get_hostname method consistent
44542f8 Add documentation about upstream CloudStack HTTP fix.
5bbbacd Always close the password server connection, even on failure.
ee513fa Fix for Py2 to Py3 difference: cloud-init user-data mime conversion fails on base64 encoded data.
fdb46dd Split CloudStack password handling out to separate class.
0574e13 Minor formatting clean-up in CloudStack DS.
fbafcd7 Add automated tests for CloudStack passwords.
2033764 Set an explicit timeout when fetching CloudStack passwords.
0cd7259 Failing to fetch a CloudStack password should never fail the whole DS.
7643adc Fix for ascii decode in DataSourceAzure (LP: #1422993).
5c2eac0 Read ovf-env.xml as bytes.
2da204f Set LC_ALL=C for tox tests.
e58d125 Add explanatory comment.
1293e3f Fetch and use passwords from CloudStack virtual router.
2093ed0 Clean up imports in DataSourceCloudStack.py.
4931c13 fix usage of python2 'print'
b99cb59 support for managing GPT partitions
8821ab0 tests/unittests/test_util.py: pep8
cd37c1e mount_cb: fix scoping of an exception in python3
6b9c516 some python3 fixes
fa123e7 include exception in error again.
27d1ead pickle contents: be careful loading and storing pickle to be binary
de1d61f provide default final message in jinja to avoid WARN in log
7b9d74a open console as text mode
46c0829 Open /dev/console in text mode (so we don't have to encode strings to write them).
4003731 pep8
4eb65d6 add tools/tox-venv for running in a tox env
0356646 Encode messages to utf-8 before writing them to the console in util.multi_log.
3abe192 Add unittests for util.multi_log.
c3c7b26 Add helpers for patching open and stdout/stderr.
e4e587c Fix import ordering in test_util.py.
02beabe Enable passing arguments to nose via tox.
6b24bf3 Fix reference to non-existent variable.
089a1a5 python3 support.
901496f pep8
744204a pep8
110f452 pep8
a0e6b01 fix random_seed module
4e9c733 use encode_text
dc34848 fix for cloud-init bin use encode
f7c027b skip cheetah dependent test
028beaa make bddeb work with python3 or python2
11efc14 fix parse_qs usage
c18e7a5 fix use of 'letters' and translate
d1a1c4b fix copyright message
b3f815a Remove debugging turd.
76b4873 Respond to review:
adcd955 Respond to review:
6e7bba7 Respond to review:
f93d580 Remove a comment turd.
a69d46a Remove some unused code.
46f2b01 Respond to review:
533c36d super() works in all of Python 2.6, 2.7, and 3.4.
71c6b03 Repair the Python 2.6 tests.
dcd7a82 Trunk merged and ported.
bc41baf Port the MAAS code to oauthlib.
c86cdd7 Python 3 tests pass, except for skips.
d15fd31 Down to it.
d104113 Another handling of b64decode.
c447f6f * More str/bytes fixes. * Temporarily skip the MAAS tests in py3 since they need to be ported to oauthlib.
9681289 More Python 3 test fixes.
ebd210a Avoid a nose bug when running under the test suite and no exception is in flight.
43325f7 Fix a few string/bytes problems with Python 3.
7cf2111 More test repairs.
1f5932d * Fix the filter() imports. * In Py3, pass universal_newlines to subprocess.Popen()
0fc6ce5 Make parameter list for get_hostname method consistent
21bae58 Low hanging Python 3 fruit.
6680fbd Conversion from mocker to mock completed.
17ba3f5 More conversions from mocker to mock.
dd0e2d7 More conversions from mocker to mock.
0cf3025 More test ports from mocker to mock.
f4cf5c2 Clean up.
01b8fc3 Convert helpers.py and test_data.py from mocker to mock.
5d1edaf Use .addCleanup() instead of a .tearDown() where appropriate, although we might have to rewrite this for Python 2.6.
0d15655 remove dependency on dmidecode on linux
42feeb7 merge from trunk
ab0bff6 Port test__init__.py to unittest.mock.
474b7f2 Largely merge lp:~harlowja/cloud-init/py2-3 albeit manually because it seemed to be behind trunk.
ca71334 Use either syspath or dmidecode based on the availability.
a9e2cb1 More octal literal fixes.
239519a Fix file modes to be Python 2/3 compatible.
65f89fb Only install cheetah (and only run the cheetah templating test) when in Python 2.  Cheetah is not compatible with Python 3.
35e4d59 * Added a simple tox.ini file * Use universal_newlines in setup.py so it will work properly in Python 3. * Fix a pyflakes complaint in setup.py * Add a simple MANIFEST.in
d74126a New Azure disk_setup default.
df8098f hostname: apply hostname same as is written
066b11c pep8 fixes
375975a systemd: run cloud-init before systemd-user-sessions.service
3df407f Use systemd-user-sessions.service for sequencing, not getty.target, for correct race-free ordering
648f16d Ensure that when running under systemd, cloud-init.service is run before we display any getty on the console so that the cloud-init output doesn't get written on top of a login prompt.
b724ce8 Use the GCE short hostname.
e243710 Drop reliance on dmidecode executable.
79b50ae Use the short name for GCE hostnames per GCE's request (LP: #1383794).
cf57ced Find disk size differently for GPT.
5b13b95 Initial run at GPT disk handling.
c1ed040 Implement check_partition_gpt_layout.
2faa5dd Fix lsblk output option.
49c849f Enable user-data encoding support for GCE.
3c0c99a remove the user-data-encoding from test meta-data
5d1c260 merge from trunk
28abcf1 tools/run-pep8: remove leading ',' fed to --ignore
a1454dd pep8
3b08e35 Corrected errant logging message.
ea4449c add user-data encoding support for gce

Do you really want to submit the above commits?
Type 'yes' to confirm, other to cancel: yes
remote: Resolving deltas: 100% (1066/1066)
remote: Processing changes: refs: 1, done    
remote: 
remote: ERROR:  In commit ea4449c7f1a9ec3684354acdb0e6e1b947c7341e
remote: ERROR:  committer email address wayne.witzel@canonical.com
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    harlowja@gmail.com
remote: ERROR:    harlowja@yahoo-inc.com
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  https://review.openstack.org/#/settings/contact
remote: 
remote: 
To ssh://harlowja@review.openstack.org:29418/stackforge/cloud-init.git
 ! [remote rejected] HEAD -> refs/publish/0.7.x (invalid committer)
error: failed to push some refs to 'ssh://harlowja@review.openstack.org:29418/stackforge/cloud-init.git'
Download as text