Puppet required?
by Avram Lubkin
I was looking over the project and it looks interesting, much improved over
Spacewalk. I particularly like how different projects are used instead of
one monolithic project. There's just one thing that concerns me. It looks
like if I want to do provisioning I have to use Foreman and if I use
Foreman I have to use Puppet. Since Puppet requires ruby installed on all
clients I can't deploy it. This is due to a security requirement. I can't
add interpreters to a system unless I have a good justification. I can do
what puppet does without adding another interpreter, so I can't justify it.
I know there are lots of organizations that use puppet and probably install
Ruby to support it, but I've never worked with a group that would allow
that. Any plans to support CFengine or something similar that wouldn't
require another interpreter on the clients? Python is Okay too, since any
RHEL or RHEL-like system already has it.
Please reply all, not on the list.
Thanks,
Avram
10 years, 10 months
Invalid parameter servername at /root/foreman_proxy_installer.pp:10
by Jorick Astrego
After some problems, I decided to scrap my entire katello install and
start again. This time the install went smooth but on the final setup of
foreman-proxy I get a new error message.
I installed foreman-proxy following the advise of Miroslav Suchy
> yum install foreman-proxy-installer
> cat <<EOF > foreman_proxy_installer.pp
> class { foreman_proxy:
> servername => "192.168.100.1",
> port => 9090,
> puppetca => false,
> dhcp => true,
> dhcp_interface => "virbr1",
> dns => true,
> dns_interface => "virbr1",
> tftp => true,
> dns_forwarders => [$forwarders];}
> EOF
>
> puppet apply foreman_proxy_installer.pp --modulepath
> /usr/share/foreman-installer
When I try that, I get:
Invalid parameter servername at /root/foreman_proxy_installer.pp:10 on
node katello01.netbulae.blabla
I know it's not yet completely supported, but I'm so close getting
foreman & katello to work together...
--
Regards,
Jorick Astrego
Netbulae B.V.
Site: http://www.netbulae.eu
11 years, 1 month
debian anyone?
by Guy Matz
Hello! I'm just learning about katello and am very excited! It's
something I've yearned for . . . are there any plans to extend it to
allow for non-rpm distributions?
Thanks for all you do!
Regards,
Guy Matz
11 years, 1 month
Re: katello Digest, Vol 22, Issue 4
by Jorick Astrego
On 02/21/2013 02:41 PM, katello-request(a)lists.fedorahosted.org wrote:
> Send katello mailing list submissions to
> katello(a)lists.fedorahosted.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.fedorahosted.org/mailman/listinfo/katello
> or, via email, send a message with subject or body 'help' to
> katello-request(a)lists.fedorahosted.org
>
> You can reach the person managing the list at
> katello-owner(a)lists.fedorahosted.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of katello digest..."
>
>
> Today's Topics:
>
> 1. Re: Install package failed on system registered (Martin Bacovsky)
> 2. Re: unable to delete product or repo (Lukas Zapletal)
> 3. RE: Install package failed on system registered (REYNALD chekhina)
> 4. Re: Install package failed on system registered (Martin Bacovsky)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 20 Feb 2013 17:53:08 +0100
> From: Martin Bacovsky <mbacovsk(a)redhat.com>
> To: katello(a)lists.fedorahosted.org
> Subject: Re: Install package failed on system registered
> Message-ID: <5124FF74.50706(a)redhat.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 02/12/2013 08:25 PM, REYNALD chekhina wrote:
>> Hello,
>>
>> when I try to install or update package or install errata on system registered from web interface I have error message "Error on install ".
>>
>> When I look pulp log file I have this error message :
>>
>> cat /var/log/pulp/pulp.log :
>>
>> 2013-02-02 14:22:46,996 1106:140580143216384: pulp.server.api.consumer:ERROR: consumer:619 Packages to install [[u'pulseaudio-libs', u'pulseaudio-libs']]
>> 2013-02-02 14:22:47,110 1106:140579772032768: gofer.rmi.policy:INFO: policy:151 sent (e776926b-268c-49ea-a3f5-4974af3e1acb):
>> {'classname': 'Packages', 'kws': {}, 'args': ([u'pulseaudio-libs', u'pulseaudio-libs'], False), 'method': 'install', 'cntr': ((), {'importkeys': False})}
>> 2013-02-02 14:22:57,127 1106:140579772032768: pulp.server.tasking.task:ERROR: task:472 Task failed: Task a26b32b8-6d3b-11e2-9054-00505698bbb5: ConsumerApi.__installpackages(e776926b-268c-49ea-a3f5-4974af3e1acb, [u'pulseaudio-libs', u'pulseaudio-libs'], importkeys=False, reboot=False)
>> Traceback (most recent call last):
>> File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 418, in run
>> result = self.callable(*self.args, **self.kwargs)
>> File "/usr/lib/python2.6/site-packages/pulp/server/api/consumer.py", line 448, in __installpackages
>> return packages.install(names, reboot)
>> File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 72, in __call__
>> return self.stub._send(request, opts)
>> File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 133, in _send
>> return self.__send(request, options)
>> File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 164, in __send
>> any=opts.any)
>> File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 155, in send
>> self.__getstarted(sn, reader)
>> File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 178, in __getstarted
>> raise RequestTimeout(sn, 0)
>> RequestTimeout: ('1076880d-8716-42d9-89e1-769e399f38cc', 0)
>>
>> Can someone help me please ?
>>
>>
>> packages server :
>>
>> katello-certs-tools-1.1.9-1.el6.noarch
>> katello-glue-candlepin-1.2.2-1.el6.noarch
>> katello-qpid-broker-key-pair-1.0-1.noarch
>> katello-selinux-1.1.2-1.el6.noarch
>> katello-cli-common-1.2.2-1.el6.noarch
>> katello-glue-foreman-1.2.2-1.el6.noarch
>> katello-all-1.2.2-1.el6.noarch
>> katello-repos-1.2.4-1.el6.noarch
>> katello-configure-1.2.1-1.el6.noarch
>> katello-glue-pulp-1.2.2-1.el6.noarch
>> katello-qpid-client-key-pair-1.0-1.noarch
>> katello-1.2.2-1.el6.noarch
>> katello-cli-1.2.2-1.el6.noarch
>> katello-common-1.2.2-1.el6.noarch
>> katello-candlepin-cert-key-pair-1.0-1.noarch
>>
>> mod_wsgi-3.3-3.pulp.el6.x86_64
>> pulp-common-1.1.12-1.el6.noarch
>> pulp-selinux-server-1.1.12-1.el6.noarch
>> m2crypto-0.21.1.pulp-7.el6.x86_64
>> katello-glue-pulp-1.2.2-1.el6.noarch
>> pulp-1.1.12-1.el6.noarch
>>
>> candlepin-selinux-0.7.19-1.el6.noarch
>> candlepin-tomcat6-0.7.19-1.el6.noarch
>> candlepin-0.7.19-1.el6.noarch
>>
>>
>>
>> packages client :
>>
>> candlepin-cert-consumer-ltckatello-1.0-1.noarch
>> katello-agent-1.1.3-1.el6.noarch
>>
>> python-gofer-0.74-1.el6.noarch
>> gofer-package-0.74-1.el6.noarch
>> gofer-0.74-1.el6.noarch
>>
>>
>> Thanks in advance.
>> _______________________________________________
>> katello mailing list
>> katello(a)lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/katello
> Is your client side configured properly?
> https://fedorahosted.org/katello/wiki/GuideSystemKatelloAgent
>
> Could you attach /var/log/gofer/agent.log from the client?
>
> Martin
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 21 Feb 2013 12:24:55 +0100
> From: Lukas Zapletal <lzap+pub(a)redhat.com>
> To: katello(a)lists.fedorahosted.org
> Subject: Re: unable to delete product or repo
> Message-ID: <20130221112455.GI2276(a)lzapx.brq.redhat.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hello
>
>> "_href": "/pulp/api/v2/repositories/Netbulae-Centos-5_8_os_i386/history/sync/",
> Are you using nightly ^^^^ ?
>
I had been using nightly as I had issues with 1.2.
I've decided to scrap the whole thing using katello_remove.sh and start
again on 1.3.
--
Regards,
Jorick Astrego
Netbulae B.V.
Site: http://www.netbulae.eu
11 years, 1 month
Install package failed on system registered
by REYNALD chekhina
Hello,
when I try to install or update package or install errata on system registered from web interface I have error message "Error on install ".
When I look pulp log file I have this error message :
cat /var/log/pulp/pulp.log :
2013-02-02 14:22:46,996 1106:140580143216384: pulp.server.api.consumer:ERROR: consumer:619 Packages to install [[u'pulseaudio-libs', u'pulseaudio-libs']]
2013-02-02 14:22:47,110 1106:140579772032768: gofer.rmi.policy:INFO: policy:151 sent (e776926b-268c-49ea-a3f5-4974af3e1acb):
{'classname': 'Packages', 'kws': {}, 'args': ([u'pulseaudio-libs', u'pulseaudio-libs'], False), 'method': 'install', 'cntr': ((), {'importkeys': False})}
2013-02-02 14:22:57,127 1106:140579772032768: pulp.server.tasking.task:ERROR: task:472 Task failed: Task a26b32b8-6d3b-11e2-9054-00505698bbb5: ConsumerApi.__installpackages(e776926b-268c-49ea-a3f5-4974af3e1acb, [u'pulseaudio-libs', u'pulseaudio-libs'], importkeys=False, reboot=False)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 418, in run
result = self.callable(*self.args, **self.kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/api/consumer.py", line 448, in __installpackages
return packages.install(names, reboot)
File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 72, in __call__
return self.stub._send(request, opts)
File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 133, in _send
return self.__send(request, options)
File "/usr/lib/python2.6/site-packages/gofer/rmi/stub.py", line 164, in __send
any=opts.any)
File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 155, in send
self.__getstarted(sn, reader)
File "/usr/lib/python2.6/site-packages/gofer/rmi/policy.py", line 178, in __getstarted
raise RequestTimeout(sn, 0)
RequestTimeout: ('1076880d-8716-42d9-89e1-769e399f38cc', 0)
Can someone help me please ?
packages server :
katello-certs-tools-1.1.9-1.el6.noarch
katello-glue-candlepin-1.2.2-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-selinux-1.1.2-1.el6.noarch
katello-cli-common-1.2.2-1.el6.noarch
katello-glue-foreman-1.2.2-1.el6.noarch
katello-all-1.2.2-1.el6.noarch
katello-repos-1.2.4-1.el6.noarch
katello-configure-1.2.1-1.el6.noarch
katello-glue-pulp-1.2.2-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-1.2.2-1.el6.noarch
katello-cli-1.2.2-1.el6.noarch
katello-common-1.2.2-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
pulp-common-1.1.12-1.el6.noarch
pulp-selinux-server-1.1.12-1.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
katello-glue-pulp-1.2.2-1.el6.noarch
pulp-1.1.12-1.el6.noarch
candlepin-selinux-0.7.19-1.el6.noarch
candlepin-tomcat6-0.7.19-1.el6.noarch
candlepin-0.7.19-1.el6.noarch
packages client :
candlepin-cert-consumer-ltckatello-1.0-1.noarch
katello-agent-1.1.3-1.el6.noarch
python-gofer-0.74-1.el6.noarch
gofer-package-0.74-1.el6.noarch
gofer-0.74-1.el6.noarch
Thanks in advance.
11 years, 1 month
unable to delete product or repo
by Jorick Astrego
Hi,
I had created a provider Centos and product Centos. Then I used the
discover function to import all the different repo versions in it. After
that I synchronised the whole repo tree.
After some testing I found it would be better to seperate all the
different products because I'd like to apply seperate version repo's to
different machines.
So I hit remove product. After some heavy disk usage (30 gb repo data)
the product still remains but I'm unable to remove it again. Trying to
remove the entire Centos provider also fails.
Now I'm stuck. How do I get it removed?
Error log:
Tue, 19 Feb 2013 12:53:44 +0000 error Netbulae 404 Resource Not Found
(RestClient::ResourceNotFound)
{"http_request_method": "GET", "exception": null, "error_message":
"Missing resource(s): resource_id=Netbulae-Centos-5_8_os_i386", "_href":
"/pulp/api/v2/repositories/Netbulae-Centos-5_8_os_i386/history/sync/",
"http_status": 404, "traceback": null, "resources": {"resource_id":
"Netbulae-Centos-5_8_os_i386"}}
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/base.rb:93:in `get_response'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:218:in `call'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:218:in `process_result'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit'
/usr/lib/ruby/1.8/net/http.rb:543:in `start'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb:63:in `post'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/base.rb:92:in `send'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/base.rb:92:in `get_response'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/base.rb:83:in `call'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/resources/repository.rb:161:in `unit_search'
/usr/lib/ruby/gems/1.8/gems/runcible-0.3.3/lib/runcible/extensions/repository.rb:108:in `rpm_ids'
/usr/share/katello/app/models/glue/pulp/repo.rb:188:in `packages'
/usr/share/katello/app/models/glue/elastic_search/repository.rb:51:in `update_packages_index'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:425:in `_run_destroy_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/callbacks.rb:256:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/share/katello/app/models/glue.rb:95:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations.rb:1614:in `has_many_dependent_destroy_for_repositories'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:431:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_proxy.rb:220:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_proxy.rb:220:in `each'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_proxy.rb:220:in `send'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_proxy.rb:220:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:431:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations.rb:1606:in `has_many_dependent_destroy_for_repositories'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:415:in `_run_destroy_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/callbacks.rb:256:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:237:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:237:in `each'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:237:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:526:in `remove_records'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:158:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:157:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:523:in `remove_records'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:236:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/associations/association_collection.rb:261:in `destroy_all'
/usr/share/katello/app/models/glue/pulp/repos.rb:410:in `del_repos'
/usr/share/katello/app/models/glue.rb:177:in `send'
/usr/share/katello/app/models/glue.rb:177:in `execute'
/usr/share/katello/app/models/glue.rb:127:in `process'
/usr/share/katello/app/models/glue.rb:114:in `each'
/usr/share/katello/app/models/glue.rb:114:in `process'
/usr/share/katello/app/models/glue.rb:49:in `on_destroy'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:220:in `_conditional_callback_around_2409'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:424:in `_run_destroy_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/callbacks.rb:256:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/share/katello/app/models/glue.rb:95:in `destroy'
/usr/share/katello/app/models/user.rb:220:in `to_proc'
/usr/share/katello/app/models/glue/provider.rb:176:in `each'
/usr/share/katello/app/models/glue/provider.rb:176:in `del_products'
/usr/share/katello/app/models/glue.rb:177:in `send'
/usr/share/katello/app/models/glue.rb:177:in `execute'
/usr/share/katello/app/models/glue.rb:127:in `process'
/usr/share/katello/app/models/glue.rb:114:in `each'
/usr/share/katello/app/models/glue.rb:114:in `process'
/usr/share/katello/app/models/glue.rb:49:in `on_destroy'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:220:in `_conditional_callback_around_2664'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:419:in `_run_destroy_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/callbacks.rb:256:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in `transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:235:in `destroy'
/usr/share/katello/app/models/glue.rb:95:in `destroy'
/usr/share/katello/app/controllers/providers_controller.rb:132:in `destroy'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:150:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb:11:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:18:in `process_action'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:477:in `_run__1231574238__process_action__1297603533__callbacks'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:221:in `_conditional_callback_around_3322'
/usr/share/katello/lib/util/threadsession.rb:107:in `thread_locals'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:220:in `_conditional_callback_around_3322'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:456:in `_run__1231574238__process_action__1297603533__callbacks'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410:in `send'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94:in `send'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94:in `run_callbacks'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:17:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/rescue.rb:17:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `instrument'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `instrument'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:119:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/rendering.rb:41:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal.rb:138:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal.rb:178:in `action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:27:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.7.1/lib/rack/mount/route_set.rb:150:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.7.1/lib/rack/mount/code_generation.rb:93:in `recognize'
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.7.1/lib/rack/mount/code_generation.rb:68:in `optimized_each'
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.7.1/lib/rack/mount/code_generation.rb:92:in `recognize'
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.7.1/lib/rack/mount/route_set.rb:141:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:493:in `call'
/usr/lib/ruby/gems/1.8/gems/apipie-rails-0.0.16/lib/apipie/static_dispatcher.rb:56:in `call'
/usr/lib/ruby/gems/1.8/gems/warden-1.0.3/lib/warden/manager.rb:35:in `call'
/usr/lib/ruby/gems/1.8/gems/warden-1.0.3/lib/warden/manager.rb:34:in `catch'
/usr/lib/ruby/gems/1.8/gems/warden-1.0.3/lib/warden/manager.rb:34:in `call'
/usr/lib/ruby/gems/1.8/gems/sass-3.1.4/lib/sass/../sass/plugin/rack.rb:54:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/head.rb:14:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/flash.rb:182:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/cookies.rb:302:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:32:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:12:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:31:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/sendfile.rb:102:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/rack/logger.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/runtime.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/lock.rb:34:in `call'
/usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:168:in `call'
/usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `send'
/usr/lib/ruby/gems/1.8/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/urlmap.rb:52:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/urlmap.rb:46:in `each'
/usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/urlmap.rb:46:in `call'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:84:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:82:in `catch'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:82:in `pre_process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:57:in `process'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/backends/base.rb:61:in `start'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/server.rb:159:in `start'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/controllers/controller.rb:86:in `start'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:185:in `send'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:185:in `run_command'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/runner.rb:151:in `run!'
/usr/lib/ruby/gems/1.8/gems/thin-1.2.8/bin/thin:6
/usr/share/katello/script/thin:24:in `load'
/usr/share/katello/script/thin:24
--
Regards,
Jorick Astrego
Netbulae B.V.
Site: http://www.netbulae.eu
11 years, 1 month
Pulp 2.0 with Katello?
by Ryan Bowlby
Hi All,
Just finished a demo install of katello and found that it is using
pulp version 1.1. I'm sure plans exist to use pulp 2.0, is there a
date or katello version for the switch?
I'm going to wait till that time since I've had a slew of problems
running pulp 1.1 in a production environment.
Thanks ahead of time!
Ryan
11 years, 1 month
Re: Gem loading error: Unable to activate runcible-0.3.2, , because json-1.4.6 conflicts with json (= 1.7.5)
by Jorick Astrego
On 02/11/2013 10:32 AM, Tomas Strachota wrote:
> On 02/10/2013 05:58 PM, Jorick Astrego wrote:
>> On 02/08/2013 02:27 PM, Tomas Strachota wrote:
>>> On 02/08/2013 02:11 PM, Jorick Astrego wrote:
>>>> On 02/08/2013 01:36 PM, Tomas Strachota wrote:
>>>>> On 02/08/2013 12:53 PM, Jorick Astrego wrote:
>>>>>> On 02/07/2013 11:26 AM, Tomas Strachota wrote:
>>>>>>> On 02/07/2013 09:52 AM, Jorick Astrego wrote:
>>>>>>>>> Hello, I came across the same issue yesterday. It was problem
>>>>>>>>> with
>>>>>>>>> having different version requirements in runcible's gemspec
>>>>>>>>> and rpm
>>>>>>>>> spec. It should be fixed in runcible-0.3.3:
>>>>>>>>> https://github.com/Katello/runcible/pull/45 Tomas On 02/05/2013
>>>>>>>>> 05:18
>>>>>>>>> PM, Lukas Zapletal wrote:
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I guess this is nightly.
>>>>>>>>>>
>>>>>>>>>> This has been merged today:
>>>>>>>>>>
>>>>>>>>>> https://github.com/Katello/katello/pull/1515
>>>>>>>>>>
>>>>>>>>>> and I hope it fixes it. Try tomorrow build!
>>>>>>>>>>
>>>>>>>>>> If you will still have the issue, let us know!
>>>>>>>>>>
>>>>>>>>>> LZ
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Did these changes get pushed to the repo? I waited an extra day,
>>>>>>>> but I'm
>>>>>>>> still getting the same JSON error. And the same rubygem dependency
>>>>>>>> issues as before.
>>>>>>>>> Package katello-all.noarch 0:1.3.14-1.git.121.c00cd77.el6 will be
>>>>>>>>> installed
>>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>> packages are built and available in our nightly repo now.
>>>>>>> katello-configure should run ok with the latest packages.
>>>>>>> Please make sure that you have rubygem-runcible-0.3.3 installed.
>>>>>>>
>>>>>>> Regards
>>>>>>> Tomas
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> The JSON error is gone but it seems the rubygem packages in the
>>>>>> foreman-proxy repo are further than the katello packages.
>>>>>>
>>>>>> I had to install with:
>>>>>> yum install --disablerepo=foreman_proxy katello-all
>>>>>>
>>>>>> And then:
>>>>>> yum install foreman-proxy-installer foreman-installer
>>>>>>
>>>>>
>>>>> Hi,
>>>>> thanks for reporting.
>>>>> What was the repo you installed foreman proxy from please? I'll
>>>>> try to
>>>>> fix the problem.
>>>>>
>>>>> Regards
>>>>> Tomas
>>>>>
>>>>>
>>>>
>>>> Ok my bad :-&
>>>>
>>>> After close inspection, I had the foreman and foreman-proxy repo
>>>> installed. These were leftover from previous testing.
>>>>
>>>> Sorry to waste your time!
>>>>
>>>
>>> No problem!
>>> T.
>>>
>> Hi,
>>
>> It's me again ;-) The dependency problem popped up again while trying to
>> update.
>>
>> It appears the foreman_proxy repo gets installed by
>> foreman-proxy-installer, so it wasn't me afterall. The rubygem packages
>> in the foreman_proxy repo are newer then those in the katello repo.
>>
>
> You're right, it gets added during the installation.
> Please, report the problem with the versions on the mailing list so
> that it gets to a broader audience. We'll find a solution.
>
> Regards
> Tomas
>
I posted the errors already in the first post of this thread. But here
you go:
Resolving Dependencies
--> Running transaction check
---> Package rubygem-activemodel.noarch 0:3.0.10-3.el6 will be updated
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-activerecord-3.0.10-7.el6.noarch
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-activeresource-3.0.10-2.el6.noarch
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-actionpack-3.0.10-3.5.el6.noarch
---> Package rubygem-activemodel.noarch 0:3.0.15-1.el6 will be an update
---> Package rubygem-activesupport.noarch 1:3.0.10-5.el6 will be updated
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-actionpack-3.0.10-3.5.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-activeresource-3.0.10-2.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-rails-3.0.10-4.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-activerecord-3.0.10-7.el6.noarch
---> Package rubygem-activesupport.noarch 1:3.0.15-1.el6 will be an update
---> Package rubygem-arel.noarch 0:2.0.9-2.el6 will be updated
---> Package rubygem-arel.noarch 0:2.0.10-1.el6 will be an update
---> Package rubygem-audited.noarch 0:3.0.0-0.2.rc1.el6 will be updated
---> Package rubygem-audited.noarch 0:3.0.0.rc1-1.el6 will be an update
---> Package rubygem-audited-activerecord.noarch 0:3.0.0-0.3.rc1.el6
will be updated
---> Package rubygem-audited-activerecord.noarch 0:3.0.0.rc1-1.el6 will
be an update
--> Processing Dependency: rubygem-activerecord < 4 for package:
rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
---> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be updated
---> Package rubygem-json.x86_64 0:1.6.6-2.el6 will be an update
---> Package rubygem-mime-types.noarch 0:1.16-3.el6 will be updated
---> Package rubygem-mime-types.noarch 0:1.18-1.el6 will be an update
---> Package rubygem-net-ldap.noarch 0:0.2.2-4.el6 will be updated
---> Package rubygem-net-ldap.noarch 0:0.3.1-1.el6 will be an update
---> Package rubygem-pg.x86_64 0:0.12.2-2.el6 will be updated
---> Package rubygem-pg.x86_64 0:0.13.2-2.el6 will be an update
---> Package rubygem-polyglot.noarch 0:0.3.1-3.el6 will be updated
---> Package rubygem-polyglot.noarch 0:0.3.3-1.el6 will be an update
---> Package rubygem-rack-test.noarch 0:0.5.7-1.el6 will be updated
---> Package rubygem-rack-test.noarch 0:0.5.7-2.el6 will be an update
---> Package rubygem-railties.noarch 0:3.0.10-2.el6 will be updated
--> Processing Dependency: rubygem(railties) = 3.0.10 for package:
1:rubygem-rails-3.0.10-4.el6.noarch
---> Package rubygem-railties.noarch 0:3.0.15-1.el6 will be an update
--> Processing Dependency: rubygem-actionpack = 3.0.15 for package:
rubygem-railties-3.0.15-1.el6.noarch
---> Package rubygem-rake.noarch 0:0.8.7-2.1.el6 will be updated
---> Package rubygem-rake.noarch 0:0.9.2.2-2.el6 will be an update
---> Package rubygem-rdoc.noarch 0:3.8-5.el6 will be updated
---> Package rubygem-rdoc.x86_64 0:3.12-2.el6 will be an update
---> Package rubygem-rest-client.noarch 0:1.6.1-2.el6 will be updated
---> Package rubygem-rest-client.noarch 0:1.6.7-1.el6 will be an update
---> Package rubygem-tzinfo.noarch 0:0.3.23-2.el6 will be updated
---> Package rubygem-tzinfo.noarch 0:0.3.32-1.el6 will be an update
---> Package rubygem-will_paginate.noarch 0:3.0.2-4.el6 will be updated
---> Package rubygem-will_paginate.noarch 0:3.0.3-1.el6 will be an update
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Error: Package: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-rails-3.0.10-4.el6.noarch (@katello)
Requires: rubygem(railties) = 3.0.10
Removing: rubygem-railties-3.0.10-2.el6.noarch (@katello)
rubygem(railties) = 3.0.10
Updated By: rubygem-railties-3.0.15-1.el6.noarch (foreman_proxy)
rubygem(railties) = 3.0.15
Error: Package: 1:rubygem-activeresource-3.0.10-2.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: rubygem-railties-3.0.15-1.el6.noarch (foreman_proxy)
Requires: rubygem-actionpack = 3.0.15
Installed: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
rubygem-actionpack = 1:3.0.10-3.5.el6
Available: rubygem-actionpack-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem-actionpack = 3.0.15-1.el6
Error: Package: 1:rubygem-activeresource-3.0.10-2.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-rails-3.0.10-4.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
(foreman_proxy)
Requires: rubygem-activerecord < 4
Installed: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
rubygem-activerecord = 1:3.0.10-7.el6
Available: rubygem-activerecord-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem-activerecord = 3.0.15-1.el6
Error: Package: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--
Kind regards,
Jorick Astrego
Netbulae B.V.
Site: http://www.netbulae.eu
11 years, 1 month
Gem loading error: Unable to activate runcible-0.3.2, because json-1.4.6 conflicts with json (= 1.7.5)
by Jorick Astrego
Hi,
Again I'm having problems with katello and foreman-proxy. When running
katello-configure it fails on json.
rake aborted!
An error has occurred, this and all later migrations canceled:
uninitialized constant Runcible
/usr/share/katello/lib/util/threadsession.rb:56:in `set_pulp_config'
/usr/share/katello/lib/util/threadsession.rb:48:in `current='
/usr/share/katello/db/migrate/20120702175532_add_repository_library_id.rb:9:in
`up_without_benchmarks'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:314:in
`send'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:314:in
`migrate'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:314:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:397:in
`__send__'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:397:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:539:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:613:in
`call'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:613:in
`ddl_transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in
`transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/transactions.rb:207:in
`transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:613:in
`ddl_transaction'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:538:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:525:in
`each'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:525:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:435:in
`up'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/migration.rb:417:in
`migrate'
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.10/lib/active_record/railties/databases.rake:151
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:635:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:630:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:589:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:582:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2028:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2022:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
Gem loading error: Unable to activate runcible-0.3.2, because json-1.4.6
conflicts with json (= 1.7.5)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== AddRepositoryLibraryId: migrating
=========================================
-- change_table(:repositories)
-> 0.1762s
I had to install katello with --disablerepo foreman-proxy because of
dependancy problems.
Now when I try to upgrade:
Resolving Dependencies
--> Running transaction check
---> Package rubygem-activemodel.noarch 0:3.0.10-3.el6 will be updated
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-activerecord-3.0.10-7.el6.noarch
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-activeresource-3.0.10-2.el6.noarch
--> Processing Dependency: rubygem(activemodel) = 3.0.10 for package:
1:rubygem-actionpack-3.0.10-3.5.el6.noarch
---> Package rubygem-activemodel.noarch 0:3.0.15-1.el6 will be an update
---> Package rubygem-activesupport.noarch 1:3.0.10-5.el6 will be updated
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-actionpack-3.0.10-3.5.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-activeresource-3.0.10-2.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-rails-3.0.10-4.el6.noarch
--> Processing Dependency: rubygem(activesupport) = 3.0.10 for package:
1:rubygem-activerecord-3.0.10-7.el6.noarch
---> Package rubygem-activesupport.noarch 1:3.0.15-1.el6 will be an update
---> Package rubygem-arel.noarch 0:2.0.9-2.el6 will be updated
---> Package rubygem-arel.noarch 0:2.0.10-1.el6 will be an update
---> Package rubygem-audited.noarch 0:3.0.0-0.2.rc1.el6 will be updated
---> Package rubygem-audited.noarch 0:3.0.0.rc1-1.el6 will be an update
---> Package rubygem-audited-activerecord.noarch 0:3.0.0-0.3.rc1.el6
will be updated
---> Package rubygem-audited-activerecord.noarch 0:3.0.0.rc1-1.el6 will
be an update
--> Processing Dependency: rubygem-activerecord < 4 for package:
rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
---> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be updated
---> Package rubygem-json.x86_64 0:1.6.6-2.el6 will be an update
---> Package rubygem-mime-types.noarch 0:1.16-3.el6 will be updated
---> Package rubygem-mime-types.noarch 0:1.18-1.el6 will be an update
---> Package rubygem-net-ldap.noarch 0:0.2.2-4.el6 will be updated
---> Package rubygem-net-ldap.noarch 0:0.3.1-1.el6 will be an update
---> Package rubygem-pg.x86_64 0:0.12.2-2.el6 will be updated
---> Package rubygem-pg.x86_64 0:0.13.2-2.el6 will be an update
---> Package rubygem-polyglot.noarch 0:0.3.1-3.el6 will be updated
---> Package rubygem-polyglot.noarch 0:0.3.3-1.el6 will be an update
---> Package rubygem-rack-test.noarch 0:0.5.7-1.el6 will be updated
---> Package rubygem-rack-test.noarch 0:0.5.7-2.el6 will be an update
---> Package rubygem-railties.noarch 0:3.0.10-2.el6 will be updated
--> Processing Dependency: rubygem(railties) = 3.0.10 for package:
1:rubygem-rails-3.0.10-4.el6.noarch
---> Package rubygem-railties.noarch 0:3.0.15-1.el6 will be an update
--> Processing Dependency: rubygem-actionpack = 3.0.15 for package:
rubygem-railties-3.0.15-1.el6.noarch
---> Package rubygem-rake.noarch 0:0.8.7-2.1.el6 will be updated
---> Package rubygem-rake.noarch 0:0.9.2.2-2.el6 will be an update
---> Package rubygem-rdoc.noarch 0:3.8-5.el6 will be updated
---> Package rubygem-rdoc.x86_64 0:3.12-2.el6 will be an update
---> Package rubygem-rest-client.noarch 0:1.6.1-2.el6 will be updated
---> Package rubygem-rest-client.noarch 0:1.6.7-1.el6 will be an update
---> Package rubygem-tzinfo.noarch 0:0.3.23-2.el6 will be updated
---> Package rubygem-tzinfo.noarch 0:0.3.32-1.el6 will be an update
---> Package rubygem-will_paginate.noarch 0:3.0.2-4.el6 will be updated
---> Package rubygem-will_paginate.noarch 0:3.0.3-1.el6 will be an update
--> Finished Dependency Resolution
Error: Package: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-rails-3.0.10-4.el6.noarch (@katello)
Requires: rubygem(railties) = 3.0.10
Removing: rubygem-railties-3.0.10-2.el6.noarch (@katello)
rubygem(railties) = 3.0.10
Updated By: rubygem-railties-3.0.15-1.el6.noarch (foreman_proxy)
rubygem(railties) = 3.0.15
Error: Package: 1:rubygem-activeresource-3.0.10-2.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: rubygem-railties-3.0.15-1.el6.noarch (foreman_proxy)
Requires: rubygem-actionpack = 3.0.15
Installed: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
rubygem-actionpack = 1:3.0.10-3.5.el6
Available: rubygem-actionpack-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem-actionpack = 3.0.15-1.el6
Error: Package: 1:rubygem-activeresource-3.0.10-2.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
Requires: rubygem(activemodel) = 3.0.10
Removing: rubygem-activemodel-3.0.10-3.el6.noarch (@katello)
rubygem(activemodel) = 3.0.10
Updated By: rubygem-activemodel-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activemodel) = 3.0.15
Error: Package: 1:rubygem-rails-3.0.10-4.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: 1:rubygem-actionpack-3.0.10-3.5.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
Error: Package: rubygem-audited-activerecord-3.0.0.rc1-1.el6.noarch
(foreman_proxy)
Requires: rubygem-activerecord < 4
Installed: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
rubygem-activerecord = 1:3.0.10-7.el6
Available: rubygem-activerecord-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem-activerecord = 3.0.15-1.el6
Error: Package: 1:rubygem-activerecord-3.0.10-7.el6.noarch (@katello)
Requires: rubygem(activesupport) = 3.0.10
Removing: 1:rubygem-activesupport-3.0.10-5.el6.noarch (@katello)
rubygem(activesupport) = 3.0.10
Updated By: 1:rubygem-activesupport-3.0.15-1.el6.noarch
(foreman_proxy)
rubygem(activesupport) = 3.0.15
Available: 1:rubygem-activesupport-2.3.8-2.el6.noarch (epel)
rubygem(activesupport) = 2.3.8
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--
Kind regards,
Jorick Astrego
Netbulae B.V.
11 years, 1 month