404 not found when deploying layered hadoop bundle

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Mon Mar 14 12:11:01 UTC 2016


Hi Andrew


The error disappears after upgrading juju deployer. Thanks for your help!



Kind regards
Merlijn Sebrechts

2016-03-14 13:03 GMT+01:00 Andrew Mcleod <andrew.mcleod at canonical.com>:

> Hi Merlijn,
>
> Do you have the latest version of juju deployer?
>
> On Mon, Mar 14, 2016 at 11:07 AM, Merlijn Sebrechts <
> merlijn.sebrechts at gmail.com> wrote:
>
>> Hi all
>>
>>
>> I keep gettingg a 404 not found error when deploying one of the new
>> layered hadoop bundles. I don't get this error when deploying these charms
>> manually using the commandline.
>>
>> Any idea what went wrong here?
>>
>>
>>
>> Kind regards
>> Merlijn
>>
>>
>> juju deployer -c layered-hadoop.yaml
>> 2016-03-14 04:36:25 Using deployment layered-hadoop.yaml
>> 2016-03-14 04:36:25 Starting deployment of layered-hadoop.yaml
>> Traceback (most recent call last):
>>   File "/usr/bin/juju-deployer", line 9, in <module>
>>     load_entry_point('juju-deployer==0.6.1', 'console_scripts',
>> 'juju-deployer')()
>>   File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in
>> main
>>     run()
>>   File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 234, in
>> run
>>     importer.Importer(env, deployment, options).run()
>>   File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py",
>> line 292, in run
>>     self.get_charms()
>>   File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py",
>> line 146, in get_charms
>>     no_local_mods=self.options.no_local_mods)
>>   File "/usr/lib/python2.7/dist-packages/deployer/deployment.py", line
>> 188, in fetch_charms
>>     charm.fetch()
>>   File "/usr/lib/python2.7/dist-packages/deployer/charm.py", line 149, in
>> fetch
>>     self._fetch_store_charm()
>>   File "/usr/lib/python2.7/dist-packages/deployer/charm.py", line 190, in
>> _fetch_store_charm
>>     ufh = urllib2.urlopen(store_url)
>>   File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
>>     return _opener.open(url, data, timeout)
>>   File "/usr/lib/python2.7/urllib2.py", line 410, in open
>>     response = meth(req, response)
>>   File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
>>     'http', request, response, code, msg, hdrs)
>>   File "/usr/lib/python2.7/urllib2.py", line 448, in error
>>     return self._call_chain(*args)
>>   File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
>>     result = func(*args)
>>   File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
>>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
>> urllib2.HTTPError: HTTP Error 404: Not Found
>>
>>
>> cat layered-hadoop.yaml
>> services:
>>   namenode:
>>     charm: cs:~bigdata-dev/trusty/apache-hadoop-namenode
>>     num_units: 1
>>     annotations:
>>       gui-x: "600"
>>       gui-y: "350"
>>     constraints: mem=7G
>>     to: lxc:0
>>   resourcemanager:
>>     charm: cs:~bigdata-dev/trusty/apache-hadoop-resourcemanager
>>     num_units: 1
>>     annotations:
>>       gui-x: "600"
>>       gui-y: "100"
>>     constraints: mem=7G
>>     to: lxc:0
>>   slave:
>>     charm: cs:~bigdata-dev/trusty/apache-hadoop-slave
>>     num_units: 4
>>     annotations:
>>       gui-x: "250"
>>       gui-y: "200"
>>     constraints: mem=7G
>>     to:
>>       - lxc:0
>>       - lxc:0
>>       - lxc:1
>>       - lxc:1
>>   plugin:
>>     charm: cs:~bigdata-dev/trusty/apache-hadoop-plugin
>>     annotations:
>>       gui-x: "950"
>>       gui-y: "200"
>>   client:
>>     charm: cs:~bigdata-dev/trusty/hadoop-client
>>     num_units: 1
>>     annotations:
>>       gui-x: "1300"
>>       gui-y: "200"
>>     to: lxc:1
>> series: trusty
>> relations:
>>   - [namenode, slave]
>>   - [resourcemanager, slave]
>>   - [resourcemanager, namenode]
>>   - [plugin, namenode]
>>   - [plugin, resourcemanager]
>>   - [client, plugin]
>>
>>
>>
>> --
>> Bigdata mailing list
>> Bigdata at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/bigdata
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bigdata/attachments/20160314/099832f6/attachment-0001.html>


More information about the Bigdata mailing list