<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40875</bug_id>
          
          <creation_ts>2021-09-08 10:00:54 +0300</creation_ts>
          <short_desc>Не работает ceph-deploy disk list</short_desc>
          <delta_ts>2021-09-10 18:54:16 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ceph-deploy</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>shaba</cc>
    
    <cc>snejok</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>202447</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2021-09-08 10:00:54 +0300</bug_when>
    <thetext># ceph-deploy disk list ceph-hosta ceph-hostb ceph-hostc
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (2.1.0): /usr/bin/ceph-deploy disk list ceph-hosta ceph-hostb ceph-hostc
[ceph_deploy.cli][INFO  ] ceph-deploy options:
[ceph_deploy.cli][INFO  ]  verbose                       : False
[ceph_deploy.cli][INFO  ]  quiet                         : False
[ceph_deploy.cli][INFO  ]  username                      : None
[ceph_deploy.cli][INFO  ]  overwrite_conf                : False
[ceph_deploy.cli][INFO  ]  ceph_conf                     : None
[ceph_deploy.cli][INFO  ]  cluster                       : ceph
[ceph_deploy.cli][INFO  ]  subcommand                    : list
[ceph_deploy.cli][INFO  ]  cd_conf                       : &lt;ceph_deploy.conf.cephdeploy.Conf object at 0x7fe5f882bdf0&gt;
[ceph_deploy.cli][INFO  ]  default_release               : False
[ceph_deploy.cli][INFO  ]  func                          : &lt;function disk at 0x7fe5f8857b80&gt;
[ceph_deploy.cli][INFO  ]  host                          : [&apos;ceph-hosta&apos;, &apos;ceph-hostb&apos;, &apos;ceph-hostc&apos;]
[ceph_deploy.cli][INFO  ]  debug                         : False
[ceph-hosta][DEBUG ] connected to host: ceph-hosta 
[ceph-hosta][INFO  ] Running command: fdisk -l
[ceph_deploy][ERROR ] Traceback (most recent call last):
[ceph_deploy][ERROR ]   File &quot;/usr/lib/python3/site-packages/ceph_deploy/util/decorators.py&quot;, line 69, in newfunc
[ceph_deploy][ERROR ]     return f(*a, **kw)
[ceph_deploy][ERROR ]   File &quot;/usr/lib/python3/site-packages/ceph_deploy/cli.py&quot;, line 166, in _main
[ceph_deploy][ERROR ]     return args.func(args)
[ceph_deploy][ERROR ]   File &quot;/usr/lib/python3/site-packages/ceph_deploy/osd.py&quot;, line 435, in disk
[ceph_deploy][ERROR ]     disk_list(args, cfg)
[ceph_deploy][ERROR ]   File &quot;/usr/lib/python3/site-packages/ceph_deploy/osd.py&quot;, line 375, in disk_list
[ceph_deploy][ERROR ]     line = line.decode(&apos;utf-8&apos;)
[ceph_deploy][ERROR ] AttributeError: &apos;str&apos; object has no attribute &apos;decode&apos;

ceph-deploy-2.1.0-alt1

Воспроизводится в Сизифе и p10, в p9 ошибки нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202634</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2021-09-10 18:54:16 +0300</bug_when>
    <thetext>Исправлено в ceph-deploy-2.1.0-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>