#761 Error: No such profile by dnf module install
Closed: Invalid Opened by jaruga.

I am testing on latest Boltron F27 docker image.

Boltron-27-d654dfbc419e-1# dnf module install ruby:master/default
Last metadata expiration check: 0:10:46 ago on Thu 02 Nov 2017 01:22:41 PM UTC.
Error: No such profile: ruby:master:20171003164606/default. No profiles available

I did not set /data/profiles/default element in my https://src.fedoraproject.org/modules/ruby/blob/master/f/ruby.yaml .
Is this the reason of the error?

About below specification document, /data/profiles/default is a optional element.
https://pagure.io/modulemd/blob/master/f/spec.yaml


I heard from modularity person that it is dnf bug.
I will add default profile to modules/ruby ruby.yaml as a temporary work flow.

Above error is after below local build.

Boltron-27-1289b281dc55-0# /LOCAL.sh ruby:master:20171027114836
Build  1237 | ruby @master-20171027114836 | jaruga
...
Nothing to install. Enabled modules: ruby:master

Alright, nothing to do in MBS.

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

Today I tried without local build with ruby.yaml.
Maybe it is without local build, below is the reproducing way

The profile error happened.

$ docker pull docker.io/jamesantill/boltron-bikeshed
$ docker tag docker.io/jamesantill/boltron-bikeshed boltron-bikeshed
$ docker run --rm -it boltron-bikeshed bash
Boltron-27-8c04082cad54-1# dnf module list | grep ruby
ruby                 master       20171003164606 
Boltron-27-8c04082cad54-1# dnf module info ruby:master
Last metadata expiration check: 0:00:21 ago on Fri 03 Nov 2017 10:37:52 AM UTC.
Name        : ruby
Stream      : master
Version     : 20171003164606
Repo        : bikey-mcbikeshed-2017-10-25.1
Summary     : An interpreter of object-oriented scripting language
Description : Ruby is the interpreted scripting language for quick and easy object-oriented programming.  It has many features to process text files and to do system management tasks (as in Perl).  It is simple, straight-forward, and extensible.
Artifacts   : module-build-macros-0.1-1.module_feeea3cf.noarch
            : ruby-2.4.2-84.module_feeea3cf.x86_64
            : ruby-debuginfo-2.4.2-84.module_feeea3cf.x86_64
            : ruby-debugsource-2.4.2-84.module_feeea3cf.x86_64
            : ruby-devel-2.4.2-84.module_feeea3cf.x86_64
            : ruby-doc-2.4.2-84.module_feeea3cf.noarch
            : ruby-irb-2.4.2-84.module_feeea3cf.noarch
            : ruby-libs-2.4.2-84.module_feeea3cf.x86_64
            : ruby-libs-debuginfo-2.4.2-84.module_feeea3cf.x86_64
            : rubygem-bigdecimal-1.3.0-84.module_feeea3cf.x86_64
            : rubygem-bigdecimal-debuginfo-1.3.0-84.module_feeea3cf.x86_64
            : rubygem-bundler-1.13.7-3.module_feeea3cf.noarch
            : rubygem-bundler-doc-1.13.7-3.module_feeea3cf.noarch
            : rubygem-did_you_mean-1.1.0-84.module_feeea3cf.x86_64
            : rubygem-io-console-0.4.6-84.module_feeea3cf.x86_64
            : rubygem-io-console-debuginfo-0.4.6-84.module_feeea3cf.x86_64
            : rubygem-json-2.0.4-84.module_feeea3cf.x86_64
            : rubygem-json-debuginfo-2.0.4-84.module_feeea3cf.x86_64
            : rubygem-minitest-5.10.1-84.module_feeea3cf.noarch
            : rubygem-net-telnet-0.1.1-84.module_feeea3cf.x86_64
            : rubygem-openssl-2.0.5-84.module_feeea3cf.x86_64
            : rubygem-openssl-debuginfo-2.0.5-84.module_feeea3cf.x86_64
            : rubygem-power_assert-0.4.1-84.module_feeea3cf.noarch
            : rubygem-psych-2.2.2-84.module_feeea3cf.x86_64
            : rubygem-psych-debuginfo-2.2.2-84.module_feeea3cf.x86_64
            : rubygem-rake-12.0.0-84.module_feeea3cf.noarch
            : rubygem-rdoc-5.0.0-84.module_feeea3cf.noarch
            : rubygem-test-unit-3.2.3-84.module_feeea3cf.noarch
            : rubygem-xmlrpc-0.2.1-84.module_feeea3cf.noarch
            : rubygems-2.6.13-84.module_feeea3cf.noarch
            : rubygems-devel-2.6.13-84.module_feeea3cf.noarch
Boltron-27-8c04082cad54-0# dnf module install ruby:master/default
Last metadata expiration check: 0:02:32 ago on Fri 03 Nov 2017 10:37:52 AM UTC.
Error: No such profile: ruby:master:20171003164606/default. No profiles available
$ rpm -q module-build-service
module-build-service-1.3.31-1.fc25.noarch

Additional information.

I tried to install new modularity ruby on the Boltron f27 container today at 6th Nov.
that was built with module-build-service v1.4.1 at 3rd Nov, and the ruby.yaml file has /data/profiles/default .
https://src.fedoraproject.org/modules/ruby/blob/master/f/ruby.yaml

I got the same error on the situation.

$ rpm -q module-build-service
module-build-service-1.4.1-1.fc25.noarch
$ docker pull docker.io/jamesantill/boltron-bikeshed
$ docker tag docker.io/jamesantill/boltron-bikeshed boltron-bikeshed
$ docker run --rm -it boltron-bikeshed bash
Boltron-27-f5b6c742f780-0# dnf module list | grep ruby
ruby                 master       20171003164606
Boltron-27-f5b6c742f780-1# dnf module install ruby:master
Last metadata expiration check: 0:02:52 ago on Mon 06 Nov 2017 10:53:37 AM UTC.
No profile specified for 'ruby:master', please specify profile
Nothing to install. Enabled modules: ruby:master
Boltron-27-f5b6c742f780-1# dnf module install ruby:master/default
Last metadata expiration check: 0:03:28 ago on Mon 06 Nov 2017 10:53:37 AM UTC.
Error: No such profile: ruby:master:20171003164606/default. No profiles available

please, stop commenting issue here, report bug against dnf. MBS has nothing to do with issue.

OK, I will stop commenting. Sorry for that.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/761

Please continue any further discussion there.

Metadata